summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/qdeclarativei18n.qdoc
diff options
context:
space:
mode:
authorToby Tomkins <toby.tomkins@nokia.com>2010-07-27 05:37:43 (GMT)
committerToby Tomkins <toby.tomkins@nokia.com>2010-07-27 05:47:52 (GMT)
commit0f989739f4b0ab72c3fa0a25e91edf7641b91fdb (patch)
treeb84ed690f4550c670da703172d56f1b53545b973 /doc/src/declarative/qdeclarativei18n.qdoc
parent14bbc9fc1482f2f60d6acb5cd35cfe121e9d5b8e (diff)
downloadQt-0f989739f4b0ab72c3fa0a25e91edf7641b91fdb.zip
Qt-0f989739f4b0ab72c3fa0a25e91edf7641b91fdb.tar.gz
Qt-0f989739f4b0ab72c3fa0a25e91edf7641b91fdb.tar.bz2
Copied Qt QML 4.7 branch to release.
Reviewed-by: MArtin Jones
Diffstat (limited to 'doc/src/declarative/qdeclarativei18n.qdoc')
-rw-r--r--doc/src/declarative/qdeclarativei18n.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/declarative/qdeclarativei18n.qdoc b/doc/src/declarative/qdeclarativei18n.qdoc
index 40f7919..b6e6c6e 100644
--- a/doc/src/declarative/qdeclarativei18n.qdoc
+++ b/doc/src/declarative/qdeclarativei18n.qdoc
@@ -49,7 +49,7 @@ capabilities are described more fully in:
\o \l {Qt Linguist Manual}
\endlist
-You can test a translation with the \l {Qt Declarative UI Runtime}{qml} tool using the -translation option.
+You can test a translation with the \l {QML Viewer} using the -translation option.
\section1 Example
@@ -61,8 +61,8 @@ hello.qml:
import Qt 4.7
Rectangle {
- width: 200; height: 200
- Text { text: qsTr("Hello"); anchors.centerIn: parent }
+ width: 200; height: 200
+ Text { text: qsTr("Hello"); anchors.centerIn: parent }
}
\endqml
@@ -76,7 +76,7 @@ a translation and create the release file \c hello.qm.
Finally, we can test the translation:
\code
-qml -translation hello.qm hello.qml
+qmlviewer -translation hello.qm hello.qml
\endcode