diff --git a/app/controllers/orgs_controller.rb b/app/controllers/orgs_controller.rb index 8a6deae..0eaf063 100644 --- a/app/controllers/orgs_controller.rb +++ b/app/controllers/orgs_controller.rb @@ -45,7 +45,7 @@ @orgs = Org.joins(:identifier_schemes).where('identifier_schemes.name = ?', 'shibboleth').sort{|x,y| x.name <=> y.name } if @orgs.empty? - flash[:alert] = _('No institutions are currently registered.') + flash[:alert] = _('No organisations are currently registered.') redirect_to user_shibboleth_omniauth_authorize_path end end @@ -67,12 +67,12 @@ #initiate shibboleth login sequence redirect_to "#{url}?target=#{target}&entityID=#{shib_entity.first.identifier}" else - flash[:alert] = _('Your institution does not seem to be properly configured.') + flash[:alert] = _('Your organisation does not seem to be properly configured.') redirect_to shibboleth_ds_path end else - flash[:notice] = _('Please choose an institution') + flash[:notice] = _('Please choose an organisation') redirect_to shibboleth_ds_path end end diff --git a/app/helpers/plans_helper.rb b/app/helpers/plans_helper.rb index 0187c2a..1b9cb6d 100644 --- a/app/helpers/plans_helper.rb +++ b/app/helpers/plans_helper.rb @@ -39,7 +39,7 @@ def display_visibility(val) case val when 'organisationally_visible' - return "#{_('Institution')}" + return "#{_('Organisation')}" when 'publicly_visible' return "#{_('Public')}" when 'privately_visible' @@ -52,7 +52,7 @@ def visibility_tooltip(val) case val when 'organisationally_visible' - return _('Institution: anyone at my institution can view.') + return _('Organisation: anyone at my organisation can view.') when 'publicly_visible' return _('Public: anyone can view.') else diff --git a/app/helpers/settings_template_helper.rb b/app/helpers/settings_template_helper.rb index 255c95e..ea18f38 100644 --- a/app/helpers/settings_template_helper.rb +++ b/app/helpers/settings_template_helper.rb @@ -17,7 +17,7 @@ elsif admin_field == 'funder' return _('Funder') elsif admin_field == 'institution' - return _('Institution') + return _('Organisation') elsif admin_field == 'orcid' return _('Your ORCID') end diff --git a/app/views/devise/registrations/_external_identifier.html.erb b/app/views/devise/registrations/_external_identifier.html.erb index 79cfa5a..1097360 100644 --- a/app/views/devise/registrations/_external_identifier.html.erb +++ b/app/views/devise/registrations/_external_identifier.html.erb @@ -6,11 +6,11 @@ title: _("ORCID provides a persistent digital identifier that distinguishes you from other researchers. Learn more at orcid.org"), 'data-toggle': "tooltip" %> <% elsif scheme.name.downcase == 'shibboleth' %> - + - <%= link_to _('Link your institutional credentials'), + <%= link_to _('Link your organisational credentials'), Rails.application.routes.url_helpers.send("user_shibboleth_omniauth_authorize_path"), - title: _("Link your institutional credentials to access your account with them."), + title: _("Link your organisational credentials to access your account with them."), 'data-toggle': "tooltip" %> <% end %> <% else %> @@ -30,11 +30,11 @@ <%= "#{scheme.user_landing_url}/#{id.identifier}" %> <% end %> <% elsif scheme.name.downcase == 'shibboleth' %> - <% titletext = _("Your account has been linked to your institution. You can now login with that method.") %> - <% unlinktext = _("Unlink your account from your institution. You can link again at any time.") %> - <% unlinkconf = _("Are you sure you want to unlink your institutional credentials?") %> + <% titletext = _("Your account has been linked to your organisation. You can now login with that method.") %> + <% unlinktext = _("Unlink your account from your organisation. You can link again at any time.") %> + <% unlinkconf = _("Are you sure you want to unlink your organisational credentials?") %> <% if scheme.user_landing_url.nil? %> - + <%= titletext %> <% else %> diff --git a/app/views/devise/registrations/_personal_details.html.erb b/app/views/devise/registrations/_personal_details.html.erb index 058dc8c..0a86324 100644 --- a/app/views/devise/registrations/_personal_details.html.erb +++ b/app/views/devise/registrations/_personal_details.html.erb @@ -42,7 +42,7 @@
- <%= _("First create a guidance group. This could be institution wide or a subset e.g. a particular College / School, Institute or department. When you create guidance you'll be asked to assign it to a guidance group.") %> + <%= _("First create a guidance group. This could be organisation wide or a subset e.g. a particular College / School, Institute or department. When you create guidance you'll be asked to assign it to a guidance group.") %>
- <%= _('If you wish to add an institutional template for a Data Management Plan, use the \'create template\' button. You can create more than one template if desired e.g. one for researchers and one for PhD students. Your template will be presented to users within your institution when no funder templates apply. If you want to add questions to funder templates use the \'customise template\' options below.') %> + <%= _('If you wish to add an organisational template for a Data Management Plan, use the \'create template\' button. You can create more than one template if desired e.g. one for researchers and one for PhD students. Your template will be presented to users within your organisation when no funder templates apply. If you want to add questions to funder templates use the \'customise template\' options below.') %>