[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:35:07
Message-ID: 9e861776-4e5a-d252-79cb-3b755d423355 () huftis ! org
[Download RAW message or body]
Thanks!
I have now tested the ‘resolve-aggregates’ sieve on a *huge* .po file
(21 MiB), and it resulted in the *exact* same file as in the Python 2
version. :)
Adrian Chaves skreiv 08.10.2022 12:27:
>
> Fixed:
> https://invent.kde.org/sdk/pology/commit/258c3c76df44b872b01cec4c8a940a8251e964e4
>
> On 2022-10-07 22:27, Karl Ove Hufthammer wrote:
>
>> Karl Ove Hufthammer skreiv 07.10.2022 21:58:
>>> I‘ve found a bug in the posieve script for the check-rules command.
>>
>> And here’s another bug. The ‘resolve-aggregates’ sieve doesn’t work.
>> The command
>>
>> posieve.py resolve-aggregates test.po
>>
>> results in this error message:
>>
>> posieve.py: [error] '_committed'
>>
>> Here’s a minimal PO file for testing it:
>>
>>
>> # #-#-#-#-# test #-#-#-#-#
>> # Translation of test
>>
>> msgid "Test"
>> msgstr "Test"
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Thanks!</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">I have now tested the
‘resolve-aggregates’ sieve on a *huge* .po file (21 MiB), and it
resulted in the *exact* same file as in the Python 2 version. :)<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Adrian Chaves skreiv 08.10.2022 12:27:<br>
</div>
<blockquote type="cite"
cite="mid:0251fd29027cbd08c6637d841880d97a@chaves.io">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Fixed: <a
href="https://invent.kde.org/sdk/pology/commit/258c3c76df44b872b01cec4c8a940a8251e964e4"
moz-do-not-send="true" \
class="moz-txt-link-freetext">https://invent.kde.org/sdk/pology/commit/258c3c76df44b872b01cec4c8a940a8251e964e4</a></p>
<p id="reply-intro">On 2022-10-07 22:27, 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;">Karl Ove Hufthammer skreiv \
07.10.2022 21:58:</span> <blockquote type="cite" style="padding: 0 0.4em; \
border-left: #1010ff 2px solid; margin: 0"><span style="white-space:
nowrap;">I‘ve found a bug in the posieve script for the check-rules \
command.</span></blockquote> <br>
And here’s another bug. The ‘resolve-aggregates’ sieve doesn’t
work. The command<br>
<br>
<span style="white-space: nowrap;"> posieve.py resolve-aggregates \
test.po</span><br> <br>
<span style="white-space: nowrap;">results in this error \
message:</span><br> <br>
<span style="white-space: nowrap;"> posieve.py: [error] \
'_committed'</span><br> <br>
<span style="white-space: nowrap;">Here’s a minimal PO file for testing \
it:</span><br> <br>
<br>
<span style="white-space: nowrap;"># #-#-#-#-# test #-#-#-#-#</span><br>
<span style="white-space: nowrap;"># Translation of test</span><br>
<br>
<span style="white-space: nowrap;">msgid "Test"</span><br>
<span style="white-space: nowrap;">msgstr "Test"</span></div>
</blockquote>
</blockquote>
<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic