Little issue with pylupdate

Phil Thompson phil at riverbankcomputing.com
Tue Jul 19 13:48:04 BST 2022


On 14/07/2022 14:59, Detlev Offenbach wrote:
> 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.

Should be fixed in the next snapshot.

Thanks,
Phil


More information about the PyQt mailing list