FIX: Overriding _MF texts didn't work for en_US
This commit is contained in:
parent
2305a6fffe
commit
aecadcb267
|
@ -185,6 +185,8 @@ module JsLocaleHelper
|
|||
end
|
||||
|
||||
def self.find_locale(locale_chain, path, type, fallback_to_english:)
|
||||
locale_chain.map!(&:to_s)
|
||||
|
||||
locale_chain.each do |locale|
|
||||
plugin_locale = DiscoursePluginRegistry.locales[locale]
|
||||
return plugin_locale[type] if plugin_locale&.has_key?(type)
|
||||
|
|
Loading…
Reference in New Issue