STRING(UnicodeUTF8);
STRING(DefaultCodec);
STRING(CodecForTr);
+STRING(Latin1);
bool CppParser::matchEncoding()
{
yyTok = getToken();
return true;
}
- yyMsg() << qPrintable(LU::tr("Unsupported encoding Latin1\n"));
+ if (yyWord == strLatin1)
+ yyMsg() << qPrintable(LU::tr("Unsupported encoding Latin1\n"));
return false;
}
--- /dev/null
+.*/lupdate/testdata/good/parsecpp/finddialog.cpp:77: Qualifying with unknown namespace/class ::FindDialog
+.*/lupdate/testdata/good/parsecpp/finddialog.cpp:127: Qualifying with unknown namespace/class ::FindDialog
+.*/lupdate/testdata/good/parsecpp/finddialog.cpp:167: Qualifying with unknown namespace/class ::FindDialog
+.*/lupdate/testdata/good/parsecpp/finddialog.cpp:173: Unsupported encoding Latin1
+lupdate warning: Message with id 'yet_another_id' has no source.
QString s = QApplication::translate("QCoreApplication", "encoding, using QApplication", 0, QApplication::UnicodeUTF8);
QString s = QApplication::translate("Kåntekst", "encoding, using QApplication", 0, QApplication::UnicodeUTF8);
-
+ QString s = QApplication::translate("QTranslator", "Key", "disambiguation", QCoreApplication::Latin1);
}
</context>
<context>
<name>QTranslator</name>
+ <message numerus="yes">
+ <location filename="finddialog.cpp" line="173"/>
+ <source>Key</source>
+ <comment>disambiguation</comment>
+ <translation type="unfinished">
+ <numerusform></numerusform>
+ </translation>
+ </message>
<message>
<location filename="main.cpp" line="85"/>
<location filename="main.cpp" line="86"/>