Contributed by Silsha Fux <hallo@silsha.me>

Update "Attached Files" string in knowledge base to use existing translation.
This commit is contained in:
Billy Zhou 2019-06-24 11:32:43 +02:00 committed by Thorsten Eckel
parent 3ed8463e3e
commit 96f6d5e0e5

View file

@ -14,7 +14,7 @@ data-available-locales='<%= @object_locales.map(&:locale).join(',') %>'>
<% if (attachments = @object.attachments_sorted) && attachments.present? %> <% if (attachments = @object.attachments_sorted) && attachments.present? %>
<div class="attachments"> <div class="attachments">
<%= icon 'paperclip' %> <%= icon 'paperclip' %>
<div class="attachments-title"><%= zt('Attached files') %></div> <div class="attachments-title"><%= zt('Attached Files') %></div>
<% attachments.each do |attachment| %> <% attachments.each do |attachment| %>
<%= link_to custom_path_if_needed(attachment_path(attachment)), class: 'attachment', download: true do %> <%= link_to custom_path_if_needed(attachment_path(attachment)), class: 'attachment', download: true do %>
<span class="attachment-name u-highlight"><%= attachment.filename %></span> <span class="attachment-name u-highlight"><%= attachment.filename %></span>