mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Add Central Kurdish language (disabled until it's completed)
This commit is contained in:
parent
6bd964a094
commit
cb850f013a
@ -460,7 +460,8 @@ TRANSLATIONS += \
|
||||
languages/qml_pt_BR.ts \
|
||||
languages/qml_pl.ts \
|
||||
languages/qml_cs.ts \
|
||||
languages/qml_he.ts
|
||||
languages/qml_he.ts \
|
||||
languages/qml_ckb.ts
|
||||
|
||||
# Additional import path used to resolve QML modules in Qt Creator's code model
|
||||
QML_IMPORT_PATH =
|
||||
|
@ -1052,6 +1052,10 @@ Flickable {
|
||||
text: "עִבְרִית" // Hebrew
|
||||
val: StreamingPreferences.LANG_HE
|
||||
} */
|
||||
/* ListElement {
|
||||
text: "کرمانجیی خواروو" // Central Kurdish
|
||||
val: StreamingPreferences.LANG_CKB
|
||||
} */
|
||||
}
|
||||
// ::onActivated must be used, as it only listens for when the index is changed by a human
|
||||
onActivated : {
|
||||
|
@ -64,6 +64,8 @@
|
||||
<file>languages/qml_cs.qm</file>
|
||||
<file>languages/qml_he.ts</file>
|
||||
<file>languages/qml_he.qm</file>
|
||||
<file>languages/qml_ckb.ts</file>
|
||||
<file>languages/qml_ckb.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-->
|
||||
|
@ -287,6 +287,8 @@ QString StreamingPreferences::getSuffixFromLanguage(StreamingPreferences::Langua
|
||||
return "cs";
|
||||
case LANG_HE:
|
||||
return "he";
|
||||
case LANG_CKB:
|
||||
return "ckb";
|
||||
case LANG_AUTO:
|
||||
default:
|
||||
return QLocale::system().name();
|
||||
|
@ -91,6 +91,7 @@ public:
|
||||
LANG_PL,
|
||||
LANG_CS,
|
||||
LANG_HE,
|
||||
LANG_CKB,
|
||||
};
|
||||
Q_ENUM(Language);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user