From 5a959ca4e4480df3e52e5061d2a9fd3f7da67727 Mon Sep 17 00:00:00 2001 From: Robin Ward <robin.ward@gmail.com> Date: Mon, 27 Nov 2017 11:57:06 -0500 Subject: [PATCH] FIX: We also need a base key for `admin_js` --- lib/js_locale_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/js_locale_helper.rb b/lib/js_locale_helper.rb index 99bd3755e16..4d1b15e8a5a 100644 --- a/lib/js_locale_helper.rb +++ b/lib/js_locale_helper.rb @@ -46,7 +46,8 @@ module JsLocaleHelper # so let's start with a basic object we can merge into translations = { locale_str => { - 'js' => {} + 'js' => {}, + 'admin_js' => {} } } end