Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: README.md Discarded upstream changes to the README, kept our version.
This commit is contained in:
@ -70,12 +70,14 @@ module Mastodon
|
||||
:pl,
|
||||
:pt,
|
||||
:'pt-BR',
|
||||
:ro,
|
||||
:ru,
|
||||
:sk,
|
||||
:sl,
|
||||
:sr,
|
||||
:'sr-Latn',
|
||||
:sv,
|
||||
:ta,
|
||||
:te,
|
||||
:th,
|
||||
:tr,
|
||||
@ -86,6 +88,7 @@ module Mastodon
|
||||
]
|
||||
|
||||
config.i18n.default_locale = ENV['DEFAULT_LOCALE']&.to_sym
|
||||
|
||||
unless config.i18n.available_locales.include?(config.i18n.default_locale)
|
||||
config.i18n.default_locale = :en
|
||||
end
|
||||
|
Reference in New Issue
Block a user