Improvement suggestion for pylupdate6

Detlev Offenbach detlev at die-offenbachs.de
Mon May 24 12:19:10 BST 2021


Am 24.05.21 um 12:50 schrieb Phil Thompson:
> On 23/05/2021 15:24, Detlev Offenbach wrote:
>> Hello Phil,
>>
>> while porting eric to PyQt6 I saw this improvement capabilities for 
>> pylupdate6.
>>
>> 1. If a text to be translated is empty, it should be omitted from the
>>    resulting .ts file. That is the behavior of lupdate5/6.
>
> pylupdate6 does the same - at least for the attached test.

Than Qt introduced a change. pylupdate5 didn't do that and it actually 
doesn't make sense to translate an empty string.

Detlev

-- 
Detlev Offenbach
detlev at die-offenbachs.de



More information about the PyQt mailing list