]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Use an internationalized bison parser.
authorBruno Haible <bruno@clisp.org>
Wed, 21 Sep 2005 20:28:59 +0000 (20:28 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:51 +0000 (12:12 +0200)
21 files changed:
gettext-tools/ChangeLog
gettext-tools/configure.ac
gettext-tools/m4/ChangeLog
gettext-tools/m4/Makefile.am
gettext-tools/src/ChangeLog
gettext-tools/src/Makefile.am
gettext-tools/src/msgattrib.c
gettext-tools/src/msgcat.c
gettext-tools/src/msgcmp.c
gettext-tools/src/msgcomm.c
gettext-tools/src/msgconv.c
gettext-tools/src/msgen.c
gettext-tools/src/msgexec.c
gettext-tools/src/msgfilter.c
gettext-tools/src/msgfmt.c
gettext-tools/src/msggrep.c
gettext-tools/src/msginit.c
gettext-tools/src/msgmerge.c
gettext-tools/src/msgunfmt.c
gettext-tools/src/msguniq.c
gettext-tools/src/xgettext.c

index f4bb3e1839635a09371aa96526ceeac11bfa81b1..c1e605b3980fdb16f369031cb99ee1513264dfa6 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-20  Bruno Haible  <bruno@clisp.org>
+
+       * configure.ac: Invoke BISON_I18N.
+
 2005-08-23  Bruno Haible  <bruno@clisp.org>
 
        * configure.ac: Invoke gl_BYTESWAP. Define ENDIANNESS.
index eb40a085822b69738709920602b09be536f4d531..6d734d91d3564867aa0358ae4eee70d8571f60ed 100644 (file)
@@ -110,6 +110,9 @@ dnl These are the only lines required to internationalize the package.
 dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.)
 AM_GNU_GETTEXT(use-libtool, need-ngettext)
 
+dnl This line internationalizes the bison generated parsers.
+BISON_I18N
+
 dnl Checks for header files.
 AC_HEADER_STDC
 AC_CHECK_HEADERS(limits.h malloc.h pwd.h string.h unistd.h utime.h values.h)
index 70adc307374fc18df5bf635a7cfe8b8873aca17d..e9282f34e97c28fa5af0d6faf71a5a886ef923ea 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-20  Bruno Haible  <bruno@clisp.org>
+
+       * bison-i18n.m4: New file, from bison-2.1.
+       * Makefile.am (EXTRA_DIST): Add it.
+
 2005-08-23  Bruno Haible  <bruno@clisp.org>
 
        * byteswap.m4: New file, from gnulib.
index 60286be4b49217281bd5bfc387594f145c70c349..2505638fb01aa6381475c4486a46408063031639 100644 (file)
@@ -50,6 +50,7 @@ EXTRA_DIST = README ChangeLog.0 csharpexec-test.exe \
 alloca.m4 \
 allocsa.m4 \
 backupfile.m4 \
+bison-i18n.m4 \
 byteswap.m4 \
 canonicalize.m4 \
 csharp.m4 \
index 3a0f1937b0916d1cb73d91846035760c8ae481a3..e372f99d014d087ba16e5daff11c50fb181e95db 100644 (file)
@@ -1,3 +1,21 @@
+2005-09-20  Bruno Haible  <bruno@clisp.org>
+
+       * msgattrib.c (main): Invoke bindtextdomain for bison-runtime.
+       * msgcat.c (main): Likewise.
+       * msgcmp.c (main): Likewise.
+       * msgcomm.c (main): Likewise.
+       * msgconv.c (main): Likewise.
+       * msgen.c (main): Likewise.
+       * msgexec.c (main): Likewise.
+       * msgfilter.c (main): Likewise.
+       * msggrep.c (main): Likewise.
+       * msginit.c (main): Likewise.
+       * msgmerge.c (main): Likewise.
+       * msgunfmt.c (main): Likewise.
+       * msguniq.c (main): Likewise.
+       * xgettext.c (main): Likewise.
+       * Makefile.am (DEFS): Also define BISON_LOCALEDIR.
+
 2005-09-17  Bruno Haible  <bruno@clisp.org>
 
        * msgl-check.h: New file.
