From 835787ee697c64a60b0ff1397dd8a48bd0d3ca27 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Wed, 14 Oct 2020 17:05:39 +0200 Subject: [PATCH] Maintenance: Fixed not translated strings in data privacy admin area. --- app/assets/javascripts/app/controllers/data_privacy.coffee | 2 +- app/assets/javascripts/app/views/data_privacy/tasks.jst.eco | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %>