lyx_mirror/po
Bo Peng 4ce743a0a7 Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
	* src/insets/Inset.h,cpp: LISTINGS_CODE
	* src/insets/InsetInclude.cpp: handle \lstinputlisting
	* src/insets/InsetListings.h,cpp: new listings inset
	* src/insets/InsetListingsParams.h,cpp: parameters from listings package
	* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
	* src/Bidi.cpp: handle LISTINGS_CODE
	* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
	* src/frontends/qt4/ui/ListingsUi.ui: new dialog
	* src/frontends/qt4/ui/IncludeUi.ui: update UI
	* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
	* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
	* src/frontends/qt4/QListings.h,cpp: new listings inset
	* src/frontends/qt4/Dialogs.cpp: new listings dialog
	* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
	* src/frontends/controllers/ControlListings.h,cpp: new listings inset
	* src/LyXFunc.cpp: handle LISTING_CODE
	* src/Paragraph.cpp: handle LISTING_CODE
	* src/factory.cpp: new listings inset
	* src/CutAndPaste.cpp: handle LISTINGS_CODE
	* src/LaTeXFeatures.cpp: require listings
	* src/Text3.cpp: Handle LISTINGS_CODE
	* src/lfuns.h: add LFUN_LISTING_INSERT
	* src/Buffer.cpp: change lyx file format to 269
	* src/BufferParams.h,cpp: add listings_params to preamble
	* lib/lyx2lyx/LyX.py: lyx2lyx 
	* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
	* lib/ui/stdmenus.inc: new menu item (no shortcut!)
	* src/insets/Makefile.am: update autotools
	* src/frontends/controllers/Makefile.am
	* src/frontends/qt4/Makefile.dialogs
	* src/frontends/qt4/Makefile.am
	* po/POTFILES.in: a few more translatable files.
	* development/scons/scons_manifest.py: scons build system
	* development/FORMAT: document format changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
..
bg.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
boldquot.sed Update gettext 2004-05-26 16:53:50 +00:00
ca.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
ChangeLog de.po update for LyX 1.5: 2007-02-10 14:42:37 +00:00
cs.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
da.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
de.po * po/de.po: update German translations 2007-05-01 10:32:26 +00:00
en@boldquot.header Update gettext 2004-05-26 16:53:50 +00:00
en@quot.header Update gettext 2004-05-26 16:53:50 +00:00
es.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
eu.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
fi.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
fr.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
gl.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
he.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
hu.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
insert-header.sin Update gettext 2004-05-26 16:53:50 +00:00
it.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
ja.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
LINGUAS * po/LINGUAS: add ja.po 2007-04-30 11:39:30 +00:00
lyx_pot.py po/lyx_pot.py: handles PopupMenu in lib/ui/* ("Math Spacing" etc are translated now) 2007-04-22 21:27:28 +00:00
Makefile.in.in Scons: update_po target now updates po/POTFILES.in 2007-04-28 20:33:15 +00:00
Makevars * development/scons/SConstruct: 2007-04-30 17:00:45 +00:00
nb.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
nl.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
nn.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
pl.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
pocheck.pl * pocheck.pl: re-introduce check for '|' shortcuts 2006-07-18 21:06:47 +00:00
postats.sh * Makefile.in.in (i18n.php): make the target depend on postats.sh 2007-02-28 22:36:01 +00:00
POTFILES.in Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog. 2007-05-09 19:11:42 +00:00
pt.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
quot.sed Update gettext 2004-05-26 16:53:50 +00:00
README Whitespace, only whitespace. Part II. 2004-10-28 14:35:53 +00:00
remove-potcdate.sin Update gettext 2004-05-26 16:53:50 +00:00
ro.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
ru.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
Rules-quot Update gettext 2004-05-26 16:53:50 +00:00
sk.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
sl.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
sv.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
tr.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00
wa.po * po/*.po: fix one more message 2007-05-01 10:34:17 +00:00

This file is intended to provide information about the different translation
files. If you want to make one for your language, please read
"Help->Customization" for more information, and the information below.

How can I update an existing po file?
-------------------------------------

It requires a bit of work to get started, but once you are set up,
the procedure should be relatively easy:

1) Getting ready

Get and install gettext (available from ftp://alpha.gnu.org). Read the
documentation for gettext. Then get the latest LyX distribution including
patches, and unpack it in your home directory. It is yet better if you checkout
the CVS version of LyX.
Read the README in the LyX distribution.
Check the mailing list archives to learn what is going on at the moment.
Consider subscribing to the developer's mailing list, lyx-devel@lists.lyx.org.

2) Preparing a patch

Now do (where XX stands for the code of your language):

        cp -R lyx-*.*.* lyx.new
			(Which makes a copy of the source distribution for
			 you to change, but you should work in a CVS workarea)
 	 	cd lyx.new/po/

		make XX.pox
			(It merges the po file into the temporary file XX.pox)
        emacs XX.pox
			(Using po-mode. Emacs is convenient for po editing, but not
			 mandatory.)
	    (Make all necessary changes in XX.pox, and save.)
        mv XX.pox XX.po
        rm XX.pox~
			(To remove Emacs autosave.)
		make XX.gmo
		(Update the ChangeLog file.)

		cd ..

		(Maybe update lib/CREDITS)

		cvs diff -u > XX_po_update.patch
			(Or whatever good method to have a patch in unified diff format)

3) Submitting the patch

	Check your patch and mail it to lyx-devel@lists.lyx.org

Thanks!

The LyX Team.