[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&nbsp;Jazeix&nbsp;skreiv&nbsp;05.10.2022&nbsp;22:14:</span> \
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; \
margin: 0"><span style="white-space: \
nowrap;">It&nbsp;causes&nbsp;multiple&nbsp;changes&nbsp;in&nbsp;the&nbsp;formatting&nbsp;of&nbsp;the&nbsp;po:</span><br \
/><span style="white-space: \
nowrap;">-#,&nbsp;kde-kuit-format,&nbsp;no-c-format</span><br /><span \
style="white-space: nowrap;">+#,&nbsp;no-c-format,&nbsp;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;">#,&nbsp;no-c-format,&nbsp;kde-format</span><br /><span style="white-space: \
nowrap;">msgid&nbsp;"Search..."</span><br /><span style="white-space: \
nowrap;">msgstr&nbsp;"S&oslash;k&nbsp;&hellip;"</span><br /><br /><span \
style="white-space: nowrap;">#,&nbsp;kde-format,&nbsp;no-c-format</span><br /><span \
style="white-space: nowrap;">msgid&nbsp;"Find..."</span><br /><span \
style="white-space: nowrap;">msgstr&nbsp;"Finn&nbsp;&hellip;"</span><br /><br /><span \
style="white-space: nowrap;">If&nbsp;I&nbsp;run&nbsp;the&nbsp;Python&nbsp;2&nbsp;porewrap&nbsp;script,&nbsp;I&nbsp;get:</span><br \
/><br /><span style="white-space: \
nowrap;">#,&nbsp;kde-format,&nbsp;no-c-format</span><br /><span style="white-space: \
nowrap;">msgid&nbsp;"Search..."</span><br /><span style="white-space: \
nowrap;">msgstr&nbsp;"S&oslash;k&nbsp;&hellip;"</span><br /><br /><span \
style="white-space: nowrap;">#,&nbsp;kde-format,&nbsp;no-c-format</span><br /><span \
style="white-space: nowrap;">msgid&nbsp;"Find..."</span><br /><span \
style="white-space: nowrap;">msgstr&nbsp;"Finn&nbsp;&hellip;"</span><br /><br /><span \
style="white-space: nowrap;">If&nbsp;I&nbsp;run&nbsp;the&nbsp;Pyhon&nbsp;3&nbsp;porewrap&nbsp;script,&nbsp;I&nbsp;get:</span><br \
/><br /><span style="white-space: \
nowrap;">#,&nbsp;no-c-format,&nbsp;kde-format</span><br /><span style="white-space: \
nowrap;">msgid&nbsp;"Search..."</span><br /><span style="white-space: \
nowrap;">msgstr&nbsp;"S&oslash;k&nbsp;&hellip;"</span><br /><br /><span \
style="white-space: nowrap;">#,&nbsp;no-c-format,&nbsp;kde-format</span><br /><span \
style="white-space: nowrap;">msgid&nbsp;"Find..."</span><br /><span \
style="white-space: nowrap;">msgstr&nbsp;"Finn&nbsp;&hellip;"</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