aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMPoQmToolsTest/tr_test-po
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2015-10-14 12:18:40 +0100
committerAlex Merry <alex.merry@kde.org>2015-11-03 10:22:34 +0000
commit009c480413910e8c1a18f4d1420f4a517ea606e6 (patch)
treec8a41523992eac3cadcfe18c11b956d84b397c5b /tests/ECMPoQmToolsTest/tr_test-po
parentfb7b8eea7d91772f989d5b060c86df20f2ebdb66 (diff)
downloadextra-cmake-modules-009c480413910e8c1a18f4d1420f4a517ea606e6.tar.gz
extra-cmake-modules-009c480413910e8c1a18f4d1420f4a517ea606e6.tar.bz2
Make sure we load translations on the main thread.
BUG: 346188 REVIEW: 123726
Diffstat (limited to 'tests/ECMPoQmToolsTest/tr_test-po')
-rw-r--r--tests/ECMPoQmToolsTest/tr_test-po/en/catalog.po22
-rw-r--r--tests/ECMPoQmToolsTest/tr_test-po/en_GB/catalog.po22
2 files changed, 44 insertions, 0 deletions
diff --git a/tests/ECMPoQmToolsTest/tr_test-po/en/catalog.po b/tests/ECMPoQmToolsTest/tr_test-po/en/catalog.po
new file mode 100644
index 00000000..2a7b6d28
--- /dev/null
+++ b/tests/ECMPoQmToolsTest/tr_test-po/en/catalog.po
@@ -0,0 +1,22 @@
+msgid ""
+msgstr ""
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Language: en\n"
+"X-Qt-Contexts: true\n"
+
+#: main.cpp:12
+msgctxt "testcontext|"
+msgid "test string"
+msgstr "english text"
+
+#: main.cpp:13
+#, qt-format
+#| msgid "test plural"
+msgctxt "testcontext|"
+msgid "test plural %n"
+msgid_plural "test plural %n"
+msgstr[0] "english singular form %n"
+msgstr[1] "english plural form %n"
diff --git a/tests/ECMPoQmToolsTest/tr_test-po/en_GB/catalog.po b/tests/ECMPoQmToolsTest/tr_test-po/en_GB/catalog.po
new file mode 100644
index 00000000..ec5ad857
--- /dev/null
+++ b/tests/ECMPoQmToolsTest/tr_test-po/en_GB/catalog.po
@@ -0,0 +1,22 @@
+msgid ""
+msgstr ""
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Language: en_GB\n"
+"X-Qt-Contexts: true\n"
+
+#: main.cpp:12
+msgctxt "testcontext|"
+msgid "test string"
+msgstr "british english text"
+
+#: main.cpp:13
+#, qt-format
+#| msgid "test plural"
+msgctxt "testcontext|"
+msgid "test plural %n"
+msgid_plural "test plural %n"
+msgstr[0] "british english singular form %n"
+msgstr[1] "british english plural form %n"