Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Standardize casing to "Global role"

Aaron Contreras4bbe991f2da7
diff --git a/config/locales/en.yml b/config/locales/en.yml
index a59e2e410d4..8bf670a9c4b 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2192,7 +2192,7 @@ en:
label_yesterday: "yesterday"
label_role_type: "Type"
label_member_role: "Project Role"
- label_global_role: "Global Role"
+ label_global_role: "Global role"
label_not_changeable: "(not changeable)"
label_global: "Global"
label_seeded_from_env_warning: This record has been created through a setting / environment variable. It is not editable through UI.
diff --git a/spec/features/global_roles/global_role_crud_spec.rb b/spec/features/global_roles/global_role_crud_spec.rb
index 896c2ce647e..d9bdf5a8a85 100644
--- a/spec/features/global_roles/global_role_crud_spec.rb
+++ b/spec/features/global_roles/global_role_crud_spec.rb
@@ -47,8 +47,8 @@ RSpec.describe 'Global role: Global role CRUD',
visit new_role_path
# Then I should not see block with "#global_permissions"
expect(page).not_to have_selector('.form--fieldset-legend', text: 'GLOBAL')
- # When I check "Global Role"
- check 'Global Role'
+ # When I check "Global role"
+ check 'Global role'
# Then I should see block with "#global_permissions"
expect(page).to have_selector('.form--fieldset-legend', text: 'GLOBAL')
# And I should see "Global group"