Add Estonian translation

This commit is contained in:
Cameron Gutman 2024-08-29 01:35:07 -05:00
parent 1840c47751
commit e404722e7c
5 changed files with 11 additions and 1 deletions

View File

@ -472,7 +472,8 @@ TRANSLATIONS += \
languages/qml_cs.ts \
languages/qml_he.ts \
languages/qml_ckb.ts \
languages/qml_lt.ts
languages/qml_lt.ts \
languages/qml_et.ts
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

View File

@ -1108,6 +1108,10 @@ Flickable {
text: "Lietuvių kalba" // Lithuanian
val: StreamingPreferences.LANG_LT
} */
/* ListElement {
text: "Eesti" // Estonian
val: StreamingPreferences.LANG_ET
} */
}
// ::onActivated must be used, as it only listens for when the index is changed by a human
onActivated : {

View File

@ -68,6 +68,8 @@
<file>languages/qml_ckb.qm</file>
<file>languages/qml_lt.ts</file>
<file>languages/qml_lt.qm</file>
<file>languages/qml_et.ts</file>
<file>languages/qml_et.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-->

View File

@ -295,6 +295,8 @@ QString StreamingPreferences::getSuffixFromLanguage(StreamingPreferences::Langua
return "ckb";
case LANG_LT:
return "lt";
case LANG_ET:
return "et";
case LANG_AUTO:
default:
return QLocale::system().name();

View File

@ -93,6 +93,7 @@ public:
LANG_HE,
LANG_CKB,
LANG_LT,
LANG_ET,
};
Q_ENUM(Language);