From dc15e48334411500a042098830c7fe1cf1fa8625 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 9 Aug 2017 17:28:11 -0400 Subject: [PATCH] FIX: You can't cache the files here, plugin translations won't work --- lib/js_locale_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)