Discrepancy between pylupdate and Qt Linguist

Detlev Offenbach detlev at die-offenbachs.de
Mon Jul 7 09:39:39 BST 2025


Hi Phil,

I just discovered a slight discrepancy between pylupdate and Qt 
Linguist. pylupdate generates the .ts files with an indentation of 2 
spaces while Qt Linguist uses 4 spaces. This is a bit annoying when it 
comes to version control because it causes the two to be completely 
(almost) different and it is not possible to see the differences without 
first regenerating the .ts file with pylupdate.

Please synchronize the pylupdate behavior to Qt Linguist or introduce a 
--indent option.

Regards
Detlev

-- 
Detlev Offenbach
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20250707/570e2ca8/attachment.htm>


More information about the PyQt mailing list