diff options
Diffstat (limited to 'tests/ECMPoQmToolsTest')
-rw-r--r-- | tests/ECMPoQmToolsTest/check.cmake.in | 6 | ||||
-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" |