lyx_mirror/po
Georg Baum b02242bfaf Rework InsetCommandParams interface and file storage
* src/insets/insetcommandparams.[Ch]:
	(operator[]): New, access a parameter
	(clear): New, clear all parameters
	(info_): New, stire info about this command
	(cmdname): Rename to name_
	(contents, options, sec_options): Replace with params_. Parameters
	are now stored as docstring.
	(findInfo): New factor for command info for all commands
	(read, write): Use new syntax
	(parameter set and get methods): reimplemenmt for new parameter storage

	* src/insets/insetcommand.h
	(getParam): New, get a parameter
	(setParam): New, set a parameter
	(parameter set and get methods): Adjust to InsetCommandParams changes

	* src/insets/insetbibitem.[Ch]
	(write): Remove, not needed anymore
	(directWrite): ditto

	* src/insets/insetbibitem.C
	(InsetBibitem::read): Use InsetCommand::read

	* src/insets/insetref.C
	(InsetRef::latex): Use new InsetCommandParams interface

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): ditto

	* src/text3.C
	(LyXText::dispatch): ditto

	* src/factory.C
	(createInset): Create InsetCommandParams with command name
	(readInset): ditto
	(readInset): Remove error message for bibitem, since bibitem is
	now a normal command inset

	* src/buffer.C: Bump file format number

	* src/frontends/controllers/ControlCommand.[Ch]
	(ControlCommand): take an additional command name parameter

	* src/text.C
	(readParToken): Remove code for \bibitem

	* lib/lyx2lyx/LyX.py: Bump latest file format number

	* lib/lyx2lyx/lyx_1_5.py
	(convert_bibitem, convert_commandparams): new, convert to new format
	(revert_commandparams): new, convert to old format

	* development/FORMAT: document new format

	* many other files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15357 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-17 21:07:16 +00:00
..
bg.po remerge 2005-12-23 18:52:43 +00:00
boldquot.sed Update gettext 2004-05-26 16:53:50 +00:00
ca.po remerge 2005-12-23 18:52:43 +00:00
ChangeLog tiny changes to de.po 2006-02-27 18:36:52 +00:00
cs.po remerge 2006-09-18 19:31:35 +00:00
da.po remerge 2006-09-18 19:31:35 +00:00
de.po remerge 2006-09-18 19:31:35 +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 remerge 2006-09-18 19:31:35 +00:00
eu.po remerge 2006-09-18 19:31:35 +00:00
fi.po remerge 2006-09-18 19:31:35 +00:00
fr.po remerge 2006-09-18 19:31:35 +00:00
he.po remerge 2005-12-23 18:52:43 +00:00
hu.po remerge 2006-09-18 19:31:35 +00:00
insert-header.sin Update gettext 2004-05-26 16:53:50 +00:00
it.po remerge 2006-09-18 19:31:35 +00:00
LINGUAS new Czech translation 2006-08-10 08:56:59 +00:00
Makefile.in.in Extract l10n info from qt4 ui files. Disregard caption information from qt3 ui files. 2006-09-18 18:34:27 +00:00
Makevars some more gettext work 2004-05-26 22:44:45 +00:00
nb.po Slight update 2006-09-18 19:48:18 +00:00
nl.po remerge 2006-09-18 19:31:35 +00:00
nn.po remerge 2006-09-18 19:31:35 +00:00
pl.po remerge 2006-09-18 19:31:35 +00:00
pocheck.pl * pocheck.pl: re-introduce check for '|' shortcuts 2006-07-18 21:06:47 +00:00
postats.sh update postats script to use proper trac URL 2006-07-03 22:00:18 +00:00
POTFILES.in Rework InsetCommandParams interface and file storage 2006-10-17 21:07:16 +00:00
pt.po remerge 2005-12-23 18:52:43 +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 remerge 2006-09-18 19:31:35 +00:00
ru.po remerge 2006-09-18 19:31:35 +00:00
Rules-quot Update gettext 2004-05-26 16:53:50 +00:00
sk.po remerge 2006-09-18 19:31:35 +00:00
sl.po remerge 2006-09-18 19:31:35 +00:00
sv.po remerge 2005-12-23 18:52:43 +00:00
tr.po remerge 2006-09-18 19:31:35 +00:00
wa.po remerge 2005-12-23 18:52:43 +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.