Unverified Commit fb45f6d9 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub

Add br, es-AR, et, mk, nn to available locales (#12062)

parent 1681319d
......@@ -2,11 +2,11 @@
module SettingsHelper
HUMAN_LOCALES = {
en: 'English',
ar: 'العربية',
ast: 'Asturianu',
bg: 'Български',
bn: 'বাংলা',
br: 'Breton',
ca: 'Català',
co: 'Corsu',
cs: 'Čeština',
......@@ -14,8 +14,11 @@ module SettingsHelper
da: 'Dansk',
de: 'Deutsch',
el: 'Ελληνικά',
en: 'English',
eo: 'Esperanto',
'es-AR': 'Español (Argentina)',
es: 'Español',
et: 'Eesti',
eu: 'Euskara',
fa: 'فارسی',
fi: 'Suomi',
......@@ -36,32 +39,34 @@ module SettingsHelper
ko: '한국어',
lt: 'Lietuvių',
lv: 'Latviešu',
mk: 'Македонски',
ml: 'മലയാളം',
ms: 'Bahasa Melayu',
nl: 'Nederlands',
nn: 'Nynorsk',
no: 'Norsk',
oc: 'Occitan',
pl: 'Polski',
pt: 'Português',
'pt-PT': 'Português (Portugal)',
'pt-BR': 'Português (Brasil)',
'pt-PT': 'Português (Portugal)',
pt: 'Português',
ro: 'Română',
ru: 'Русский',
sk: 'Slovenčina',
sl: 'Slovenščina',
sq: 'Shqip',
sr: 'Српски',
'sr-Latn': 'Srpski (latinica)',
sr: 'Српски',
sv: 'Svenska',
ta: 'தமிழ்',
te: 'తెలుగు',
th: 'ไทย',
tr: 'Türkçe',
uk: 'Українська',
zh: '中文',
'zh-CN': '简体中文',
'zh-HK': '繁體中文(香港)',
'zh-TW': '繁體中文(臺灣)',
zh: '中文',
}.freeze
def human_locale(locale)
......
......@@ -39,11 +39,11 @@ module Mastodon
# All translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
config.i18n.available_locales = [
:en,
:ar,
:ast,
:bg,
:bn,
:br,
:ca,
:co,
:cs,
......@@ -51,8 +51,11 @@ module Mastodon
:da,
:de,
:el,
:en,
:eo,
:'es-AR',
:es,
:et,
:eu,
:fa,
:fi,
......@@ -73,20 +76,22 @@ module Mastodon
:ko,
:lt,
:lv,
:mk,
:ms,
:nl,
:nn,
:no,
:oc,
:pl,
:'pt-PT',
:'pt-BR',
:'pt-PT',
:ro,
:ru,
:sk,
:sl,
:sq,
:sr,
:'sr-Latn',
:sr,
:sv,
:ta,
:te,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment