mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
b02242bfaf
* 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 |
||
---|---|---|
.. | ||
bg.po | ||
boldquot.sed | ||
ca.po | ||
ChangeLog | ||
cs.po | ||
da.po | ||
de.po | ||
en@boldquot.header | ||
en@quot.header | ||
es.po | ||
eu.po | ||
fi.po | ||
fr.po | ||
he.po | ||
hu.po | ||
insert-header.sin | ||
it.po | ||
LINGUAS | ||
Makefile.in.in | ||
Makevars | ||
nb.po | ||
nl.po | ||
nn.po | ||
pl.po | ||
pocheck.pl | ||
postats.sh | ||
POTFILES.in | ||
pt.po | ||
quot.sed | ||
README | ||
remove-potcdate.sin | ||
ro.po | ||
ru.po | ||
Rules-quot | ||
sk.po | ||
sl.po | ||
sv.po | ||
tr.po | ||
wa.po |
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.