mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 01:58:05 +08:00
FIX: Server didn't use default_locale as fallback locale
This commit is contained in:
@ -25,7 +25,7 @@ module I18n
|
||||
end
|
||||
|
||||
def fallbacks(locale)
|
||||
[locale, SiteSetting.default_locale.to_sym, :en].uniq.compact
|
||||
I18n.fallbacks[locale]
|
||||
end
|
||||
|
||||
def exists?(locale, key)
|
||||
|
Reference in New Issue
Block a user