diff options
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 |