diff --git a/app/presenters/contributor_presenter.rb b/app/presenters/contributor_presenter.rb index 91ce18bab2..e2b1c03689 100644 --- a/app/presenters/contributor_presenter.rb +++ b/app/presenters/contributor_presenter.rb @@ -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 diff --git a/app/views/plans/_project_details.html.erb b/app/views/plans/_project_details.html.erb index 10d913c6bb..9a4cada489 100644 --- a/app/views/plans/_project_details.html.erb +++ b/app/views/plans/_project_details.html.erb @@ -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 %> - Grant number: <%= plan.grant&.value %> + <%=_("Grant number:") plan.grant&.value %> <% else %> <%= grant_fields.text_field(:value, class: "form-control", data: { toggle: "tooltip" },