From: Bruno Haible Date: Wed, 28 Jan 2009 02:17:43 +0000 (+0000) Subject: Add more options for the tr function, for compatibility with Qt 4. X-Git-Tag: v0.18~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6d049eee94bf39bcaa62920b85cbfb8f9839fc5;p=thirdparty%2Fgettext.git Add more options for the tr function, for compatibility with Qt 4. --- diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog index 868aa437e..46edc56dd 100644 --- a/gettext-tools/examples/ChangeLog +++ b/gettext-tools/examples/ChangeLog @@ -1,3 +1,8 @@ +2009-01-27 Bruno Haible + + * hello-c++-qt/po/Makefile.am (XGETTEXT_OPTIONS): Add more options for + the tr function, for compatibility with Qt 4. + 2009-01-18 Bruno Haible * hello-c++-qt/po/Makefile.am (.po.gmo): Pass --verbose to msgfmt when diff --git a/gettext-tools/examples/hello-c++-qt/po/Makefile.am b/gettext-tools/examples/hello-c++-qt/po/Makefile.am index 05b435a09..ee445b748 100644 --- a/gettext-tools/examples/hello-c++-qt/po/Makefile.am +++ b/gettext-tools/examples/hello-c++-qt/po/Makefile.am @@ -13,7 +13,7 @@ DOMAIN = $(PACKAGE) # These options get passed to xgettext. XGETTEXT_OPTIONS = \ --qt \ - --keyword=tr --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format \ + --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t --flag=tr:1:pass-c-format --flag=tr:1:pass-qt-format \ --keyword=translate:2 --flag=translate:2:pass-c-format --flag=translate:2:pass-qt-format \ --keyword=QT_TR_NOOP --flag=QT_TR_NOOP:1:pass-c-format --flag=QT_TR_NOOP:1:pass-qt-format \ --keyword=QT_TRANSLATE_NOOP:2 --flag=QT_TRANSLATE_NOOP:2:pass-c-format --flag=QT_TRANSLATE_NOOP:2:pass-qt-format \