Browse Source

Fixes #5442 - Translation - Admin / "System Report" - missing translation and bad renderer.

Dusan Vuckovic 3 months ago
parent
commit
92e1e8cf08
2 changed files with 6 additions and 2 deletions
  1. 2 2
      app/assets/javascripts/app/views/system_report.jst.eco
  2. 4 0
      i18n/zammad.pot

+ 2 - 2
app/assets/javascripts/app/views/system_report.jst.eco

@@ -10,11 +10,11 @@
   </p>
   <h2><%- @T('Contents') %></h2>
   <p>
-    The following contents are provided in the system report:
+    <%- @T('The following contents are provided in the system report:') %>
   </p>
   <ul>
   <% for description in @descriptions.map((desc) => @T(desc)).sort(): %>
-    <li><%= description %></li>
+    <li><%- description %></li>
   <% end %>
   </ul>
   <h2><%- @T('Preview') %> <a href="<%= @C('http_type') %>://<%= @C('fqdn') %>/api/v1/system_report/download" class="btn btn--action" data-type="attachment" download><%- @Icon('download') %><span><%- @T('Download') %></span></a></h2>

+ 4 - 0
i18n/zammad.pot

@@ -14213,6 +14213,10 @@ msgstr ""
 msgid "The following changes will be made:"
 msgstr ""
 
+#: app/assets/javascripts/app/views/system_report.jst.eco:13
+msgid "The following contents are provided in the system report:"
+msgstr ""
+
 #: app/assets/javascripts/app/controllers/_application_controller/_modal.coffee:196
 msgid "The form content has been changed. Do you want to close it and lose your changes?"
 msgstr ""