mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 13:44:23 +08:00
add view label in locales
This commit is contained in:
parent
9812a9f160
commit
66cc76f640
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
<li>
|
||||
<% option_text = t("my_modules.module_archive.option_download") %>
|
||||
<% if result.is_asset %>
|
||||
<%= link_to 'View', download_asset_path(result.asset),
|
||||
<%= link_to t('protocols.index.archive_results.preview'), download_asset_path(result.asset),
|
||||
class: 'file-preview-link',
|
||||
id: "modal_link#{result.asset.id}",
|
||||
data: { no_turbolink: true, id: true, status: 'asset-present', 'preview-url': asset_file_preview_path(result.asset) } %>
|
||||
|
|
|
@ -1654,6 +1654,7 @@ en:
|
|||
row_success: "Archived"
|
||||
row_renamed: "Archived & renamed"
|
||||
row_failed: "Failed"
|
||||
preview: "View"
|
||||
restore_results:
|
||||
title: "Restore results"
|
||||
message_failed: "Failed to restore %{nr} protocols."
|
||||
|
|
Loading…
Add table
Reference in a new issue