diff --git a/app/assets/javascripts/app/controllers/translation.js.coffee b/app/assets/javascripts/app/controllers/translation.js.coffee index 309a91d96..237919a9a 100644 --- a/app/assets/javascripts/app/controllers/translation.js.coffee +++ b/app/assets/javascripts/app/controllers/translation.js.coffee @@ -79,8 +79,10 @@ class Index extends App.ControllerContent reset = field.closest('tr').find('.js-Reset') if current isnt initial reset.show() + reset.closest('tr').addClass('warning') else reset.hide() + reset.closest('tr').removeClass('warning') App.Config.set( 'Translation', { prio: 1800, parent: '#system', name: 'Translations', target: '#system/translation', controller: Index, role: ['Admin'] }, 'NavBarAdmin' ) diff --git a/app/assets/javascripts/app/lib/app_post/i18n.js.coffee b/app/assets/javascripts/app/lib/app_post/i18n.js.coffee index e751631ed..ddbc2d5ae 100644 --- a/app/assets/javascripts/app/lib/app_post/i18n.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/i18n.js.coffee @@ -164,7 +164,7 @@ class _i18nSingleton extends Spine.Module else @_translated = false translated = string - if App.Config.get('developer_mode') + if App.Config.get('developer_mode') is true @log 'notice', "translation for '#{string}' in '#{@locale}' is missing" # search %s diff --git a/app/assets/javascripts/app/views/translation.jst.eco b/app/assets/javascripts/app/views/translation.jst.eco index 59077d171..a19a202f3 100644 --- a/app/assets/javascripts/app/views/translation.jst.eco +++ b/app/assets/javascripts/app/views/translation.jst.eco @@ -14,13 +14,13 @@