From 2a15cd69f28e6e8d4881a1ec89393b8aa93092af Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 11 Mar 2007 12:33:34 +0200 Subject: [PATCH] Tell xgettext which functions pass through format strings. These are the same functions whose argument strings xgettext should add to elinks.pot. I also searched for uses of the functions that are known to take format strings, in case the callers might take the format string from the result of another function, but didn't find any new ones. --- po/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/po/Makefile b/po/Makefile index 944c2b70f..bc51f977d 100644 --- a/po/Makefile +++ b/po/Makefile @@ -72,6 +72,9 @@ $(srcdir)$(PACKAGE).pot: $(srcdir)$(POTFILES_ABS_LIST) $(srcdir)perl/gather-acce --flag=elinks_vsnprintf:3:c-format --flag=elinks_snprintf:3:c-format \ --flag=elinks_vasprintf:2:c-format --flag=elinks_asprintf:2:c-format \ --flag=vasprintfa:1:c-format --flag=asprintfa:1:c-format \ + --flag=_:1:pass-c-format --flag=N_:1:pass-c-format \ + --flag=n_:1:pass-c-format --flag=n_:2:pass-c-format \ + --flag=N__:1:pass-c-format \ -f $(srcdir)$(POTFILES_ABS_LIST) \ && test -f $(PACKAGE).po \ && $(PERL) -I"$(srcdir)perl" $(srcdir)perl/gather-accelerator-contexts.pl -S"$(top_srcdir)" $(PACKAGE).po \