Re: PyQt5 fstring translation
Phil Thompson <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
On 2 Apr 2019, at 2:54 pm, Shyne <[email protected]> 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. Phil _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt