Wizards: Make editable text options with macros/code non-translatable

Options with contain %{Macros} (sometimes with JavaScript code) should
not be translatable, since a translation can easily a prevent a wizard
from successfully working.

This change turns a couple of trText, trDisabledText and trPlaceholder
options into their non-translatable pendants.

Fixes: QTCREATORBUG-29649
Change-Id: Ia46ab7ac35f78d6368868d78e24179197744921d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2023-10-10 18:12:55 +02:00
parent 2a510011f1
commit f734ba4461
16 changed files with 35 additions and 35 deletions
@@ -38,7 +38,7 @@
"type": "TextEdit",
"data":
{
"trText": "int main(int argc, char *argv[])\n{\n return 0;\n}"
"text": "int main(int argc, char *argv[])\n{\n return 0;\n}"
}
},
{