aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/doc/src')
-rw-r--r--src/qml/doc/src/qmllanguageref/documents/structure.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/doc/src/qmllanguageref/documents/structure.qdoc b/src/qml/doc/src/qmllanguageref/documents/structure.qdoc
index 340d89d07d..c85dc53c1f 100644
--- a/src/qml/doc/src/qmllanguageref/documents/structure.qdoc
+++ b/src/qml/doc/src/qmllanguageref/documents/structure.qdoc
@@ -266,6 +266,10 @@ With this pragma you can set the context for the translations in the file.
pragma Translator: myTranslationContext
\endqml
+\qml
+pragma Translator: "myTranslationContext"
+\endqml
+
For more information on internationalization with QML, see \l{QML: Use qsTr()}{Use qsTr}.
\section1 Imports