diff options
author | Jerome Pasion <[email protected]> | 2013-08-12 15:24:03 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-08-13 14:52:27 +0200 |
commit | f0e285381800c0809e5bfd3a4871a2283ea10fb9 (patch) | |
tree | 0f3718937db9bd89a335b29029abcc8c73785a8f | |
parent | 65aaea88d9ad2d01f39e76b9ccae0930e67aef9f (diff) |
Doc: Renamed and moved examples/qml/i18n to examples/qml/qml-i18n
-the generated HTML page conflicts with the i18n.html page from qtdoc.
-edited the content.
Task-number: QTBUG-32580
Change-Id: I32ded1913d9faecb95e28043983e957ccd0e8749
Reviewed-by: Martin Smith <[email protected]>
-rw-r--r-- | examples/qml/qml-i18n/doc/images/qml-i18n-example.png (renamed from examples/qml/i18n/doc/images/qml-i18n-example.png) | bin | 1945 -> 1945 bytes | |||
-rw-r--r-- | examples/qml/qml-i18n/doc/src/i18n.qdoc (renamed from examples/qml/i18n/doc/src/i18n.qdoc) | 10 | ||||
-rw-r--r-- | examples/qml/qml-i18n/i18n/base.ts (renamed from examples/qml/i18n/i18n/base.ts) | 4 | ||||
-rw-r--r-- | examples/qml/qml-i18n/i18n/qml_en_AU.ts (renamed from examples/qml/i18n/i18n/qml_en_AU.ts) | 0 | ||||
-rw-r--r-- | examples/qml/qml-i18n/i18n/qml_fr.ts (renamed from examples/qml/i18n/i18n/qml_fr.ts) | 2 | ||||
-rw-r--r-- | examples/qml/qml-i18n/qml-i18n.qml (renamed from examples/qml/i18n/i18n.qml) | 0 | ||||
-rw-r--r-- | examples/qml/qml-i18n/qml-i18n.qmlproject (renamed from examples/qml/i18n/i18n.qmlproject) | 2 | ||||
-rw-r--r-- | examples/qml/qml.pro | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/examples/qml/i18n/doc/images/qml-i18n-example.png b/examples/qml/qml-i18n/doc/images/qml-i18n-example.png Binary files differindex 02f645e702..02f645e702 100644 --- a/examples/qml/i18n/doc/images/qml-i18n-example.png +++ b/examples/qml/qml-i18n/doc/images/qml-i18n-example.png diff --git a/examples/qml/i18n/doc/src/i18n.qdoc b/examples/qml/qml-i18n/doc/src/i18n.qdoc index 39f2bf9a08..5a61906497 100644 --- a/examples/qml/i18n/doc/src/i18n.qdoc +++ b/examples/qml/qml-i18n/doc/src/i18n.qdoc @@ -26,21 +26,21 @@ ****************************************************************************/ /*! \title QML Examples - Internationalization - \example i18n + \example qml-i18n \image qml-i18n-example.png \brief This is an internationalization example The QML runtime automatically loads a translation from the i18n subdirectory of the root QML file, based on the system language. - The files are created/updated by running: + The files are created or updated by running: \code - lupdate i18n.qml -ts i18n/base.ts + lupdate qml-i18n.qml -ts i18n/base.ts \endcode - Translations for new languages are created by copying i18n/base.ts to i18n/qml_<lang>.ts - The .ts files can then be edited with Linguist: + Translations for new languages are created by copying \e i18n/base.ts to \e i18n/qml_<lang>.ts + The .ts files can then be edited with \l {Qt Linguist}: \code linguist i18n/qml_fr.ts diff --git a/examples/qml/i18n/i18n/base.ts b/examples/qml/qml-i18n/i18n/base.ts index 82547a1f93..07e00f3ad2 100644 --- a/examples/qml/i18n/i18n/base.ts +++ b/examples/qml/qml-i18n/i18n/base.ts @@ -2,9 +2,9 @@ <!DOCTYPE TS> <TS version="2.0" sourcelanguage="en"> <context> - <name>i18n</name> + <name>qml-i18n</name> <message> - <location filename="../i18n.qml" line="30"/> + <location filename="../qml-i18n.qml" line="56"/> <source>Hello</source> <translation type="unfinished"></translation> </message> diff --git a/examples/qml/i18n/i18n/qml_en_AU.ts b/examples/qml/qml-i18n/i18n/qml_en_AU.ts index e991affe7f..e991affe7f 100644 --- a/examples/qml/i18n/i18n/qml_en_AU.ts +++ b/examples/qml/qml-i18n/i18n/qml_en_AU.ts diff --git a/examples/qml/i18n/i18n/qml_fr.ts b/examples/qml/qml-i18n/i18n/qml_fr.ts index 365abd95c2..1784914f42 100644 --- a/examples/qml/i18n/i18n/qml_fr.ts +++ b/examples/qml/qml-i18n/i18n/qml_fr.ts @@ -4,7 +4,7 @@ <context> <name>i18n</name> <message> - <location filename="../i18n.qml" line="30"/> + <location filename="../qml-i18n.qml" line="30"/> <source>Hello</source> <translation>Bonjour</translation> </message> diff --git a/examples/qml/i18n/i18n.qml b/examples/qml/qml-i18n/qml-i18n.qml index 00fc310a6c..00fc310a6c 100644 --- a/examples/qml/i18n/i18n.qml +++ b/examples/qml/qml-i18n/qml-i18n.qml diff --git a/examples/qml/i18n/i18n.qmlproject b/examples/qml/qml-i18n/qml-i18n.qmlproject index 7ee5b76b92..a1a56c2bb2 100644 --- a/examples/qml/i18n/i18n.qmlproject +++ b/examples/qml/qml-i18n/qml-i18n.qmlproject @@ -1,7 +1,7 @@ import QmlProject 1.1 Project { - mainFile: "i18n.qml" + mainFile: "qml-i18n.qml" /* Include .qml, .js, and image files from current directory and subdirectories */ QmlFiles { diff --git a/examples/qml/qml.pro b/examples/qml/qml.pro index 8d9cca047f..5ab155cb40 100644 --- a/examples/qml/qml.pro +++ b/examples/qml/qml.pro @@ -9,5 +9,5 @@ SUBDIRS += \ EXAMPLE_FILES = \ dynamicscene \ - i18n \ + qml-i18n \ locale |