diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-02-13 13:05:49 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-02-13 12:44:41 +0000 |
commit | 6e87ebfe833b97790e52d194d375c1de2d978b01 (patch) | |
tree | 54684b64a83dca3357033460e36b85aa3dc235e3 /doc/src/qtquick | |
parent | c3608ec7e0e8c12d28ee46427af492f42524b6fd (diff) |
Doc: Setting qsTrId() call as default in Qt Quick Designer options
Change-Id: I36f696ea00f87787094d01423ef6308d208012a7
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'doc/src/qtquick')
-rw-r--r-- | doc/src/qtquick/qtquick-designer.qdoc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/src/qtquick/qtquick-designer.qdoc b/doc/src/qtquick/qtquick-designer.qdoc index 90e68de11e..60b4eda8bd 100644 --- a/doc/src/qtquick/qtquick-designer.qdoc +++ b/doc/src/qtquick/qtquick-designer.qdoc @@ -271,10 +271,17 @@ \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" + 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 \QMLD supports views, models, and delegates, so that when you add a Grid |