I pushed the patch below to branch-2.4.2 and something similar to branch-2.5 and master.
Following the patch, I've listed the diff for po/bison.pot. I'm a bit concerned as to whether the strings are easy enough to translate. Maybe someone with translation experience can comment. >From 9398411bfc774e7d5c46c77039d8ea72f8185a7d Mon Sep 17 00:00:00 2001 From: Joel E. Denny <[email protected]> Date: Thu, 4 Feb 2010 21:07:07 -0500 Subject: [PATCH] Update POTFILES. * HACKING (Release Procedure): Add reminder about keeping POTFILES files up-to-date. * po/POTFILES.in (src/muscle_tab.c, src/scan-skel.l): Add. --- ChangeLog | 7 +++++++ HACKING | 7 +++++-- po/POTFILES.in | 2 ++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b54880b..b9fb00a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-02-04 Joel E. Denny <[email protected]> + + Update POTFILES. + * HACKING (Release Procedure): Add reminder about keeping + POTFILES files up-to-date. + * po/POTFILES.in (src/muscle_tab.c, src/scan-skel.l): Add. + 2010-02-01 Joel E. Denny <[email protected]> tests: link lib/libbison.a for gnulib. diff --git a/HACKING b/HACKING index be2e24b..799de08 100644 --- a/HACKING +++ b/HACKING @@ -197,8 +197,11 @@ release: * Release Procedure -** Try to get the *.pot files to the Translation Project at least one week -before a stable release, to give them time to translate them. +** Try to get the *.pot files to the Translation Project at least one +week before a stable release, to give them time to translate them. +Before generating the *.pot files, make sure that po/POTFILES.in and +runtime-po/POTFILES.in list all files with translatable strings. +This helps: grep -l '\<_(' * ** Tests See above. diff --git a/po/POTFILES.in b/po/POTFILES.in index d39ca4c..5d6a216 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -5,12 +5,14 @@ src/getargs.c src/gram.c src/location.c src/main.c +src/muscle_tab.c src/parse-gram.y src/print.c src/reader.c src/reduce.c src/scan-code.l src/scan-gram.l +src/scan-skel.l src/symlist.c src/symtab.c -- 1.5.4.3 diff --git a/../bison-2.4.1a/po/bison.pot b/po/bison.pot index b74442a..c366ac1 100644 --- a/../bison-2.4.1a/po/bison.pot +++ b/po/bison.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2010-01-22 13:09-0500\n" +"POT-Creation-Date: 2010-02-04 21:06-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <em...@address>\n" "Language-Team: LANGUAGE <[email protected]>\n" @@ -270,6 +270,50 @@ msgstr "" msgid "rule useless in parser due to conflicts" msgstr "" +#: src/muscle_tab.c:419 +#, c-format +msgid "%s `%s' redefined" +msgstr "" + +#: src/muscle_tab.c:422 +#, c-format +msgid "previous definition" +msgstr "" + +#: src/muscle_tab.c:458 +#, c-format +msgid "" +"undefined %%define variable `%s' passed to muscle_percent_define_get_loc" +msgstr "" + +#: src/muscle_tab.c:472 +#, c-format +msgid "" +"undefined %%define variable `%s' passed to muscle_percent_define_get_syncline" +msgstr "" + +#: src/muscle_tab.c:518 +#, c-format +msgid "invalid value for %%define Boolean variable `%s'" +msgstr "" + +#: src/muscle_tab.c:524 +#, c-format +msgid "" +"undefined %%define variable `%s' passed to muscle_percent_define_flag_if" +msgstr "" + +#: src/muscle_tab.c:580 +#, c-format +msgid "invalid value for %%define variable `%s': `%s'" +msgstr "" + +#: src/muscle_tab.c:585 +#, c-format +msgid "" +"undefined %%define variable `%s' passed to muscle_percent_define_check_values" +msgstr "" + #: src/parse-gram.y:692 #, c-format msgid "missing identifier in parameter declaration" @@ -521,6 +565,21 @@ msgstr "" msgid "missing `%s' at end of line" msgstr "" +#: src/scan-skel.l:145 +#, c-format +msgid "unclosed %s directive in skeleton" +msgstr "" + +#: src/scan-skel.l:290 +#, c-format +msgid "too few arguments for %s directive in skeleton" +msgstr "" + +#: src/scan-skel.l:297 +#, c-format +msgid "too many arguments for %s directive in skeleton" +msgstr "" + #: src/symlist.c:200 #, c-format msgid "invalid $ value: $%d"
