Tell xgettext about all the printf-like functions we use.

2005-09-06  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.in.in: Tell xgettext about all the
        printf-like functions we use.
This commit is contained in:
Matthias Clasen 2005-09-06 16:33:28 +00:00 committed by Matthias Clasen
parent 8161643a39
commit 81eb80112f
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-09-06 Matthias Clasen <mclasen@redhat.com>
* Makefile.in.in: Tell xgettext about all the
printf-like functions we use.
2005-09-05 Iñaki Larrañaga <dooteo@euskalgnu.org> 2005-09-05 Iñaki Larrañaga <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation. * eu.po: Updated Basque translation.

View File

@ -93,6 +93,21 @@ all-no:
$(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES) $(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES)
$(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \ $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \
--add-comments --keyword=_ --keyword=N_ \ --add-comments --keyword=_ --keyword=N_ \
--flag=g_strdup_printf:1:c-format \
--flag=g_string_printf:2:c-format \
--flag=g_string_append_printf:2:c-format \
--flag=g_error_new:3:c-format \
--flag=g_set_error:4:c-format \
--flag=g_markup_printf_escaped:1:c-format \
--flag=g_log:3:c-format \
--flag=g_print:1:c-format \
--flag=g_printerr:1:c-format \
--flag=g_printf:1:c-format \
--flag=g_fprintf:2:c-format \
--flag=g_sprintf:2:c-format \
--flag=g_snprintf:3:c-format \
--flag=g_scanner_error:2:c-format \
--flag=g_scanner_warn:2:c-format \
--files-from=$(srcdir)/POTFILES.in \ --files-from=$(srcdir)/POTFILES.in \
&& test ! -f $(GETTEXT_PACKAGE).po \ && test ! -f $(GETTEXT_PACKAGE).po \
|| ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \ || ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \