Maintenance: Fixed not translated strings in data privacy admin area.

This commit is contained in:
Rolf Schmidt 2020-10-14 17:05:39 +02:00 committed by Martin Edenhofer
parent 275a97cc4f
commit 835787ee69
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ class Index extends App.ControllerSubContent
) )
# show description button, only if content exists # 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')( @html App.view('data_privacy/index')(
taskCount: ( runningTasks.length + failedTasks.length + completedTasks.length ) taskCount: ( runningTasks.length + failedTasks.length + completedTasks.length )

View file

@ -21,7 +21,7 @@
<%- @humanTime(task.created_at) %> <%- @humanTime(task.created_at) %>
<br><br> <br><br>
<div class="label"><%- @T('State') %></div> <div class="label"><%- @T('State') %></div>
<% 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 %> <% if task.preferences.error: %> (<%= task.preferences.error %>)<% end %>
</div> </div>
<div class="action-block action-block--flex"> <div class="action-block action-block--flex">