https://bugzilla.wikimedia.org/show_bug.cgi?id=43953

       Web browser: ---
            Bug ID: 43953
           Summary: Empty (but existing) msgctxt isn't handled correctly
                    in PO file export
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Translate
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Steps to reproduce:

1. 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"

2. 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to