Little issue with pylupdate

Detlev Offenbach detlev at die-offenbachs.de
Thu Jul 14 14:59:44 BST 2022


Hi,

I just discovered a little issue with pylupdate (latest release). This 
is the situation.

 1. Some messages were changed in Python sources.
 2. pylupdate was used to extract the messages updating existing .ts
    files (mode 'keep obsolete ones').
 3. During translation I discovered, that a message was changed by error.
 4. Changed the message back to its original text in the source file.
 5. Re-ran pylupdate the same way as 2.
 6. The message of step 4. was still shown as obsolete and not changed
    back to a valid one. The marker 'type="vanished"' was not removed
    and because the message text was found in the .ts file, no new entry
    was created.

Result: I had to edit the .ts file in an editor and remove the 
'vanished' marker.

Regards,
Detlev

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


More information about the PyQt mailing list