aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2015-05-04 13:49:52 +0200
committerTopi Reiniƶ <topi.reinio@digia.com>2015-05-05 07:38:58 +0000
commit2647ea9481032f4e3dee295f5f6207ad1a96a876 (patch)
treeeed786aae4868aa5236e21559108fe7a99d52be7 /examples/qml
parent705c2bf4e5c71e4d31a387ed85e205962a344580 (diff)
Fix qml-i18n example
Commit f0e285381800c0809e5bfd3a4871a2283ea10fb9 renamed the example, but it did not adjust the context in the translations. From that point on the context didn't match anymore and the entire example stopped working. Change-Id: I491d518235aea07768b69c52d13b2bbf5060f61f Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples/qml')
-rw-r--r--examples/qml/qml-i18n/i18n/qml_en_AU.ts4
-rw-r--r--examples/qml/qml-i18n/i18n/qml_fr.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/qml/qml-i18n/i18n/qml_en_AU.ts b/examples/qml/qml-i18n/i18n/qml_en_AU.ts
index e991affe7f..047817d006 100644
--- a/examples/qml/qml-i18n/i18n/qml_en_AU.ts
+++ b/examples/qml/qml-i18n/i18n/qml_en_AU.ts
@@ -2,9 +2,9 @@
<!DOCTYPE TS>
<TS version="2.0" language="en_AU" 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>G&apos;day</translation>
</message>
diff --git a/examples/qml/qml-i18n/i18n/qml_fr.ts b/examples/qml/qml-i18n/i18n/qml_fr.ts
index 1784914f42..41ca3a9194 100644
--- a/examples/qml/qml-i18n/i18n/qml_fr.ts
+++ b/examples/qml/qml-i18n/i18n/qml_fr.ts
@@ -2,9 +2,9 @@
<!DOCTYPE TS>
<TS version="2.0" language="fr" sourcelanguage="en">
<context>
- <name>i18n</name>
+ <name>qml-i18n</name>
<message>
- <location filename="../qml-i18n.qml" line="30"/>
+ <location filename="../qml-i18n.qml" line="56"/>
<source>Hello</source>
<translation>Bonjour</translation>
</message>