<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">I think keeping the original order is
best. It results in cleaner diffs.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Sorting the tags may of course
*sometimes* be useful, but that can always go into a separate
sieve, just like we have for ‘normalize_header’.<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 13:28:<br>
</div>
<blockquote type="cite"
cite="mid:f1a60e365f2ac1c7476ee602b7bfb886@chaves.io">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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>
</blockquote>
<br>
</body>
</html>