]> 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>
Mon, 13 Apr 2020 10:50:04 +0000 (12:50 +0200)
commite706013f9a4b839ec77fa2d42152be02d0a00f5f
tree4d0b52fd9c56683e27d1d994767619eda86fb7e9
parent37af7d71252a3967b4f98a4a9ed3477ea50d40a2
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