[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] msgcat error when merging fuzy entry with empty translatio
From: |
CircleCode |
Subject: |
[bug-gettext] msgcat error when merging fuzy entry with empty translation |
Date: |
Wed, 14 Jun 2017 13:15:19 +0200 |
given these 2 files:
----8<--- test1.pot ----------
#, fuzzy
msgid "foo"
msgstr "foo"
------------------------->8---
----8<--- test2.pot ----------
msgid "foo"
msgstr ""
------------------------->8---
msgcat does not ignore empty translation from test2:
$ msgcat test1.pot test2.pot
#, fuzzy
msgid "foo"
msgstr ""
"#-#-#-#-# test1.pot #-#-#-#-#\n"
"foo\n"
"#-#-#-#-# test2.pot #-#-#-#-#\n"
while it correctly ignore it if we remove the fuzzy comment from test1:
$ sed -i 's/#, fuzzy//' test1.pot && msgcat test1.pot test2.pot
msgid "foo"
msgstr "foo"
is this a feature or a bug?
- [bug-gettext] msgcat error when merging fuzy entry with empty translation,
CircleCode <=