aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2015-11-03 17:13:00 +0000
committerAlex Merry <alex.merry@kde.org>2015-11-03 17:15:16 +0000
commit0496f8ae020c497b5f65234063150781d023f8ba (patch)
tree454a00231ab2f900da655a8e8d65123febe888e2 /tests
parent634a0a2d3d7ba1bec2bae846acf0faf6184f4c71 (diff)
downloadextra-cmake-modules-0496f8ae020c497b5f65234063150781d023f8ba.tar.gz
extra-cmake-modules-0496f8ae020c497b5f65234063150781d023f8ba.tar.bz2
Change ecm_create_po_loader test language to German.
This is easier to distinguish from "english" in the test output than "british english".
Diffstat (limited to 'tests')
-rw-r--r--tests/ECMPoQmToolsTest/check.cmake.in6
-rw-r--r--tests/ECMPoQmToolsTest/tr_test-po/de/catalog.po (renamed from tests/ECMPoQmToolsTest/tr_test-po/en_GB/catalog.po)8
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/ECMPoQmToolsTest/check.cmake.in b/tests/ECMPoQmToolsTest/check.cmake.in
index 2f0cc205..8089db6e 100644
--- a/tests/ECMPoQmToolsTest/check.cmake.in
+++ b/tests/ECMPoQmToolsTest/check.cmake.in
@@ -23,7 +23,7 @@ set(exp_files
"share/locale/es/LC_MESSAGES/install-test.qm"
"share/locale/fr/LC_MESSAGES/install-test.qm"
"share/locale/en/LC_MESSAGES/catalog.qm"
- "share/locale/en_GB/LC_MESSAGES/catalog.qm"
+ "share/locale/de/LC_MESSAGES/catalog.qm"
"custom-dir1/es/LC_MESSAGES/custom-dir1-install-test.qm"
"custom-dir1/fr/LC_MESSAGES/custom-dir1-install-test.qm"
"custom-dir2/es/LC_MESSAGES/custom-dir2-install-test.qm"
@@ -55,11 +55,11 @@ endif()
# we know we can modify the executable environment on Linux
if("@CMAKE_SYSTEM_NAME@" STREQUAL "Linux")
set(exp_output_en "english text:english plural form 5")
- set(exp_output_en_GB "british english text:british english plural form 5")
+ set(exp_output_de "german text:german plural form 5")
# no french translation provided -> english fallback
set(exp_output_fr "${exp_output_en}")
foreach(exec TR_TEST TR_THREAD_TEST)
- foreach(lang en en_GB fr)
+ foreach(lang en de fr)
execute_process(
COMMAND "${CMAKE_COMMAND}" -E env "XDG_DATA_DIRS=${ACTUAL_TREE}/share"
LC_ALL=${lang} "${${exec}_EXEC}"
diff --git a/tests/ECMPoQmToolsTest/tr_test-po/en_GB/catalog.po b/tests/ECMPoQmToolsTest/tr_test-po/de/catalog.po
index ec5ad857..6f3e328f 100644
--- a/tests/ECMPoQmToolsTest/tr_test-po/en_GB/catalog.po
+++ b/tests/ECMPoQmToolsTest/tr_test-po/de/catalog.po
@@ -4,13 +4,13 @@ msgstr ""
"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-Language: de\n"
"X-Qt-Contexts: true\n"
#: main.cpp:12
msgctxt "testcontext|"
msgid "test string"
-msgstr "british english text"
+msgstr "german text"
#: main.cpp:13
#, qt-format
@@ -18,5 +18,5 @@ msgstr "british english text"
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"
+msgstr[0] "german singular form %n"
+msgstr[1] "german plural form %n"