[PyQt] PyQt5 fstring translation

Phil Thompson phil at riverbankcomputing.com
Tue Apr 2 15:46:01 BST 2019

On 2 Apr 2019, at 2:54 pm, Shyne <shyne69 at gmail.com> wrote:
> Ok I can see the fstrings now in linguist with the last snapshot !
> But the translation work only if I remove the string variable ex:
> var = "plop"
> Working: self.tr(f"Test without")
> Not working: self.tr(f"Test with {var}")

If the string appears as expected in linguist then pylupdate is working as expected.


More information about the PyQt mailing list