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 ca5997031..e751631ed 100644 --- a/app/assets/javascripts/app/lib/app_post/i18n.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/i18n.js.coffee @@ -135,7 +135,7 @@ class _i18nSingleton extends Spine.Module translateContent: ( string, args... ) => translated = App.Utils.htmlEscape( @translate( string, args... ) ) # replace = '' + translated + '' - if App.Config.get( 'Translation' ) + if App.Config.get( 'translation_inline' ) replace = '' + translated + '' # if !@_translated # replace += 'XX' @@ -164,6 +164,8 @@ class _i18nSingleton extends Spine.Module else @_translated = false translated = string + if App.Config.get('developer_mode') + @log 'notice', "translation for '#{string}' in '#{@locale}' is missing" # search %s for arg in args diff --git a/app/assets/javascripts/app/views/generic/attachment.jst.eco b/app/assets/javascripts/app/views/generic/attachment.jst.eco index 579496696..127b626cc 100644 --- a/app/assets/javascripts/app/views/generic/attachment.jst.eco +++ b/app/assets/javascripts/app/views/generic/attachment.jst.eco @@ -9,7 +9,7 @@
- <%- @T(' Uploading ') %> (0%) ... + <%- @T('Uploading') %> (0%) ...
<%- @T('Cancel Upload') %> diff --git a/app/assets/javascripts/app/views/generic/date.jst.eco b/app/assets/javascripts/app/views/generic/date.jst.eco index 014edc103..fe42d59ef 100644 --- a/app/assets/javascripts/app/views/generic/date.jst.eco +++ b/app/assets/javascripts/app/views/generic/date.jst.eco @@ -8,7 +8,7 @@
<%- @T('today') %> | -<%- @T('-1') %> <%- @T('+1') %> <%- @T('day') %> +-1 +1 <%- @T('day') %> | -<%- @T('-7') %> <%- @T('+7') %> <%- @T('days') %> +-7 +7 <%- @T('days') %>
\ No newline at end of file diff --git a/app/assets/javascripts/app/views/generic/datetime.jst.eco b/app/assets/javascripts/app/views/generic/datetime.jst.eco index 6c024d5db..15b2a5e84 100644 --- a/app/assets/javascripts/app/views/generic/datetime.jst.eco +++ b/app/assets/javascripts/app/views/generic/datetime.jst.eco @@ -11,9 +11,9 @@
<%- @T('now') %> | -<%- @T('-1') %> <%- @T('+1') %> <%- @T('hour') %> +-1 +1 <%- @T('hour') %> | -<%- @T('-1') %> <%- @T('+1') %> <%- @T('day') %> +-1 +1 <%- @T('day') %> | -<%- @T('-7') %> <%- @T('+7') %> <%- @T('days') %> +-7 +7 <%- @T('days') %>
\ No newline at end of file diff --git a/app/assets/javascripts/app/views/layout_ref/communication_reply.jst.eco b/app/assets/javascripts/app/views/layout_ref/communication_reply.jst.eco index 1ee64bb05..79a7768c3 100644 --- a/app/assets/javascripts/app/views/layout_ref/communication_reply.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/communication_reply.jst.eco @@ -42,7 +42,7 @@
- <%- @T(' Uploading ') %> (0%) ... + <%- @T('Uploading') %> (0%) ...
<%- @T('Cancel Upload') %> diff --git a/app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco index 7f7c4bccd..ff2b524f6 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/article_new.jst.eco @@ -65,7 +65,7 @@
- <%- @T(' Uploading ') %> (0%) ... + <%- @T('Uploading') %> (0%) ...
<%- @T('Cancel Upload') %>