about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2020-11-10 22:44:17 +0900
committerGitHub <noreply@github.com>2020-11-10 14:44:17 +0100
commit5206ede9c9c77a19a0dbcfa630f6594e6f9913b9 (patch)
tree070b02c4dbbe62421fa7801099a26c9d169bf7ab
parentcc7f85f14af9ad8a76d431e078477a59ee13ab74 (diff)
Add missing locales (#15138)
-rw-r--r--app/helpers/settings_helper.rb4
-rw-r--r--config/application.rb4
2 files changed, 8 insertions, 0 deletions
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index 87718dc05..5b39497b6 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -40,6 +40,7 @@ module SettingsHelper
     kk: 'Қазақша',
     kn: 'ಕನ್ನಡ',
     ko: '한국어',
+    ku: 'سۆرانی',
     lt: 'Lietuvių',
     lv: 'Latviešu',
     mk: 'Македонски',
@@ -56,6 +57,8 @@ module SettingsHelper
     pt: 'Português',
     ro: 'Română',
     ru: 'Русский',
+    sa: 'संस्कृतम्',
+    sc: 'Sardu',
     sk: 'Slovenčina',
     sl: 'Slovenščina',
     sq: 'Shqip',
@@ -69,6 +72,7 @@ module SettingsHelper
     uk: 'Українська',
     ur: 'اُردُو',
     vi: 'Tiếng Việt',
+    zgh: 'ⵜⴰⵎⴰⵣⵉⵖⵜ',
     'zh-CN': '简体中文',
     'zh-HK': '繁體中文(香港)',
     'zh-TW': '繁體中文(臺灣)',
diff --git a/config/application.rb b/config/application.rb
index bf467d6c3..de2951487 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -85,6 +85,7 @@ module Mastodon
       :kk,
       :kn,
       :ko,
+      :ku,
       :lt,
       :lv,
       :mk,
@@ -100,6 +101,8 @@ module Mastodon
       :'pt-PT',
       :ro,
       :ru,
+      :sa,
+      :sc,
       :sk,
       :sl,
       :sq,
@@ -113,6 +116,7 @@ module Mastodon
       :uk,
       :ur,
       :vi,
+      :zgh,
       :'zh-CN',
       :'zh-HK',
       :'zh-TW',