FIX: You can't cache the files here, plugin translations won't work
This commit is contained in:
parent
c3051b89c0
commit
dc15e48334
|
@ -1,7 +1,7 @@
|
|||
module JsLocaleHelper
|
||||
|
||||
def self.plugin_client_files(locale_str)
|
||||
@plugin_client_fileds ||= Dir["#{Rails.root}/plugins/*/config/locales/client.#{locale_str}.yml"]
|
||||
Dir["#{Rails.root}/plugins/*/config/locales/client.#{locale_str}.yml"]
|
||||
end
|
||||
|
||||
def self.reloadable_plugins(locale, ctx)
|
||||
|
|
Loading…
Reference in New Issue