Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
4.6.3, 4.7.0
-
None
-
Linux, Windows, Mac.
Description
Dialog1::Dialog1( QWidget* parent /= 0/ )
is parsed by lupdate as being an identifier for the next tr() call, which was definitely not the intent of this code.
As a result, it merges tr() calls wrongly, and some strings get wrongly translated.
See attached testcase.
I think the tr id should be discarded upon encountering the ')'. And/or maybe C-style comments shouldn't be used for this magic, since only C++ style comments are documented as having this effect?