mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
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.
This commit is contained in:
parent
d00d702e7d
commit
12b9e0cd00
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user