diff --git a/app/models/user/at_csv.rb b/app/models/user/at_csv.rb index 81d79bc1c2..8cddb0f74e 100644 --- a/app/models/user/at_csv.rb +++ b/app/models/user/at_csv.rb @@ -4,8 +4,8 @@ class User # Helper to export a list of Users as CSV class AtCsv - HEADERS = ['Name', 'E-Mail', 'Created Date', 'Last Activity', 'Plans', - 'Current Privileges', 'Active', 'Department'].freeze + HEADERS = [_('Name'), _('E-Mail'), _('Created Date'), _('Last Activity'), _('Plans'), + _('Current Privileges'), _('Active'), _('Department')].freeze def initialize(users) @users = users diff --git a/app/views/guidance_groups/_guidance_group_form.html.erb b/app/views/guidance_groups/_guidance_group_form.html.erb index a0384f0095..b5bd06bd25 100644 --- a/app/views/guidance_groups/_guidance_group_form.html.erb +++ b/app/views/guidance_groups/_guidance_group_form.html.erb @@ -5,20 +5,20 @@ published_tip = _("Check this box when you are ready for guidance associated wit subset_tip = _("If the guidance is only meant for a subset of users e.g. those in a specific college or institute, check this box. Users will be able to select to display this subset guidance when answering questions in the 'create plan' wizard.") %>
<%= _("Click below to give data management staff at #{plan.owner.org.name}, the Plan Owner's org, access to read and comment on your plan.") %>
++ <%= + _("Click below to give data management staff at %{owner_org}, the Plan Owner's org, access to read and comment on your plan.") % { + owner_org: plan.owner.org.name, + } + %> +
<%= user_count.to_i %> Total users
+<%= user_count.to_i %> <%= _('Total users') %>
<%= plan_count.to_i %> Total plans
+<%= plan_count.to_i %> <%= _( 'Total plans') %>
<%= form_tag('/usage', method: :get, id: :filter_plans_form) do |f| %> <%= label_tag :filtered do %> <%= check_box_tag(:filtered, "true", @filtered) %>