| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
--check-format, --check-header,
--check-domain.
If the string represents a format string used in a
printf-like function both strings should have the same number of
`%' format specifiers, with matching types. If the flag
c-format or possible-c-format appears in the special
comment #, for this entry a check is performed. For example, the
check will diagnose using `%.*s' against `%s', or `%d'
against `%s', or `%d' against `%x'. It can even handle
positional parameters.
Normally the xgettext program automatically decides whether a
string is a format string or not. This algorithm is not perfect,
though. It might regard a string as a format string though it is not
used in a printf-like function and so msgfmt might report
errors where there are none.
To solve this problem the programmer can dictate the decision to the
xgettext program (see section 3.5 Special Comments preceding Keywords). The translator should not
consider removing the flag from the #, line. This "fix" would be
reversed again as soon as msgmerge is called the next time.
--output-file
option
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |