Author: lasse.liehu
Description:
Steps to reproduce:
- Import a PO file with for example the following messages (that are in KDE's kdelibs/solid_qt file):
msgid "%1 TiB"
msgstr "%1 TiB"
msgid "%1 TiB"
msgctxt ""
msgstr "%1 TiB"
- Export it
Actual results:
In the exported file it becomes like this:
msgid "%1 TiB"
msgstr "%1 TiB"
msgid "%1 TiB"
msgstr "%1 TiB"
And then gettext gives errors about duplicate definitions of the same message.
Expected results:
The empty msgctxt is preserved and export it's differentiated from the message not having a msgctxt.
Version: master
Severity: normal