Skip to content

Commit

Permalink
Mark some strings for translation.
Browse files Browse the repository at this point in the history
  • Loading branch information
hbayindir committed Nov 1, 2021
1 parent 5cd2a36 commit 60164b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/presenters/contributor_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ def roles_for_radio(contributor:)
def role_symbol_to_string(symbol:)
case symbol
when :data_curation
"Data Manager"
_("Data Manager")
when :project_administration
"Project Administrator"
_("Project Administrator")
when :investigation
"Principal Investigator"
_("Principal Investigator")
else
"Other"
_("Other")
end
end

Expand Down
2 changes: 1 addition & 1 deletion app/views/plans/_project_details.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ ethics_report_tooltip = _("Link to a protocol from a meeting with an ethics comm
autocomplete: "off",
aria: { required: false } %>
<%= grant_fields.hidden_field :value %>
<span class="text-muted" id="grant_number_info">Grant number: <%= plan.grant&.value %></span>
<span class="text-muted" id="grant_number_info"><%=_("Grant number:") plan.grant&.value %></span>
<% else %>
<%= grant_fields.text_field(:value, class: "form-control",
data: { toggle: "tooltip" },
Expand Down

0 comments on commit 60164b9

Please sign in to comment.