diff --git a/app/assets/javascripts/app/controllers/data_privacy.coffee b/app/assets/javascripts/app/controllers/data_privacy.coffee index 3976f3db7..d1af6649c 100644 --- a/app/assets/javascripts/app/controllers/data_privacy.coffee +++ b/app/assets/javascripts/app/controllers/data_privacy.coffee @@ -68,7 +68,7 @@ class Index extends App.ControllerSubContent ) # show description button, only if content exists - description = marked(App.DataPrivacyTask.description) + description = marked(App.i18n.translateContent(App.DataPrivacyTask.description)) @html App.view('data_privacy/index')( taskCount: ( runningTasks.length + failedTasks.length + completedTasks.length ) diff --git a/app/assets/javascripts/app/views/data_privacy/tasks.jst.eco b/app/assets/javascripts/app/views/data_privacy/tasks.jst.eco index c55830b98..7158d0667 100644 --- a/app/assets/javascripts/app/views/data_privacy/tasks.jst.eco +++ b/app/assets/javascripts/app/views/data_privacy/tasks.jst.eco @@ -21,7 +21,7 @@ <%- @humanTime(task.created_at) %>

<%- @T('State') %>
- <% if task.state: %><%= task.state %><% else: %><%- @T('in process') %><% end %> + <% if task.state: %><%= @T(task.state) %><% else: %><%- @T('in process') %><% end %> <% if task.preferences.error: %> (<%= task.preferences.error %>)<% end %>