index 375469dea9096cdeb6e57e5ae75a5c05a6c1c076..421044fe95508041094c5d4d031780ba50d1277a 100644 (file)
@@ -70,7 +70,7 @@ AM_CPPFLAGS = \
   -I../lib -I$(top_srcdir)/lib \
   -I../intl -I$(top_srcdir)/../gettext-runtime/intl
 DEFS = \
-  -DLOCALEDIR=\"$(localedir)\" \
+  -DLOCALEDIR=\"$(localedir)\" -DBISON_LOCALEDIR=\"$(BISON_LOCALEDIR)\" \
   -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
   -DUSEJEXE=$(USEJEXE) \
   -DGETTEXTJEXEDIR=\"$(pkglibdir)\" \
index 14c7cf5bf7fd9deba1a6e498b102f237d4efb151..c83e714da50daec1ac85207c1b0af86bb878f1b8 100644 (file)
@@ -146,6 +146,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 01b05ce98a6d11473113c7547ef2ff636570dccc..f9123ea1a586acfedebf611e57145e6f4b749da1 100644 (file)
@@ -118,6 +118,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 6f0962c159fc4b2c622f8806f71faaacfa7c0a97..f86ae23ae85efee5a39260ee3ca2136343ee2875 100644 (file)
@@ -89,6 +89,7 @@ main (int argc, char *argv[])
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 594d0bb54c6a3bfc5d3bf220f3702ecaafc7a08d..41d67eaf19be4e12302465dcffaf6b89204224e6 100644 (file)
@@ -120,6 +120,7 @@ main (int argc, char *argv[])
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 8f9f5727066792ba64ef6fdc2f1b994336f55c26..62b79ae2e3db225451d90fa838e803263e1c2122 100644 (file)
@@ -110,6 +110,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index dfabebc5a9afd3f6bcbf8c54b697e52900ec0472..e9281081472094b86c9b1e12801fdc9fe6fa9504 100644 (file)
@@ -103,6 +103,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index db7f05edf8985d03385b504ed877a1d0f8073e1e..2090718a8a21611abe1f9ea6fcdc9286ac61f948 100644 (file)
@@ -116,6 +116,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index ceba300e90695c291c7e927039dbf997725c60be..f5a0a9267ebeddadf4d512fe4016622fc7ab8804 100644 (file)
@@ -157,6 +157,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index d9d315233a5d1f28b4775eb50a6f1bb4d4016954..cc88ed66236a4eee32b2b9216ea7b292dbb01c68 100644 (file)
@@ -216,6 +216,7 @@ main (int argc, char *argv[])
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 8af04ac20ed746a489856228c15edd3ad2f07db5..aa639049f225953323584cd2a1ee95b454b0776e 100644 (file)
@@ -155,6 +155,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 5bb60bf4fd7c39696338e4ebdc3066461ac7c2ee..2856ba88956ce231e5099412468a0ff7e4724850 100644 (file)
@@ -177,6 +177,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 0e45221a83383e4657ae34d80ae79a82e95078fc..e325bcdd11e715ed0efccb33837d346028c74796 100644 (file)
@@ -164,6 +164,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 178de694fc1f804e10d7d7cd7cecf9f6a64e339d..cb9a1e336c3c38e1b888c81163a605d3b89f10b8 100644 (file)
@@ -129,6 +129,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 044581e5ef58078fa51a9f85432eab63c4aed733..475f39e294d573a4fe9f581225c2c75980b61b1c 100644 (file)
@@ -113,6 +113,7 @@ main (int argc, char **argv)
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */
index 260577f3a6c092f05852edbdf9ce4839f8b89c28..8bfa8b1629fcb8a54cdbae59d2d71a59bb599134 100644 (file)
@@ -285,6 +285,7 @@ main (int argc, char *argv[])
 
   /* Set the text message domain.  */
   bindtextdomain (PACKAGE, relocate (LOCALEDIR));
+  bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
   textdomain (PACKAGE);
 
   /* Ensure that write errors on stdout are detected.  */