mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Integrate Czech and Polish translations
This commit is contained in:
parent
4e8618c512
commit
092c0a7392
@ -370,7 +370,9 @@ TRANSLATIONS += \
|
||||
languages/qml_hi.ts \
|
||||
languages/qml_it.ts \
|
||||
languages/qml_pt.ts \
|
||||
languages/qml_pt_BR.ts
|
||||
languages/qml_pt_BR.ts \
|
||||
languages/qml_pl.ts \
|
||||
languages/qml_cs.ts
|
||||
|
||||
# Additional import path used to resolve QML modules in Qt Creator's code model
|
||||
QML_IMPORT_PATH =
|
||||
|
@ -871,6 +871,14 @@ Flickable {
|
||||
text: "हिन्दी, हिंदी" // Hindi
|
||||
val: StreamingPreferences.LANG_HI
|
||||
} */
|
||||
ListElement {
|
||||
text: "Język polski" // Polish
|
||||
val: StreamingPreferences.LANG_PL
|
||||
}
|
||||
ListElement {
|
||||
text: "Čeština" // Czech
|
||||
val: StreamingPreferences.LANG_CS
|
||||
}
|
||||
}
|
||||
// ::onActivated must be used, as it only listens for when the index is changed by a human
|
||||
onActivated : {
|
||||
|
@ -57,6 +57,10 @@
|
||||
<file>languages/qml_it.qm</file>
|
||||
<file>languages/qml_pt.ts</file>
|
||||
<file>languages/qml_pt.qm</file>
|
||||
<file>languages/qml_pl.ts</file>
|
||||
<file>languages/qml_pl.qm</file>
|
||||
<file>languages/qml_cs.ts</file>
|
||||
<file>languages/qml_cs.qm</file>
|
||||
<!-- Don't include pt_BR until it is more complete -->
|
||||
<!--file>languages/qml_pt_BR.qm</file-->
|
||||
<!--file>languages/qml_pt_BR.ts</file-->
|
||||
|
@ -227,6 +227,10 @@ QString StreamingPreferences::getSuffixFromLanguage(StreamingPreferences::Langua
|
||||
return "it";
|
||||
case LANG_HI:
|
||||
return "hi";
|
||||
case LANG_PL:
|
||||
return "pl";
|
||||
case LANG_CS:
|
||||
return "cs";
|
||||
case LANG_AUTO:
|
||||
default:
|
||||
return QLocale::system().name();
|
||||
|
@ -88,6 +88,8 @@ public:
|
||||
LANG_EL,
|
||||
LANG_IT,
|
||||
LANG_HI,
|
||||
LANG_PL,
|
||||
LANG_CS,
|
||||
};
|
||||
Q_ENUM(Language);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user