Migrating Pology to Python 3

Adrian Chaves adrian at chaves.io
Sat Oct 8 12:28:43 BST 2022


What should we do here? Keep the original order, or enforce some 
specific sorting? (alphabetical?)

On 2022-10-08 12:50, Karl Ove Hufthammer wrote:

> Johnny Jazeix skreiv 05.10.2022 22:14:
> 
>> It causes multiple changes in the formatting of the po:
>> -#, kde-kuit-format, no-c-format
>> +#, no-c-format, kde-kuit-format
> 
> This is actually a bug (I think) in *both* the Python 2 and Python 3 
> versions. They change the order of the tags, but in different ways. 
> Example .po file with two entries:
> 
> #, no-c-format, kde-format
> msgid "Search..."
> msgstr "Søk …"
> 
> #, kde-format, no-c-format
> msgid "Find..."
> msgstr "Finn …"
> 
> If I run the Python 2 porewrap script, I get:
> 
> #, kde-format, no-c-format
> msgid "Search..."
> msgstr "Søk …"
> 
> #, kde-format, no-c-format
> msgid "Find..."
> msgstr "Finn …"
> 
> If I run the Pyhon 3 porewrap script, I get:
> 
> #, no-c-format, kde-format
> msgid "Search..."
> msgstr "Søk …"
> 
> #, no-c-format, kde-format
> msgid "Find..."
> msgstr "Finn …"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20221008/9b7df223/attachment.htm>


More information about the kde-i18n-doc mailing list