Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Add missing locales (mastodon#15138)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts authored Nov 10, 2020
1 parent cc7f85f commit 5206ede
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/helpers/settings_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module SettingsHelper
kk: 'Қазақша',
kn: 'ಕನ್ನಡ',
ko: '한국어',
ku: 'سۆرانی',
lt: 'Lietuvių',
lv: 'Latviešu',
mk: 'Македонски',
Expand All @@ -56,6 +57,8 @@ module SettingsHelper
pt: 'Português',
ro: 'Română',
ru: 'Русский',
sa: 'संस्कृतम्',
sc: 'Sardu',
sk: 'Slovenčina',
sl: 'Slovenščina',
sq: 'Shqip',
Expand All @@ -69,6 +72,7 @@ module SettingsHelper
uk: 'Українська',
ur: 'اُردُو',
vi: 'Tiếng Việt',
zgh: 'ⵜⴰⵎⴰⵣⵉⵖⵜ',
'zh-CN': '简体中文',
'zh-HK': '繁體中文(香港)',
'zh-TW': '繁體中文(臺灣)',
Expand Down
4 changes: 4 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class Application < Rails::Application
:kk,
:kn,
:ko,
:ku,
:lt,
:lv,
:mk,
Expand All @@ -100,6 +101,8 @@ class Application < Rails::Application
:'pt-PT',
:ro,
:ru,
:sa,
:sc,
:sk,
:sl,
:sq,
Expand All @@ -113,6 +116,7 @@ class Application < Rails::Application
:uk,
:ur,
:vi,
:zgh,
:'zh-CN',
:'zh-HK',
:'zh-TW',
Expand Down

0 comments on commit 5206ede

Please sign in to comment.