Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 4.11.0
-
None
Description
According to https://doc.qt.io/qtcreator/creator-project-wizards-json.html#localizing-wizards all fields starting with "tr" should be inline translatable using this syntax:
"trDisplayName": { "C": "default", "en_US": "english", "de_DE": "deutsch" }
However, in a page of type "Fields", using a data field of type LineEdit, this doesn't seem to work.
This example:
{ "name": "Vendor", "trDisplayName": { "C": "Vendor name:", "en_US": "Vendor name:", "de_DE": "Gerätehersteller" }, "Vendor name:", "mandatory": true, "type": "LineEdit", "trIncompleteMessage": "Invalid vendor", "data": { "trText": "%{ProjectName}", "validator": "[a-zA-Z][a-zA-Z0-9]*" } },
Will produce a LineEdit with an empty label. Using `trDisplayName` untranslated works fine.