change export model wording [fixes SCI-2239]

This commit is contained in:
zmagod 2018-04-03 11:22:23 +02:00
parent f5f6fa4a4f
commit 3d5137b56f
2 changed files with 6 additions and 2 deletions

View file

@ -12,7 +12,9 @@
<h4 class="modal-title"><%=t 'zip_export.modal_label' %></h4>
</div>
<div class="modal-body">
<%=t('zip_export.repository_html', repository: repository.name) %>
<div><%=t('zip_export.repository_header_html', repository: repository.name) %></div>
<div class="alert alert-info" role="alert"><%=t 'zip_export.files_alert' %></div>
<div><%=t 'zip_export.repository_footer_html' %></div>
</div>
<div class="modal-footer">
<button type='button' class='btn btn-primary' data-dismiss='modal' id='export-repositories'> <%=t 'my_modules.repository.export' %> </button>

View file

@ -1845,7 +1845,9 @@ en:
expired_description: 'Please export the data again in order to receive a new link.'
modal_label: 'Export request received'
modal_html: "<p>Your export request is being processed.</p><p>When completed we will <strong>send an email to %{email}</strong> inbox with a link to your exported samples. Note that the link will expire in 7 days.</p>"
repository_html: '<p>You are about to export selected items in repository %{repository}</p> <br> Repository will be exported in a .csv file format. You will receive <strong>email with a link</strong> where you can download it.'
repository_header_html: 'You are about to export selected items in inventory %{repository}'
files_alert: 'Files uploaded to inventory items will not be exported. Only filenames will be exported.'
repository_footer_html: 'Inventory will be exported in a .csv file format. You will receive <strong>email with a link</strong> where you can download it.'
export_error: "Error when creating zip export."
# This section contains general words that can be used in any parts of