Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.9, 5.12.0
-
None
Description
code:
QString foo::tr(const char* msg) { return QCoreApplication::translate("foo", msg); } //... void bar() { foo:tr("String"); }
ts:
<context> <name>f</name> <message> <location filename="file.cpp" line="1"/> <source>String</source> <translation>String</translation> </message> </context>
Sometimes namespace is truncated to first letter in ts file. Using the same construction in different file works fine.
This bug is reproduced only on versions 5.7 and later. On 5.6 namespaces are not truncated.