[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Migrating Pology to Python 3
From:       Karl Ove Hufthammer <karl () huftis ! org>
Date:       2022-10-08 10:50:35
Message-ID: 5d683a24-a392-b1a5-304d-9615b4e6d26d () huftis ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic