Commit Graph

87 Commits

Author SHA1 Message Date
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
d5e0e21ba0 Fix compatibility with automake 1.13
Do not use AM_PROG_MKDIR_P, which is obsolete. We use  the AC_* version
now, which requires autoconf>=2.59d. This also mean that we need to use
the variable MKDIR_P instead of mkdir_p.
2013-01-21 10:15:27 +01:00
Julien Rioux
60a162888d Use the python found by configure to build po files, part 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39909 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-21 18:26:12 +00:00
Vincent van Ravesteijn
75dcff81ab Fix the usage of msnmerge on MacOSX.
see:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg79616.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 13:03:06 +00:00
Jean-Marc Lasgouttes
33258e1197 put the 0.16.1 code from gettext back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25208 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-09 13:50:05 +00:00
Jean-Marc Lasgouttes
60b34bddb8 set gettext version to 0.14.5 for now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25171 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-06 17:14:47 +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
Jürgen Spitzmüller
21bd7671ec *** 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/frontends/qt4/Menus.cpp:
	- handle translated formats

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24833 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 09:33:53 +00:00
Pavel Sanda
ae97f35405 make distcheck fix.
the old known make check bug must be fixed though for the whole
process to proceed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24715 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-11 01:59:03 +00:00
Richard Heck
f03329a19c I18n for modules. This would seem to complete the module implementation. Test away.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22558 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-14 21:44:06 +00:00
Jean-Marc Lasgouttes
1dd68530a6 set version automatically when computing po stats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22366 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-04 17:01:08 +00:00
José Matox
f99c05426a Convert postats to python
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20130 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:37:38 +00:00
Jean-Marc Lasgouttes
718e4ba012 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/trunk@20098 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-06 10:59:45 +00:00
André Pönitz
7b714d0aad remove POTFILES.in from DISFILES, too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20041 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 15:40:09 +00:00
Jean-Marc Lasgouttes
f84a1c6e5c 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/trunk@19347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 19:22:32 +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