From d792c0a1d77a80489178398552f1d1d0b54141e5 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 23 Dec 2015 16:39:56 -0500 Subject: [PATCH] Should not be active in dev mode --- lib/js_locale_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/js_locale_helper.rb b/lib/js_locale_helper.rb index 42c303cf4..2691880e2 100644 --- a/lib/js_locale_helper.rb +++ b/lib/js_locale_helper.rb @@ -81,9 +81,9 @@ module JsLocaleHelper site_locale = SiteSetting.default_locale.to_sym - # if Rails.env.development? - # translations = load_translations(locale_sym, force: true) - # else + if Rails.env.development? + translations = load_translations(locale_sym, force: true) + else if locale_sym == :en translations = load_translations(locale_sym) elsif locale_sym == site_locale || site_locale == :en