mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 08:15:37 +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_hi.ts \
|
||||||
languages/qml_it.ts \
|
languages/qml_it.ts \
|
||||||
languages/qml_pt.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
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
||||||
QML_IMPORT_PATH =
|
QML_IMPORT_PATH =
|
||||||
|
@ -871,6 +871,14 @@ Flickable {
|
|||||||
text: "हिन्दी, हिंदी" // Hindi
|
text: "हिन्दी, हिंदी" // Hindi
|
||||||
val: StreamingPreferences.LANG_HI
|
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 must be used, as it only listens for when the index is changed by a human
|
||||||
onActivated : {
|
onActivated : {
|
||||||
|
@ -57,6 +57,10 @@
|
|||||||
<file>languages/qml_it.qm</file>
|
<file>languages/qml_it.qm</file>
|
||||||
<file>languages/qml_pt.ts</file>
|
<file>languages/qml_pt.ts</file>
|
||||||
<file>languages/qml_pt.qm</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 -->
|
<!-- Don't include pt_BR until it is more complete -->
|
||||||
<!--file>languages/qml_pt_BR.qm</file-->
|
<!--file>languages/qml_pt_BR.qm</file-->
|
||||||
<!--file>languages/qml_pt_BR.ts</file-->
|
<!--file>languages/qml_pt_BR.ts</file-->
|
||||||
|
@ -227,6 +227,10 @@ QString StreamingPreferences::getSuffixFromLanguage(StreamingPreferences::Langua
|
|||||||
return "it";
|
return "it";
|
||||||
case LANG_HI:
|
case LANG_HI:
|
||||||
return "hi";
|
return "hi";
|
||||||
|
case LANG_PL:
|
||||||
|
return "pl";
|
||||||
|
case LANG_CS:
|
||||||
|
return "cs";
|
||||||
case LANG_AUTO:
|
case LANG_AUTO:
|
||||||
default:
|
default:
|
||||||
return QLocale::system().name();
|
return QLocale::system().name();
|
||||||
|
@ -88,6 +88,8 @@ public:
|
|||||||
LANG_EL,
|
LANG_EL,
|
||||||
LANG_IT,
|
LANG_IT,
|
||||||
LANG_HI,
|
LANG_HI,
|
||||||
|
LANG_PL,
|
||||||
|
LANG_CS,
|
||||||
};
|
};
|
||||||
Q_ENUM(Language);
|
Q_ENUM(Language);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user