diff options
author | Bruno Haible <bruno@clisp.org> | 2003-10-10 10:45:55 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:11:03 +0200 |
commit | 6604a4d8b35235225b43900a0fdcfce0d9b899d0 (patch) | |
tree | 8a6190346d8da125d85d0c04ef6ab86b859e7b13 /gettext-tools/po/Makevars | |
parent | 7474a39c0d7791db008a1939a68a31e100d64762 (diff) | |
download | external_gettext-6604a4d8b35235225b43900a0fdcfce0d9b899d0.zip external_gettext-6604a4d8b35235225b43900a0fdcfce0d9b899d0.tar.gz external_gettext-6604a4d8b35235225b43900a0fdcfce0d9b899d0.tar.bz2 |
Recognize format strings depending on their position.
Diffstat (limited to 'gettext-tools/po/Makevars')
-rw-r--r-- | gettext-tools/po/Makevars | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gettext-tools/po/Makevars b/gettext-tools/po/Makevars index 5c118c5..17be10a 100644 --- a/gettext-tools/po/Makevars +++ b/gettext-tools/po/Makevars @@ -8,7 +8,13 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ +XGETTEXT_OPTIONS = \ + --keyword=_ --flag=_:1:pass-c-format \ + --keyword=N_ --flag=N_:1:pass-c-format \ + --flag=error:3:c-format --flag=error_at_line:5:c-format \ + --flag=asprintf:2:c-format --flag=vasprintf:2:c-format \ + --flag=xasprintf:1:c-format \ + --flag=po_gram_error:1:c-format --flag=po_gram_error_at_line:2:c-format # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding |