[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Migrating Pology to Python 3
From: Adrian Chaves <adrian () chaves ! io>
Date: 2022-10-08 11:28:43
Message-ID: f1a60e365f2ac1c7476ee602b7bfb886 () chaves ! io
[Download RAW message or body]
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 …"
[Attachment #3 (unknown)]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" \
/></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'> \
<p>What should we do here? Keep the original order, or enforce some specific sorting? \
(alphabetical?)</p> <p id="reply-intro">On 2022-10-08 12:50, Karl Ove Hufthammer \
wrote:</p> <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px \
solid; margin: 0"> <div class="pre" style="margin: 0; padding: 0; font-family: \
monospace"><span style="white-space: \
nowrap;">Johnny Jazeix skreiv 05.10.2022 22:14:</span> \
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"><span style="white-space: \
nowrap;">It causes multiple changes in the formatting of the po:</span><br \
/><span style="white-space: \
nowrap;">-#, kde-kuit-format, no-c-format</span><br /><span \
style="white-space: nowrap;">+#, no-c-format, kde-kuit-format</span></blockquote>
<br />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:<br /><br /><span style="white-space: \
nowrap;">#, no-c-format, kde-format</span><br /><span style="white-space: \
nowrap;">msgid "Search..."</span><br /><span style="white-space: \
nowrap;">msgstr "Søk …"</span><br /><br /><span \
style="white-space: nowrap;">#, kde-format, no-c-format</span><br /><span \
style="white-space: nowrap;">msgid "Find..."</span><br /><span \
style="white-space: nowrap;">msgstr "Finn …"</span><br /><br /><span \
style="white-space: nowrap;">If I run the Python 2 porewrap script, I get:</span><br \
/><br /><span style="white-space: \
nowrap;">#, kde-format, no-c-format</span><br /><span style="white-space: \
nowrap;">msgid "Search..."</span><br /><span style="white-space: \
nowrap;">msgstr "Søk …"</span><br /><br /><span \
style="white-space: nowrap;">#, kde-format, no-c-format</span><br /><span \
style="white-space: nowrap;">msgid "Find..."</span><br /><span \
style="white-space: nowrap;">msgstr "Finn …"</span><br /><br /><span \
style="white-space: nowrap;">If I run the Pyhon 3 porewrap script, I get:</span><br \
/><br /><span style="white-space: \
nowrap;">#, no-c-format, kde-format</span><br /><span style="white-space: \
nowrap;">msgid "Search..."</span><br /><span style="white-space: \
nowrap;">msgstr "Søk …"</span><br /><br /><span \
style="white-space: nowrap;">#, no-c-format, kde-format</span><br /><span \
style="white-space: nowrap;">msgid "Find..."</span><br /><span \
style="white-space: nowrap;">msgstr "Finn …"</span><br /><br /><br \
/></div> </blockquote>
<p><br /></p>
</body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic