]> git.ipfire.org Git - thirdparty/gettext.git/commit
msgmerge: New option --for-msgfmt.
authorBruno Haible <bruno@clisp.org>
Wed, 24 Oct 2018 23:09:38 +0000 (01:09 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 24 Oct 2018 23:09:38 +0000 (01:09 +0200)
commitbd9c80d590b0eebdf3d67aa474d88758cabca20d
treeef8107ab72ff6275229345945150a544313e1af0
parent02e832f991b0cb89b7f8cac1e833e3ef0729d009
msgmerge: New option --for-msgfmt.

* gettext-tools/src/msgmerge.c (for_msgfmt): New variable.
(long_options): Add option --for-msgfmt.
(main): Handle option --for-msgfmt.
(usage): Document option --for-msgfmt.
(match_domain): When --for-msgfmt is given, omit untranslated and fuzzy messages
from the result.
(merge): When --for-msgfmt is given, don't add obsolete messages to the result.
* gettext-tools/tests/msgmerge-26: New file.
* gettext-tools/tests/Makefile.am (TESTS): Add it.
* gettext-tools/doc/msgmerge.texi: Mention the option --for-msgfmt.
* NEWS: Mention the change.
NEWS
gettext-tools/doc/msgmerge.texi
gettext-tools/src/msgmerge.c
gettext-tools/tests/Makefile.am
gettext-tools/tests/msgmerge-26 [new file with mode: 0755]