Doc: Setting qsTrId() call as default in Qt Quick Designer options

Change-Id: I36f696ea00f87787094d01423ef6308d208012a7
Reviewed-by: Thomas Hartmann's avatarThomas Hartmann <thomas.hartmann@qt.io>
parent c3608ec7
...@@ -271,10 +271,17 @@ ...@@ -271,10 +271,17 @@
\image qmldesigner-text-property-tr.png "Text properties" \image qmldesigner-text-property-tr.png "Text properties"
The text string is enclosed in a \c qsTr call. By default, the text string is enclosed in a \c qsTr() call.
\image qml-translate.png "Text marked for translation" \image qml-translate.png "Text marked for translation"
If you use text IDs instead of plain text, change the default call to
\c qsTrId(). Select \uicontrol Tools > \uicontrol Options >
\uicontrol {Qt Quick} > \uicontrol {Qt Quick Designer}, and then select the
\uicontrol {qsTrId()} radio button in the \uicontrol Internationalization
group. For more information about text ID based translations, see
\l {Qt Linguist Manual: Text ID Based Translations}.
\section2 Loading Placeholder Data \section2 Loading Placeholder Data
\QMLD supports views, models, and delegates, so that when you add a Grid \QMLD supports views, models, and delegates, so that when you add a Grid
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment