use deep merge. since we now have nested js, we need to do the merge recursively; fixes #2660
This commit is contained in:
parent
b10eb9e56a
commit
0b6c5421c3
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ module ApplicationHelper
|
|||
|
||||
if language != DEFAULT_LANGUAGE
|
||||
translations = I18n.t('javascripts', :locale => language)
|
||||
defaults.update(translations)
|
||||
defaults.deep_merge!(translations)
|
||||
end
|
||||
|
||||
defaults
|
||||
|
|
|
|||
Loading…
Reference in a new issue