about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-02-11 13:19:06 +0100
committerGitHub <noreply@github.com>2019-02-11 13:19:06 +0100
commitc0a564feaa11c072da9c2be892643db55659ae38 (patch)
tree37c96d429de3b0c5b9fd385dc5e832fcbefe8b7e
parenta3e10f44c6483dd83d3b7e7eeb9176a4338d7925 (diff)
Add available locales for lv, ms, sq (#10008)
-rw-r--r--app/helpers/settings_helper.rb3
-rw-r--r--config/application.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index 0e957e946..7a3ceca78 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -30,7 +30,9 @@ module SettingsHelper
     ja: '日本語',
     ka: 'ქართული',
     ko: '한국어',
+    lv: 'Latviešu valoda',
     ml: 'മലയാളം',
+    ms: 'بهاس ملايو',
     nl: 'Nederlands',
     no: 'Norsk',
     oc: 'Occitan',
@@ -41,6 +43,7 @@ module SettingsHelper
     ru: 'Русский',
     sk: 'Slovenčina',
     sl: 'Slovenščina',
+    sq: 'Shqip',
     sr: 'Српски',
     'sr-Latn': 'Srpski (latinica)',
     sv: 'Svenska',
diff --git a/config/application.rb b/config/application.rb
index b4a39b5c8..ae9ce4897 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -64,6 +64,8 @@ module Mastodon
       :ja,
       :ka,
       :ko,
+      :lv,
+      :ms,
       :nl,
       :no,
       :oc,
@@ -74,6 +76,7 @@ module Mastodon
       :ru,
       :sk,
       :sl,
+      :sq,
       :sr,
       :'sr-Latn',
       :sv,