How to enter a static methods for Qt Linguist QTranslator
问题 I have a Qt Linguist *.ts file like: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="de_DE" sourcelanguage="en_GB"> <context> <name></name> <message> <location filename="classWithStaticMethod.cpp" line="60"/> <source>File</source> <translation>Datei</translation> </message> </context> </TS> How do I enter a translation object with a static method. ClassWithStaticMethod.cpp has a static method where a QT_TR_NOOP("File") occurs at line 60 for instance. Leaving