Commit Graph

15 Commits

Author SHA1 Message Date
Juergen Spitzmueller
97aea7e5b1 Disentangle CiteEngines and Modules
These two are different beasts and thus should be handled differently.
2017-01-01 07:56:24 +01:00
Jean-Marc Lasgouttes
bd890842f5 Fix i18n.inc creation with some out of tree builds
Actually, POFILES already contains the relative path to the po files,
so that the old code was only working by chance when the source and
build directories were at same level.
2016-07-17 22:00:38 +02:00
Georg Baum
e18f86a041 Explain why po files are needed
lib/layouttranslations contains translations for all strings from layout files
that can appear in document output. These translations are read from .po files
by po/lyx_pot.py (using python polib), so up to date po files are needed.
2016-03-25 10:32:53 +01:00
Jean-Marc Lasgouttes
4174da8484 Do not keep the ancilliary *.pot files after they have been used 2013-09-09 11:41:28 +02:00
Jean-Marc Lasgouttes
c372f7ad23 Really update the files that create/install .mo files
Update po.m4 and the makefile machinery in po/ to use code from gettext 0.18.2.
2013-05-30 22:10:02 +02:00
Jean-Marc Lasgouttes
92363ce20d Use proper tabs instead of spaces 2012-09-10 22:59:21 +02:00
Jean-Marc Lasgouttes
a57a2d9acf Streamline a bit po/Rules-lyx
Make use of normal and automatic variables to avoid repetition. Things could be made shorter by using the %_l10n.pot pattern (GNU make extension).
2012-09-10 11:55:52 +02:00
Juergen Spitzmueller
ff36733b8b Really get GuiName from latexfonts into the po files 2012-08-16 19:36:16 +02:00
Juergen Spitzmueller
869b84aef9 Clean up LaTeX font handling (#4999)
The LaTeX font information are now centralized and outsourced. This removes a lot of hardcoding and duplication and makes it easier to support new LaTeX fonts.
2012-08-16 13:23:39 +02:00
Jean-Marc Lasgouttes
b45b51bc16 Package.cpp is not autogenerated anymore, there is no need to skip it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40282 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-25 22:55:02 +00:00
Julien Rioux
d637acdfda Use the python found by configure to build po files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39891 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 22:10:25 +00:00
Georg Baum
f0a669014f Exclude generated files from .po string extraction.
Now it is no longer needed to use a tree that was never used for building
for remerging .po files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38585 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 18:51:15 +00:00
Georg Baum
55ef7b50b5 First version of separate translation machinery for strings that go into
exported documents.
To update the translations from the .po files, run
make ../lib/layouttranslations
from po.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38016 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 19:17:15 +00:00
Jürgen Spitzmüller
dcc4d58b66 *** Implement GUI names for encodings (part of bug 4971) ***
* lib/encodings:
	- add new column "GUI names"

* src/Encoding.{cpp,h}:
	- read in and handle GUI names

* src/frontends/qt4/GuiDocument.cpp:
	- display GUI names instead of LaTeX names

* po/lyx_pot.py:
* po/Rules-lyx:
* development/scons/SConstruct:
	- add encoding GUI names to the po files.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-11 08:56:17 +00:00
Jean-Marc Lasgouttes
3b99db73e4 Remove our in tree gettext version and replace with a mechanism to import it.
* autogen.sh: use autopoint to poulate the gettext code; simplify.

	* po/Rules-lyx: move the LyX-specific code of the Makefile here.

	* configure.ac: add magic incantation telling autopoint to import 
	gettext 0.16.1. Generate config.h in toplevel directory to please 
	gettext.

	* src/tex2lyx/Makefile.am:
	* src/client/Messages.cpp: compile fix

	* remove all files that came from a gettext distribution.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 15:25:55 +00:00