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 0c0a71c..59a6273 100644 Binary files a/ts/2048-qt_ru_RU.qm and b/ts/2048-qt_ru_RU.qm differ 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 d00e217..0b89ae3 100644 Binary files a/ts/2048-qt_zh_CN.qm and b/ts/2048-qt_zh_CN.qm differ diff --git a/ts/2048-qt_zh_CN.ts b/ts/2048-qt_zh_CN.ts index d305805..d03782c 100644 --- a/ts/2048-qt_zh_CN.ts +++ b/ts/2048-qt_zh_CN.ts @@ -60,19 +60,16 @@ 语言 - English - 英语 + 英语 - Simplified Chinese - 简体中文 + 简体中文 - Russian - 俄语 + 俄语