Use I18n [SCI-8007]

This commit is contained in:
sboursen-scinote 2023-03-12 14:10:07 +01:00
parent ce3fbfe4eb
commit d2ceeb9662
2 changed files with 2 additions and 1 deletions

View file

@ -3,7 +3,7 @@
<% if protocol.nr_of_linked_children > 0 %>
<div class="version-dropdown">
<%= label_tag "version-selector".to_sym, "Show version" %>
<%= label_tag "version-selector".to_sym, t("protocols.index.linked_children.show_version") %>
<%= select_tag "version",
options_for_select(
['All'].concat(

View file

@ -2760,6 +2760,7 @@ en:
used_in: "Number of tasks linked to this protocol: %{nr}"
no_linked_children: "This protocol is not linked to any task."
length_menu: "Show %{number} per page"
show_version: "Show version"
archive:
description: "Archived protocols can only be seen by you. Restoring protocols will return them to their previous location (team/my protocols)."
restore: "Restore"