LedioLedrit / qtlinguistdownload

Automatically exported from code.google.com/p/qtlinguistdownload
Other
0 stars 0 forks source link

IDs replaced in .PO file #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The following code:

Qt Linguist 4.6 on Mac OS and Windows will mess up the IDs of the strings in 
the .PO file if they 
contain multiple column characters. E.g.

    #: block:2:title
    msgid "Welcome!"
    msgstr ""

...will be transformed into:

    #: block:2:0
    msgid "Welcome!"
    msgstr "Bienvenue!"

Notice the `block:2:title` becoming `block:2:0`

What steps will reproduce the problem?
1. Open a .PO file like those created by Drupal's i18n module.
2. Click on any of the strings inside. Edit, or not, some of the translations.
3. Save.

What is the expected output? What do you see instead?
Edited strings with the same IDs as the original.

What version of the product are you using? On what operating system?
4.6 on Mac OS 10.6.

Original issue reported on code.google.com by gabrielr...@gmail.com on 29 Mar 2010 at 9:30