aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/qml-i18n/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qml/qml-i18n/i18n')
-rw-r--r--examples/qml/qml-i18n/i18n/base.ts12
-rw-r--r--examples/qml/qml-i18n/i18n/qml_en_AU.ts12
-rw-r--r--examples/qml/qml-i18n/i18n/qml_fr.ts12
3 files changed, 36 insertions, 0 deletions
diff --git a/examples/qml/qml-i18n/i18n/base.ts b/examples/qml/qml-i18n/i18n/base.ts
new file mode 100644
index 0000000000..07e00f3ad2
--- /dev/null
+++ b/examples/qml/qml-i18n/i18n/base.ts
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" sourcelanguage="en">
+<context>
+ <name>qml-i18n</name>
+ <message>
+ <location filename="../qml-i18n.qml" line="56"/>
+ <source>Hello</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>
diff --git a/examples/qml/qml-i18n/i18n/qml_en_AU.ts b/examples/qml/qml-i18n/i18n/qml_en_AU.ts
new file mode 100644
index 0000000000..e991affe7f
--- /dev/null
+++ b/examples/qml/qml-i18n/i18n/qml_en_AU.ts
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="en_AU" sourcelanguage="en">
+<context>
+ <name>i18n</name>
+ <message>
+ <location filename="../i18n.qml" line="30"/>
+ <source>Hello</source>
+ <translation>G&apos;day</translation>
+ </message>
+</context>
+</TS>
diff --git a/examples/qml/qml-i18n/i18n/qml_fr.ts b/examples/qml/qml-i18n/i18n/qml_fr.ts
new file mode 100644
index 0000000000..1784914f42
--- /dev/null
+++ b/examples/qml/qml-i18n/i18n/qml_fr.ts
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="fr" sourcelanguage="en">
+<context>
+ <name>i18n</name>
+ <message>
+ <location filename="../qml-i18n.qml" line="30"/>
+ <source>Hello</source>
+ <translation>Bonjour</translation>
+ </message>
+</context>
+</TS>