mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-05 22:44:22 +08:00
Added preview text to en.yml
This commit is contained in:
parent
f5b2ad0d34
commit
2b9563ec6d
2 changed files with 47 additions and 49 deletions
|
@ -81,27 +81,26 @@
|
||||||
|
|
||||||
<% if @json_object["before_start"]&&@json_object["before_start"]!="" %>
|
<% if @json_object["before_start"]&&@json_object["before_start"]!="" %>
|
||||||
|
|
||||||
<strong>Before starting protocol information:</strong><br>
|
<strong><%= t("protocols.protocols_io_import.preview.b_s_p") %></strong><br>
|
||||||
<%= (@json_object["before_start"]) %><br>
|
<%= (@json_object["before_start"]) %><br>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @json_object["warning"]&&@json_object["warning"]!="" %>
|
<% if @json_object["warning"]&&@json_object["warning"]!="" %>
|
||||||
|
|
||||||
<strong>Protocol warning:</strong><br>
|
<strong><%= t("protocols.protocols_io_import.preview.warn") %></strong><br>
|
||||||
<%= (@json_object["warning"]) %><br>
|
<%= (@json_object["warning"]) %><br>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @json_object["guidelines"]&&@json_object["guidelines"]!="" %>
|
<% if @json_object["guidelines"]&&@json_object["guidelines"]!="" %>
|
||||||
|
|
||||||
<strong>Guidelines:</strong><br>
|
<strong><%= t("protocols.protocols_io_import.preview.guideln") %></strong><br>
|
||||||
<%= (@json_object["guidelines"]) %><br>
|
<%= (@json_object["guidelines"]) %><br>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if @json_object["link"]&&@json_object["link"]!="" %>
|
<% if @json_object["link"]&&@json_object["link"]!="" %>
|
||||||
|
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.p_link") %></strong><br>
|
||||||
<strong>Supplied link:</strong><br>
|
|
||||||
<%= (@json_object["link"]) %>
|
<%= (@json_object["link"]) %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -141,7 +140,7 @@
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if title.nil? %>
|
<% if title.nil? %>
|
||||||
<% title ="Step" %>
|
<% title =t('protocols.protocols_io_import.comp_append.missing_step') %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<strong data-val="name"><%= title %></strong>
|
<strong data-val="name"><%= title %></strong>
|
||||||
</span>
|
</span>
|
||||||
|
@ -165,15 +164,10 @@
|
||||||
<br>
|
<br>
|
||||||
<% case key["component_type_id"]
|
<% case key["component_type_id"]
|
||||||
when "1" %>
|
when "1" %>
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.strng_s_desc") %></strong>
|
||||||
<strong>
|
|
||||||
Description:
|
|
||||||
</strong>
|
|
||||||
<%=key["data"]%><br>
|
<%=key["data"]%><br>
|
||||||
<% when "17" %>
|
<% when "17" %>
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.s_exp_res") %></strong>
|
||||||
<strong>Expected result:
|
|
||||||
</strong>
|
|
||||||
<%=key["data"]%>
|
<%=key["data"]%>
|
||||||
<br>
|
<br>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -184,60 +178,48 @@
|
||||||
<br>
|
<br>
|
||||||
<strong><%= key["name"]+": " %></strong>
|
<strong><%= key["name"]+": " %></strong>
|
||||||
<%= (key["source_data"]["name"]) %>
|
<%= (key["source_data"]["name"]) %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.dev") %>
|
||||||
Developer:
|
|
||||||
<%= (key["source_data"]["developer"]) %>
|
<%= (key["source_data"]["developer"]) %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.vers") %>
|
||||||
Version:
|
|
||||||
<%= (key["source_data"]["version"]) %>
|
<%= (key["source_data"]["version"]) %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.s_link") %>
|
||||||
Link:
|
|
||||||
<%= (key["source_data"]["link"]) %>
|
<%= (key["source_data"]["link"]) %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.repo") %>
|
||||||
Repository:
|
|
||||||
<%= (key["source_data"]["repository"]) %>
|
<%= (key["source_data"]["repository"]) %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.os") %>
|
||||||
OS name , OS version:
|
|
||||||
<%= (key["source_data"]["os_name"])+" , "+(key["source_data"]["os_version"]) %>
|
<%= (key["source_data"]["os_name"])+" , "+(key["source_data"]["os_version"]) %>
|
||||||
|
|
||||||
<% when "9"%>
|
<% when "9"%>
|
||||||
<br>
|
<br>
|
||||||
<strong><%= key["name"]+": " %></strong>
|
<strong><%= key["name"]+": " %></strong>
|
||||||
<%= key["source_data"]["name"] %>
|
<%= key["source_data"]["name"] %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.s_link") %>
|
||||||
Link:
|
|
||||||
<%= (key["source_data"]["link"]) %>
|
<%= (key["source_data"]["link"]) %>
|
||||||
|
|
||||||
<% when "15"%>
|
<% when "15"%>
|
||||||
<br>
|
<br>
|
||||||
<strong><%= key["name"]+": " %></strong>
|
<strong><%= key["name"]+": " %></strong>
|
||||||
<%= key["source_data"]["name"] %>
|
<%= key["source_data"]["name"] %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.s_desc") %>
|
||||||
Description:
|
|
||||||
<%= (key["source_data"]["description"]) %>
|
<%= (key["source_data"]["description"]) %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.os") %>
|
||||||
OS name , OS version:
|
|
||||||
<%= (key["source_data"]["os_name"])+" , "+(key["source_data"]["os_version"]) %>
|
<%= (key["source_data"]["os_name"])+" , "+(key["source_data"]["os_version"]) %>
|
||||||
|
|
||||||
<% when "18"%>
|
<% when "18"%>
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.sub_prot") %></strong>
|
||||||
<strong>This protocol also contains an attached sub-protocol:
|
|
||||||
</strong>
|
|
||||||
<%= (key["source_data"]["protocol_name"]) %>
|
<%= (key["source_data"]["protocol_name"]) %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.auth") %>
|
||||||
Author:
|
|
||||||
<%= (key["source_data"]["full_name"]) %>
|
<%= (key["source_data"]["full_name"]) %>
|
||||||
<br>
|
<br>
|
||||||
<% if key["source_data"]["link"]&&key["source_data"]["link"]!="" %>
|
<% if key["source_data"]["link"]&&key["source_data"]["link"]!="" %>
|
||||||
Link:
|
<%= t("protocols.protocols_io_import.preview.s_nobr_link") %>
|
||||||
<%= (key["source_data"]["link"]) %>
|
<%= (key["source_data"]["link"]) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% when "19"%>
|
<% when "19"%>
|
||||||
<br>
|
<br>
|
||||||
<strong><%= key["name"]+": " %></strong>
|
<strong><%= key["name"]+": " %></strong>
|
||||||
<%= key["source_data"]["body"] %>
|
<%= key["source_data"]["body"] %>
|
||||||
<br>
|
<br><%= t("protocols.protocols_io_import.preview.s_link") %>
|
||||||
Link:
|
|
||||||
<%= (key["source_data"]["link"]) %>
|
<%= (key["source_data"]["link"]) %>
|
||||||
|
|
||||||
<% when "20"%>
|
<% when "20"%>
|
||||||
|
@ -278,43 +260,37 @@
|
||||||
<% if
|
<% if
|
||||||
@json_object["manuscript_citation"]&&@json_object["manuscript_citation"]!="" %>
|
@json_object["manuscript_citation"]&&@json_object["manuscript_citation"]!="" %>
|
||||||
|
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.manu_cit") %></strong><br>
|
||||||
<strong>Manuscript citation:</strong><br>
|
|
||||||
<%= (@json_object["manuscript_citation"]) %>
|
<%= (@json_object["manuscript_citation"]) %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @json_object["publish_date"]&&@json_object["publish_date"]!="" %>
|
<% if @json_object["publish_date"]&&@json_object["publish_date"]!="" %>
|
||||||
|
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.pbl_date") %></strong><br>
|
||||||
<strong>Publish date:</strong><br>
|
|
||||||
<%= (@json_object["publish_date"]) %>
|
<%= (@json_object["publish_date"]) %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @json_object["vendor_name"]&&@json_object["vendor_name"]!="" %>
|
<% if @json_object["vendor_name"]&&@json_object["vendor_name"]!="" %>
|
||||||
|
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.vnd_name") %></strong><br>
|
||||||
<strong>Vendor name:</strong><br>
|
|
||||||
<%= (@json_object["vendor_name"]) %>
|
<%= (@json_object["vendor_name"]) %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @json_object["vendor_link"]&&@json_object["vendor_link"]!="" %>
|
<% if @json_object["vendor_link"]&&@json_object["vendor_link"]!="" %>
|
||||||
|
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.vnd_link") %></strong><br>
|
||||||
<strong>Vendor link:</strong><br>
|
|
||||||
<%= (@json_object["vendor_link"]) %>
|
<%= (@json_object["vendor_link"]) %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @json_object["keywords"]&&@json_object["keywords"]!="" %>
|
<% if @json_object["keywords"]&&@json_object["keywords"]!="" %>
|
||||||
|
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.key_wrd") %></strong><br>
|
||||||
<strong>Keywords:</strong><br>
|
|
||||||
<%= (@json_object["keywords"]) %>
|
<%= (@json_object["keywords"]) %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @json_object["tags"]&&@json_object["tags"]!="" %>
|
<% if @json_object["tags"]&&@json_object["tags"]!="" %>
|
||||||
|
|
||||||
<br>
|
<br><strong><%= t("protocols.protocols_io_import.preview.tags") %></strong><br>
|
||||||
<strong>Tags:</strong><br>
|
|
||||||
<% @json_object["tags"].each do |tag| %>
|
<% @json_object["tags"].each do |tag| %>
|
||||||
<%= (tag["tag_name"])+" , " %>
|
<%= (tag["tag_name"])+" , " %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1386,6 +1386,28 @@ en:
|
||||||
manager: "Protocol management"
|
manager: "Protocol management"
|
||||||
edit: "Edit protocol"
|
edit: "Edit protocol"
|
||||||
protocols_io_import:
|
protocols_io_import:
|
||||||
|
preview:
|
||||||
|
b_s_p: "Before starting protocol information:"
|
||||||
|
warn: "Protocol warning:"
|
||||||
|
guideln: "<strong>Guidelines:"
|
||||||
|
p_link: "Supplied link:"
|
||||||
|
s_nobr_link: "Link:"
|
||||||
|
s_link: "Link:"
|
||||||
|
s_desc: "Description:"
|
||||||
|
strng_s_desc: "Description:"
|
||||||
|
s_exp_res: "Expected result:"
|
||||||
|
dev: "Developer:"
|
||||||
|
vers: "Version:"
|
||||||
|
repo: "Repository:"
|
||||||
|
os: "OS name , OS version:"
|
||||||
|
sub_prot: "This protocol also contains an attached sub-protocol:"
|
||||||
|
auth: "Author:"
|
||||||
|
manu_cit: "Manuscript citation:"
|
||||||
|
pbl_date: "Publish date:"
|
||||||
|
vnd_name: "Vendor name:"
|
||||||
|
vnd_link: "Vendor link:"
|
||||||
|
key_wrd: "Keywords:"
|
||||||
|
tags: "Tags:"
|
||||||
comp_append:
|
comp_append:
|
||||||
missing_step: "Step"
|
missing_step: "Step"
|
||||||
missing_desc: "Description missing"
|
missing_desc: "Description missing"
|
||||||
|
|
Loading…
Reference in a new issue