Commit Graph

79 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
8896987c68 *** fix bug 2488 (make dynamic formats in menus translatable) ***
* po/lyx_pot.py:
	- new method formats_l10n that parses configure.py for file formats and shortcuts
* po/Makefile.in.in:
* development/scons/SConstruct:
	- call formats_l10n on po update

* src/MenuBackend.cpp:
	- handle translated formats
* src/LyXFunc.cpp:
	- use translated string for file filter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24831 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 09:05:59 +00:00
Jean-Marc Lasgouttes
2b425cb706 set version automatically when computing po stats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22367 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-04 17:01:20 +00:00
Jean-Marc Lasgouttes
dc7f902bfb replace postats.sh with postats.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22363 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-04 16:17:23 +00:00
Jean-Marc Lasgouttes
afb0a48dc1 Revert to using the good old postats.sh instead of the brand new postats.py.
Jose', for information the problems are:

* postats.py does not mangle e-mail addresses

* postats.py does not work in non-"C" locale

Another difference (is it a problem?) is that postats.py uses explicit 
codepoints instead of HTML entities for accented characters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20686 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 08:36:50 +00:00
Jean-Marc Lasgouttes
1c19a400e6 fix end of lines on the two chinese translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20660 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 14:19:31 +00:00
Jean-Marc Lasgouttes
6250d717f2 change the way i18n status is built for the web site. The data is now in a i18n.inc file instead of generating the whole i18n.php
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 10:58:21 +00:00
Jean-Marc Lasgouttes
eee9800ce4 [the "translation" patch series] Part 1: upgrading to gettext 0.14.6
* m4/*:
	* intl/*:
	* ABOUT-NLS:
	* po/Makefile.in.in:
	* po/POTFILES.in:
	* po/Makevars.template:
	* config/mkinstalldirs:
	* config/config.rpath: update from gettext 0.14.6 source. This enables
	translation to system language on Mac OS X



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19348 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 20:20:49 +00:00
Jürgen Spitzmüller
91c6d03678 Fix bug 2520: Make InsetExternal translateable
* po/lyx_pot.py:
	- new function external_l10n: parse external_templates and extract the relevant parts for translation.
* development/scons/SConstruct:
* po/Makefile.in.in:
	- use external_l10n

* src/insets/InsetExternal.cpp:
* src/frontends/qt4/QExternal.cpp: 
	- make eveything translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 07:50:13 +00:00
Bo Peng
a6e1dc19a3 Scons: update_po target now updates po/POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18075 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:33:15 +00:00
Bo Peng
153c9b0461 Rename version.C.in to version.cpp.in, and Package.C.in to package.cpp.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18074 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 15:05:08 +00:00
Jean-Marc Lasgouttes
a918cc2543 fix generation of POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18055 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:01:46 +00:00
Bo Peng
459bdcdecb po/Makefile.in.in, use $(srcdir) instead of $(top_srcdir)/po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17524 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 14:56:48 +00:00
Bo Peng
fd3e6607a4 po/Makefile.in.in: call lyx_pot.py with correct -b option
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17523 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 14:49:48 +00:00
Jean-Marc Lasgouttes
ded8e8a8e9 Make it possible to call lyx_pot.py when builddir != srcdir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17520 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-23 14:22:08 +00:00
Bo Peng
1ed357093d po/Makefile.in.in, replace awk scripts with the Python version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17512 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-22 20:12:54 +00:00
Jean-Marc Lasgouttes
03c902a70d * Makefile.in.in (i18n.php): make the target depend on postats.sh
* postats.sh: make e-mail addresses less readable


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17385 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-28 22:36:01 +00:00
Michael Schmitt
8f811a9654 * po/Makefile.in.in: consider new *.inc files (former *.ui files)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16554 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-06 16:49:58 +00:00
Enrico Forestieri
95f9c18fac Fix compatibility to autoconf 2.60
* configure.ac:
	Fix up expansion of ${prefix} in ${pkgdatadir}.

	* autogen.sh:
	Allow using autoconf 2.60 and 2.60a.

	* intl/Makefile.in:
	* po/Makefile.in.in:
	Add datarootdir definition.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-24 01:14:26 +00:00
Michael Schmitt
7dc674a7aa * po/Makefile.in.in: fix parsing of toolbar names
* po/POTFILES.in: update file list


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15982 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 13:33:18 +00:00
Michael Schmitt
4a0b04d4c2 * Makefile.in.in: look for Toolbar entries, not for Toolbars
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15717 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-03 20:20:38 +00:00
André Pönitz
a63cddf51c remove qt3 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15432 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 08:35:47 +00:00
Lars Gullik Bjønnes
e36ccf18f0 Extract l10n info from qt4 ui files. Disregard caption information from qt3 ui files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15048 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 18:34:27 +00:00
Jean-Marc Lasgouttes
e0cf54f37c * po/*.po:
* po/POTFILES.in: remerge

	* po/Makefile.in.in: get rid of Qt shortcuts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14697 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-16 09:57:24 +00:00
Lars Gullik Bjønnes
22861453fe Remove the XForms frontend, update the autotools files, and fixup po.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14320 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 19:20:25 +00:00
Lars Gullik Bjønnes
eefc9ad640 * Rename src/frontends/qt2 to src/frontends/qt3,
update users of the dir accordingly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13731 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 13:48:24 +00:00
Jean-Marc Lasgouttes
95724cba75 adapt i18n stats to the new devel site
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10543 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-12 15:46:38 +00:00
Jean-Marc Lasgouttes
8f56234b6f fix awk nightmare; remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-15 15:18:48 +00:00
Jean-Marc Lasgouttes
5c4d937af8 do not require gawk (bug 1980)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10440 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-13 13:53:42 +00:00
Lars Gullik Bjønnes
05680d3e4f set AWK to gawk and use it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10226 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 18:58:17 +00:00
Jean-Marc Lasgouttes
971d9986b7 fix bug 1807: New on-screen translations do not work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9960 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-20 09:13:42 +00:00
Jean-Marc Lasgouttes
8923218965 remove duplicate lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9891 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-29 14:56:05 +00:00
Jean-Marc Lasgouttes
076c15b63c fix translation of layout names with spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9885 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-28 13:08:05 +00:00
Angus Leeming
412f8af4fd Enable "lyx -dbg init" to run.
Tweak gettext search mechanism.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9467 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-12 12:25:30 +00:00
Jean-Marc Lasgouttes
1194db1b09 add i18n.php3 target
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8977 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-13 09:39:45 +00:00
Jean-Marc Lasgouttes
b62363c070 fix portability problem with OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8863 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-03 10:09:46 +00:00
Lars Gullik Bjønnes
8b60b23552 2004-06-08 Lars Gullik Bjonnes <larsbj@lyx.org>
Makefile.in.in (xforms_l10n.pot, qt_l10n.pot, layouts_l10n.pot)
guages_l10n.pot, ui_l10n.pot): Set awk variable top_srcdir to
variable $(top_srcdir), add a awk function fixupfilename
it in printint out the filename to the pot file.

*.po: remerge


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8808 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-08 16:03:54 +00:00
Jean-Marc Lasgouttes
80fbee4eba translate correctly things like "list of algorithms" (bug 1312)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8806 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-08 13:35:14 +00:00
Lars Gullik Bjønnes
d419179b52 fix a regexp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8790 a592a061-630c-0410-9148-cb99ea01b6c8
2004-06-01 13:23:51 +00:00
Lars Gullik Bjønnes
d2946329fe typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8787 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-28 11:52:49 +00:00
Lars Gullik Bjønnes
d9f0882887 make distcheck work, and some cleanups to the config system
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8786 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-28 07:14:58 +00:00
Lars Gullik Bjønnes
225610e3e0 some more gettext work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8782 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-26 20:26:10 +00:00
Lars Gullik Bjønnes
b02093873e Update gettext
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8781 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-26 16:53:50 +00:00
Jean-Marc Lasgouttes
ab49553ba3 fix file order in lyx.pot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8185 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-02 15:23:37 +00:00
Jean-Marc Lasgouttes
a1b23b2f07 fix generation of pot files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8131 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-24 18:01:48 +00:00
Jean-Marc Lasgouttes
bd3c961ace remove non-ascii characters from translatable strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8113 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-21 11:38:17 +00:00
Angus Leeming
dd9cd9f751 (Michael Schmitt): fix the extraction of language names from lib/languages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7324 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-21 07:48:59 +00:00
Angus Leeming
021369da29 (Michael Schmitt) Consider classic.ui etc. for the creation of pox/pot files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6997 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 09:38:59 +00:00
Jean-Marc Lasgouttes
65416ed3ee fix sorting order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6947 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 12:36:11 +00:00
John Levon
4f8b5b4990 toolbar2.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6746 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-09 19:53:10 +00:00
John Levon
eab9836ca2 fix quoting of " in .ui files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6649 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-30 17:28:24 +00:00