Details
Description
When QObject.tr is applied to an r-string, pyside6-lupdate doesn't list it in the TS file.
That's an MWE:
from PySide6.QtCore import QObject class Spam(QObject): def spam(self) -> None: self.tr(r'\escaped from translation!')
The result of pyside6-lupdate ....py -ts ....ts is Found 0 source text(s), despite there is definitely one.
Attachments
Issue Links
- relates to
-
PYSIDE-2562 Lupdate doesn't recognize python u-strings
- Closed