<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="2">Hi Phil,</font></p>
<p><font size="2">I just tried the new pylupdate (actually just
translation_file.py) and must report, that the file generated by
pylupdate and Qt linguist are still different. pylupdate indents
all context elements by 4 spaces whereas Qt linguist does not
indent them at all.</font></p>
<p><font size="2">Would it be possible to align the bahavior of
pylupdate with Qt linguist?</font></p>
<p><font size="2">Regards,<br>
Detlev</font></p>
<div class="moz-cite-prefix">Am 10.07.25 um 18:19 schrieb Phil
Thompson:<br>
</div>
<blockquote type="cite"
cite="mid:88409f45ab1d9ecdb4fd091484f63d73@riverbankcomputing.com">On
07/07/2025 09:39, Detlev Offenbach wrote:
<br>
<blockquote type="cite">Hi Phil,
<br>
<br>
I just discovered a slight discrepancy between pylupdate and Qt
<br>
Linguist. pylupdate generates the .ts files with an indentation
of 2
<br>
spaces while Qt Linguist uses 4 spaces. This is a bit annoying
when it
<br>
comes to version control because it causes the two to be
completely
<br>
(almost) different and it is not possible to see the differences
<br>
without first regenerating the .ts file with pylupdate.
<br>
<br>
Please synchronize the pylupdate behavior to Qt Linguist or
introduce
<br>
a --indent option.
<br>
<br>
Regards
<br>
Detlev
<br>
</blockquote>
<br>
Should be fixed in the next snapshot. I'm currently messing with
snapshots so you might not see it for a day or two.
<br>
<br>
Phil
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
Detlev Offenbach
<a class="moz-txt-link-abbreviated" href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a></pre>
</body>
</html>