diff --git a/app/views/plans/_answer_form.html.erb b/app/views/plans/_answer_form.html.erb index dd256e4..1d17c20 100644 --- a/app/views/plans/_answer_form.html.erb +++ b/app/views/plans/_answer_form.html.erb @@ -33,9 +33,9 @@
<% if suggested_answer.is_example? then %> - <%= t("org_admin.questions.example_answer_label")%> + <%= _('Example of answer')%> <%else%> - <%= t("org_admin.questions.suggested_answer_label")%> + <%= _('Suggested answer')%> <%end%>
@@ -97,7 +97,7 @@ <% end %> <% if question.option_comment_display == true then%> - <%= label_tag("answer-text-#{question.id}".to_sym, t("helpers.comment")) %> + <%= label_tag("answer-text-#{question.id}".to_sym, _('Comment')) %> <%= text_area_tag("answer-text-#{question.id}".to_sym, answer.text, class: "tinymce") %> <%end%> @@ -114,12 +114,12 @@ <%= f.actions do %> <% if readonly then %> - <%= f.action :submit, :label => t("helpers.save"), :button_html => { :class => "btn btn-primary"}, :input_html => { :disabled => true } %> + <%= f.action :submit, :label => _('Save'), :button_html => { :class => "btn btn-primary"}, :input_html => { :disabled => true } %> <% else %> - + <% end %> - + <% end %> <% end %>
@@ -148,11 +148,11 @@
<% if answer.created_at.nil? then %> - <%= t("helpers.notanswered") %> + <%= _('Not answered yet') %> <% else %> - <%= t("helpers.answered_by")%><%= answer.created_at %><%= t("helpers.answered_by_part2")%><%= answer.user.name %> + <%= _('Answered')%><%= answer.created_at %><%= _(' by')%><%= answer.user.name %> <% end %> - + @@ -168,14 +168,14 @@ <% css_style_comment_div = "display: none;"%> <% css_style_guidance_div = ""%>
  • - <%= link_to t("helpers.guidance_accordion_label"), "#", :class => "guidance_accordion_button" %> + <%= link_to _('Guidance'), "#", :class => "guidance_accordion_button" %>
  • <% if @comments.count > 0 then%> - <% comments_label_with_count = "#{t("helpers.comment_accordion_label")} (#{@comments.count})"%> + <% comments_label_with_count = "#{_('Notes')} (#{@comments.count})"%> <%= link_to comments_label_with_count , "#", :class => "comments_accordion_button" %> <%else%> - <%= link_to t("helpers.add_comment_accordion_label"), "#", :class => "comments_accordion_button" %> + <%= link_to _('Share note'), "#", :class => "comments_accordion_button" %> <%end%>
  • <%else%> @@ -184,10 +184,10 @@ <% css_style_guidance_div = "display: none;"%>
  • <% if @comments.count > 0 then%> - <% comments_label_with_count = "#{t("helpers.comment_accordion_label")} (#{@comments.count})"%> + <% comments_label_with_count = "#{_('Notes')} (#{@comments.count})"%>

    <%= comments_label_with_count %>

    <%else%> -

    <%= t("helpers.add_comment_accordion_label") %>

    +

    <%= _('Share note') %>

    <%end%>
  • <%end%> @@ -206,9 +206,9 @@
    <%= question.section.organisation.abbreviation %> <%if question.section.organisation.abbreviation == "EPSRC" then %> - <%= t("helpers.policy_expectations")%> + <%= _('Policy Expectations')%> <%else%> - <%= t("helpers.guidance")%> + <%= _('Guidance')%> <%end%>
    diff --git a/app/views/plans/_dropdowns_new_plan.html.erb b/app/views/plans/_dropdowns_new_plan.html.erb index 5413579..544d874 100644 --- a/app/views/plans/_dropdowns_new_plan.html.erb +++ b/app/views/plans/_dropdowns_new_plan.html.erb @@ -5,9 +5,9 @@ <%= hidden_field_tag :default_tag, "false" ,:id => "default_tag" %>
    -

    <%= t('helpers.project.create_page.title') %>

    +

    <%= _('Create a new plan') %>

    -

    <%= raw t('helpers.project.create_page.desc_html')%>

    +

    <%= raw _("

    Please select from the following drop-downs so we can determine what questions and guidance should be displayed in your plan.

    If you aren't responding to specific requirements from a funder or an institution, select here to write a generic DMP based on the most common themes.

    ")%>

    @@ -19,7 +19,7 @@ <%= f.input :funder_id, :as => :select, :collection => @funders, - :label => t('helpers.project.create_page.funders_question'), + :label => _('If applying for funding, select your research funder.'), :input_html => { :multiple => false, :class => ["select2", "select2-container"] }, :include_blank => constant("organisation_types.funder") %> @@ -35,7 +35,7 @@ <%= f.action :submit, :as => :button, :input_html => { :id => "create-plan-button", :class => "btn btn-primary"}, - :label => t('helpers.project.create') %> + :label => _('Create plan') %> <% end %> <% end %> diff --git a/app/views/plans/_export.html.erb b/app/views/plans/_export.html.erb index 876ab64..1352bc2 100644 --- a/app/views/plans/_export.html.erb +++ b/app/views/plans/_export.html.erb @@ -1,7 +1,7 @@