]> git.ipfire.org Git - thirdparty/gettext.git/commit
msgmerge: Fix behaviour of --for-msgfmt on PO files with no translations.
authorBruno Haible <bruno@clisp.org>
Sun, 19 May 2019 11:10:06 +0000 (13:10 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 19 May 2019 11:10:06 +0000 (13:10 +0200)
commit2336451ed68d91ff4b5ae1acbc1eca30e47a86a9
tree9eb65b034feb96e346e0cab0e5181f4cbae11be0
parent7ab696c983ab080a21dc06e422366c086d7dd91a
msgmerge: Fix behaviour of --for-msgfmt on PO files with no translations.

Reported by Don Lawrence <dlawrence@iecok.com>
in <https://lists.freedesktop.org/archives/p11-glue/2019-May/000700.html>
via Daiki Ueno
in <https://lists.gnu.org/archive/html/bug-gettext/2019-05/msg00124.html>.

* gettext-tools/src/msgmerge.c (main): Treat force_po like true if for_msgfmt
is true.
* gettext-tools/tests/msgmerge-26: Add test of PO file with no translations.
gettext-tools/src/msgmerge.c
gettext-tools/tests/msgmerge-26