diff --git a/app/assets/javascripts/app/controllers/_ui_element/_application_ui_element.coffee b/app/assets/javascripts/app/controllers/_ui_element/_application_ui_element.coffee index 9c48d193b..4a950bc02 100644 --- a/app/assets/javascripts/app/controllers/_ui_element/_application_ui_element.coffee +++ b/app/assets/javascripts/app/controllers/_ui_element/_application_ui_element.coffee @@ -46,7 +46,7 @@ class App.UiElement.ApplicationUiElement result = [] for row in selection if attribute.translate - row.name = App.i18n.translateInline(row.name) + row.name = App.i18n.translatePlain(row.name) if !_.isEmpty(row.children) row.children = @getConfigOptionListArray(attribute, row.children) result.push row @@ -65,7 +65,7 @@ class App.UiElement.ApplicationUiElement for key in order name_new = selection[key] if attribute.translate - name_new = App.i18n.translateInline(name_new) + name_new = App.i18n.translatePlain(name_new) attribute.options.push { name: name_new value: key @@ -162,7 +162,7 @@ class App.UiElement.ApplicationUiElement nameNew = item.name if attribute.translate - nameNew = App.i18n.translateInline(nameNew) + nameNew = App.i18n.translatePlain(nameNew) row = value: item.id, diff --git a/app/assets/javascripts/app/views/data_privacy/preview.jst.eco b/app/assets/javascripts/app/views/data_privacy/preview.jst.eco index 02856323a..90a19c95d 100644 --- a/app/assets/javascripts/app/views/data_privacy/preview.jst.eco +++ b/app/assets/javascripts/app/views/data_privacy/preview.jst.eco @@ -14,7 +14,7 @@
<%- @T('There is no rollback of this deletion possible. If you are absolutely sure to do this, then type in "%s" into the input.', App.i18n.translateInline('delete').toUpperCase()) %>
+<%- @T('There is no rollback of this deletion possible. If you are absolutely sure to do this, then type in "%s" into the input.', App.i18n.translatePlain('delete').toUpperCase()) %>
<%- @sure_html %>