summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/qdeclarativei18n.qdoc
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-07-02 01:21:55 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-07-02 03:43:53 (GMT)
commita02de048753aeb9e4c6811bf7689801c59d3c236 (patch)
treef93f7263f5ec8f2775840cc581a1823f1de4e095 /doc/src/declarative/qdeclarativei18n.qdoc
parent1636e03a2fda5108cb4389689a327e65c47dfe0e (diff)
downloadQt-a02de048753aeb9e4c6811bf7689801c59d3c236.zip
Qt-a02de048753aeb9e4c6811bf7689801c59d3c236.tar.gz
Qt-a02de048753aeb9e4c6811bf7689801c59d3c236.tar.bz2
Fix docs to link to the new QML Viewer page instead of the Runtime page
where applicable, and remove or rename references to 'qml' tool. Also improve QML Viewer docs.
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