diff --git a/lib/js_locale_helper.rb b/lib/js_locale_helper.rb index 43a572c43da..7444e393874 100644 --- a/lib/js_locale_helper.rb +++ b/lib/js_locale_helper.rb @@ -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)