From caf3ffd4f938146aecc5d7c2812b578b1d425a26 Mon Sep 17 00:00:00 2001 From: Qiaoyong Zhong Date: Tue, 20 May 2014 21:53:18 +0800 Subject: [PATCH] do not translate the language names --- qml/main.qml | 18 +++++++++--------- ts/2048-qt_ru_RU.qm | Bin 1969 -> 1818 bytes ts/2048-qt_ru_RU.ts | 11 ++--------- ts/2048-qt_zh_CN.qm | Bin 1509 -> 1362 bytes ts/2048-qt_zh_CN.ts | 9 +++------ 5 files changed, 14 insertions(+), 24 deletions(-) diff --git a/qml/main.qml b/qml/main.qml index 1bc8631..67e9497 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -90,7 +90,7 @@ ApplicationWindow { Menu { title: qsTr("Language") MenuItem { - text: qsTr("English") + text: "English" checkable: true exclusiveGroup: languageSettingsGroup checked: settings.value("language") === "en_US" ? true : false @@ -102,25 +102,25 @@ ApplicationWindow { } } MenuItem { - text: qsTr("Russian") + text: "简体中文" checkable: true exclusiveGroup: languageSettingsGroup - checked: settings.value("language") === "ru_RU" ? true : false + checked: settings.value("language") === "zh_CN" ? true : false onTriggered: { - if (settings.value("language") !== "ru_RU") { - settings.setValue("language", "ru_RU"); + if (settings.value("language") !== "zh_CN") { + settings.setValue("language", "zh_CN"); changeLanguageDialog.open(); } } } MenuItem { - text: qsTr("Simplified Chinese") + text: "Русский" checkable: true exclusiveGroup: languageSettingsGroup - checked: settings.value("language") === "zh_CN" ? true : false + checked: settings.value("language") === "ru_RU" ? true : false onTriggered: { - if (settings.value("language") !== "zh_CN") { - settings.setValue("language", "zh_CN"); + if (settings.value("language") !== "ru_RU") { + settings.setValue("language", "ru_RU"); changeLanguageDialog.open(); } } diff --git a/ts/2048-qt_ru_RU.qm b/ts/2048-qt_ru_RU.qm index 0c0a71c800045a6ec6aa2574b0062bea233f2d9e..59a6273fd2d486a023f9ee9d22c028927b3e6463 100644 GIT binary patch delta 200 zcmdnUKZ|dI2 z%D}*?$B-U74@kE&EiCy06z^rasqzu1&WpKJ(Fv$;3CrpiTY
*Hz{1_tIJ_8^f$ zApZe-k9Imx-9Ppvk6D5GR5_SZ)&VVb=Gba&fo;t%#&euBiKnwQrOu1YN ol=#52o3R+k58>U`Hyg;`l*z!rrnm7`4CCf1CViI4f7rGH008(i(f|Me delta 325 zcmbQmw~>E>2g#AJf8;FF^5Lrkg4sf$Hj*OBJ1f`fe~c?)?f>x0_}4i>*MuHtXYR z7X}9AHufNqLZCVk_8#qYAm506$zxWaepL>plyyMMOF8^D0ri}2iyez6OCV5}EsHmcC4&N3 ij}wal7X3oOnYjfynQ57+DGJURnR%(jsguLm4g&!5h)EUz diff --git a/ts/2048-qt_ru_RU.ts b/ts/2048-qt_ru_RU.ts index d4b6fa1..5ca6119 100644 --- a/ts/2048-qt_ru_RU.ts +++ b/ts/2048-qt_ru_RU.ts @@ -60,19 +60,12 @@ Язык - English - Английский + Английский - Simplified Chinese - Упрощённый китайский - - - - Russian - + Упрощённый китайский diff --git a/ts/2048-qt_zh_CN.qm b/ts/2048-qt_zh_CN.qm index d00e217926e8260fb720c3ea81c684ddff50c2d1..0b89ae3f35437c1fa12d13ef755592f2ec3e31c1 100644 GIT binary patch delta 204 zcmaFLeTi#=2l67?|d;2ZP p7$w(`05=x5+iEnE**tG*bWo delta 310 zcmcb_^^|*p2JuEMjMu^1?>$Gfd>HqgLdnLy6xjkgpTMVmf$zvTcL z!N3N@?5=s~Ihn;7o8K^QXA<>4f-DtOT3no&m^XO}OQ>g3xj语言 - English - 英语 + 英语 - Simplified Chinese - 简体中文 + 简体中文 - Russian - 俄语 + 俄语