do not translate the language names
This commit is contained in:
parent
7517dfa40b
commit
caf3ffd4f9
28
qml/main.qml
28
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,19 +102,7 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
MenuItem {
|
||||
text: qsTr("Russian")
|
||||
checkable: true
|
||||
exclusiveGroup: languageSettingsGroup
|
||||
checked: settings.value("language") === "ru_RU" ? true : false
|
||||
onTriggered: {
|
||||
if (settings.value("language") !== "ru_RU") {
|
||||
settings.setValue("language", "ru_RU");
|
||||
changeLanguageDialog.open();
|
||||
}
|
||||
}
|
||||
}
|
||||
MenuItem {
|
||||
text: qsTr("Simplified Chinese")
|
||||
text: "简体中文"
|
||||
checkable: true
|
||||
exclusiveGroup: languageSettingsGroup
|
||||
checked: settings.value("language") === "zh_CN" ? true : false
|
||||
@ -125,6 +113,18 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
}
|
||||
MenuItem {
|
||||
text: "Русский"
|
||||
checkable: true
|
||||
exclusiveGroup: languageSettingsGroup
|
||||
checked: settings.value("language") === "ru_RU" ? true : false
|
||||
onTriggered: {
|
||||
if (settings.value("language") !== "ru_RU") {
|
||||
settings.setValue("language", "ru_RU");
|
||||
changeLanguageDialog.open();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Binary file not shown.
@ -60,19 +60,12 @@
|
||||
<translation>Язык</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/main.qml" line="93"/>
|
||||
<source>English</source>
|
||||
<translation>Английский</translation>
|
||||
<translation type="vanished">Английский</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/main.qml" line="105"/>
|
||||
<source>Simplified Chinese</source>
|
||||
<translation>Упрощённый китайский</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/main.qml" line="117"/>
|
||||
<source>Russian</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation type="vanished">Упрощённый китайский</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/main.qml" line="133"/>
|
||||
|
Binary file not shown.
@ -60,19 +60,16 @@
|
||||
<translation>语言</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/main.qml" line="93"/>
|
||||
<source>English</source>
|
||||
<translation>英语</translation>
|
||||
<translation type="vanished">英语</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/main.qml" line="105"/>
|
||||
<source>Simplified Chinese</source>
|
||||
<translation>简体中文</translation>
|
||||
<translation type="vanished">简体中文</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/main.qml" line="117"/>
|
||||
<source>Russian</source>
|
||||
<translation>俄语</translation>
|
||||
<translation type="vanished">俄语</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/main.qml" line="133"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user