[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] msgmerge --for-msgfmt
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] msgmerge --for-msgfmt |
Date: |
Sun, 19 May 2019 13:17:59 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) |
Hi Daiki,
> I got a report saying that the .pot-update rule doesn't work if the
> project is configured with the gettext infrastructure from 0.20.1:
> https://lists.freedesktop.org/archives/p11-glue/2019-May/000700.html
Thanks for the forward!
> Apparently, if the input .po file contains no translation (i.e., all
> msgstr's are ""), msgmerge --for-msgfmt doesn't produce any output and
> thus the later msgfmt call fails.
It happens also when the input PO file does contain translations but the
*output* PO file would not contain translations.
> I suspect that this might be an intended behavior
No, this wasn't intended. msgfmt does not treat "empty" PO files specially,
therefore 'msgmerge --for-msgfmt' should not do it either.
Fixed through
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=2336451ed68d91ff4b5ae1acbc1eca30e47a86a9
Bruno