aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos/photoviewer/i18n
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2014-05-12 13:27:24 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-21 11:57:21 +0200
commit7ccdf8d11675e963b70b565e421309e09c019343 (patch)
tree8eb30ea495f148b7047f0f4bca94d73905719be4 /examples/quick/demos/photoviewer/i18n
parent3ed6361bbaa711c9f3441704659ccb971751b44e (diff)
Make a pro file based project out of the photoviewer example
Having a .pro file project is necessary to be able to deploy to Android. Further patches for Android support will be needed, but this is the base. Task-number: QTBUG-38122 Change-Id: I878ec1df50d7375ae9153f8a34f763b5678d7774 Reviewed-by: Mika Salmela <mika.salmela@digia.com> Reviewed-by: Sami Makkonen <sami.makkonen@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'examples/quick/demos/photoviewer/i18n')
-rw-r--r--examples/quick/demos/photoviewer/i18n/base.ts30
-rw-r--r--examples/quick/demos/photoviewer/i18n/qml_de.qmbin0 -> 310 bytes
-rw-r--r--examples/quick/demos/photoviewer/i18n/qml_de.ts35
-rw-r--r--examples/quick/demos/photoviewer/i18n/qml_fr.qmbin268 -> 247 bytes
-rw-r--r--examples/quick/demos/photoviewer/i18n/qml_fr.ts17
5 files changed, 46 insertions, 36 deletions
diff --git a/examples/quick/demos/photoviewer/i18n/base.ts b/examples/quick/demos/photoviewer/i18n/base.ts
deleted file mode 100644
index 1accfd2f90..0000000000
--- a/examples/quick/demos/photoviewer/i18n/base.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
- <name>AlbumDelegate</name>
- <message>
- <location filename="../PhotoViewerCore/AlbumDelegate.qml" line="59"/>
- <source>Remove</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-<context>
- <name>photoviewer</name>
- <message>
- <location filename="../photoviewer.qml" line="30"/>
- <source>Add</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../photoviewer.qml" line="39"/>
- <source>Edit</source>
- <translation type="unfinished"></translation>
- </message>
- <message>
- <location filename="../photoviewer.qml" line="52"/>
- <source>Back</source>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
diff --git a/examples/quick/demos/photoviewer/i18n/qml_de.qm b/examples/quick/demos/photoviewer/i18n/qml_de.qm
new file mode 100644
index 0000000000..8186e7309f
--- /dev/null
+++ b/examples/quick/demos/photoviewer/i18n/qml_de.qm
Binary files differ
diff --git a/examples/quick/demos/photoviewer/i18n/qml_de.ts b/examples/quick/demos/photoviewer/i18n/qml_de.ts
new file mode 100644
index 0000000000..92ab50a136
--- /dev/null
+++ b/examples/quick/demos/photoviewer/i18n/qml_de.ts
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="de_DE">
+<context>
+ <name>AlbumDelegate</name>
+ <message>
+ <location filename="../PhotoViewerCore/AlbumDelegate.qml" line="102"/>
+ <source>Remove</source>
+ <translation>Entfernen</translation>
+ </message>
+</context>
+<context>
+ <name>main</name>
+ <message>
+ <location filename="../main.qml" line="75"/>
+ <source>Add</source>
+ <translation>Zufügen</translation>
+ </message>
+ <message>
+ <location filename="../main.qml" line="84"/>
+ <source>Edit</source>
+ <translation>Bearbeiten</translation>
+ </message>
+ <message>
+ <location filename="../main.qml" line="89"/>
+ <source>Quit</source>
+ <translation>Verlassen</translation>
+ </message>
+ <message>
+ <location filename="../main.qml" line="102"/>
+ <source>Back</source>
+ <translation>Zurück</translation>
+ </message>
+</context>
+</TS>
diff --git a/examples/quick/demos/photoviewer/i18n/qml_fr.qm b/examples/quick/demos/photoviewer/i18n/qml_fr.qm
index c24fcbc46c..e4257d4073 100644
--- a/examples/quick/demos/photoviewer/i18n/qml_fr.qm
+++ b/examples/quick/demos/photoviewer/i18n/qml_fr.qm
Binary files differ
diff --git a/examples/quick/demos/photoviewer/i18n/qml_fr.ts b/examples/quick/demos/photoviewer/i18n/qml_fr.ts
index 9f892db616..1edb5e0fe4 100644
--- a/examples/quick/demos/photoviewer/i18n/qml_fr.ts
+++ b/examples/quick/demos/photoviewer/i18n/qml_fr.ts
@@ -1,28 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
-<TS version="2.0" language="fr_FR">
+<TS version="2.1" language="fr_FR">
<context>
<name>AlbumDelegate</name>
<message>
- <location filename="../PhotoViewerCore/AlbumDelegate.qml" line="59"/>
+ <location filename="../PhotoViewerCore/AlbumDelegate.qml" line="102"/>
<source>Remove</source>
<translation>Supprimer</translation>
</message>
</context>
<context>
- <name>photoviewer</name>
+ <name>main</name>
<message>
- <location filename="../photoviewer.qml" line="30"/>
+ <location filename="../main.qml" line="75"/>
<source>Add</source>
<translation>Ajouter</translation>
</message>
<message>
- <location filename="../photoviewer.qml" line="39"/>
+ <location filename="../main.qml" line="84"/>
<source>Edit</source>
<translation>Éditer</translation>
</message>
<message>
- <location filename="../photoviewer.qml" line="52"/>
+ <location filename="../main.qml" line="89"/>
+ <source>Quit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="../main.qml" line="102"/>
<source>Back</source>
<translation>Retour</translation>
</message>