[PyQt] PyQt5 fstring translation

Shyne shyne69 at gmail.com
Tue Apr 2 14:54:11 BST 2019


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}")



--
Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html


More information about the PyQt mailing list