From db27e6a645d0933a3df4566727c45aad182f3993 Mon Sep 17 00:00:00 2001 From: Andrew Senetar Date: Mon, 24 Jan 2022 21:02:57 -0600 Subject: [PATCH] Add Malay to language selection --- hscommon/trans.py | 1 + qt/preferences_dialog.py | 1 + qtlib/preferences.py | 1 + 3 files changed, 3 insertions(+) diff --git a/hscommon/trans.py b/hscommon/trans.py index 77bea31b..c94ba9e8 100644 --- a/hscommon/trans.py +++ b/hscommon/trans.py @@ -58,6 +58,7 @@ def get_locale_name(lang): "it": "it_IT", "ja": "ja_JP", "ko": "ko_KR", + "ms": "ms_MY", "nl": "nl_NL", "pl_PL": "pl_PL", "pt_BR": "pt_BR", diff --git a/qt/preferences_dialog.py b/qt/preferences_dialog.py index f83abdf3..3463ad51 100644 --- a/qt/preferences_dialog.py +++ b/qt/preferences_dialog.py @@ -52,6 +52,7 @@ SUPPORTED_LANGUAGES = [ "it", "ja", "ko", + "ms", "nl", "pl_PL", "pt_BR", diff --git a/qtlib/preferences.py b/qtlib/preferences.py index fece4b9a..0ef139a4 100644 --- a/qtlib/preferences.py +++ b/qtlib/preferences.py @@ -31,6 +31,7 @@ def get_langnames(): "it": tr("Italian"), "ja": tr("Japanese"), "ko": tr("Korean"), + "ms": tr("Malay"), "nl": tr("Dutch"), "pl_PL": tr("Polish"), "pt_BR": tr("Brazilian"),