Migrating Pology to Python 3

Karl Ove Hufthammer karl at huftis.org
Sat Oct 8 11:50:35 BST 2022


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 …"



-- 
Karl Ove Hufthammer


More information about the kde-i18n-doc mailing list