From fff851431984f26cd04733e5dde74e70357ec6ea Mon Sep 17 00:00:00 2001 From: Artur Fedorov <afedorov@gitlab.com> Date: Thu, 29 Aug 2024 23:49:28 +0200 Subject: [PATCH] This MR updates wording for group policy scope Specific terms for policy drawer and group scope Changelog: changed EE: true --- .../components/policy_drawer/groups_toggle_list.vue | 6 +++--- .../components/policy_drawer/groups_toggle_list_spec.js | 2 +- locale/gitlab.pot | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ee/app/assets/javascripts/security_orchestration/components/policy_drawer/groups_toggle_list.vue b/ee/app/assets/javascripts/security_orchestration/components/policy_drawer/groups_toggle_list.vue index f62cf07b7a42..ae9008b0f9e0 100644 --- a/ee/app/assets/javascripts/security_orchestration/components/policy_drawer/groups_toggle_list.vue +++ b/ee/app/assets/javascripts/security_orchestration/components/policy_drawer/groups_toggle_list.vue @@ -8,7 +8,7 @@ export default { groupsHeader: s__('SecurityOrchestration|Linked groups'), groupsInlineListHeader: s__('SecurityOrchestration|All projects in linked groups'), groupsInlineListSubHeader: s__('SecurityOrchestration|(%{groups})'), - projectsHeader: s__('SecurityOrchestration|Exception projects'), + projectsHeader: s__('SecurityOrchestration|Excluded projects'), }, name: 'GroupsToggleList', components: { @@ -51,8 +51,8 @@ export default { groupsHeader() { const template = this.hasProjects ? n__( - 'All projects in %{groupsLength} group with exceptions:', - 'All projects in %{groupsLength} groups with exceptions:', + 'All projects in %{groupsLength} group, with exclusions:', + 'All projects in %{groupsLength} groups, with exclusions:', this.groupsLength, ) : n__( diff --git a/ee/spec/frontend/security_orchestration/components/policy_drawer/groups_toggle_list_spec.js b/ee/spec/frontend/security_orchestration/components/policy_drawer/groups_toggle_list_spec.js index 83d821115be4..4937d0d4aa82 100644 --- a/ee/spec/frontend/security_orchestration/components/policy_drawer/groups_toggle_list_spec.js +++ b/ee/spec/frontend/security_orchestration/components/policy_drawer/groups_toggle_list_spec.js @@ -65,7 +65,7 @@ describe('GroupsToggleList', () => { }); expect(findAllGroupItems()).toHaveLength(2); - expect(findGroupListHeader().text()).toBe('All projects in 2 groups with exceptions:'); + expect(findGroupListHeader().text()).toBe('All projects in 2 groups, with exclusions:'); expect(findAllProjectItems()).toHaveLength(2); }); }); diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 5eba4c5b52e4..15f83bd8c08a 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -5533,8 +5533,8 @@ msgstr "" msgid "All projects" msgstr "" -msgid "All projects in %{groupsLength} group with exceptions:" -msgid_plural "All projects in %{groupsLength} groups with exceptions:" +msgid "All projects in %{groupsLength} group, with exclusions:" +msgid_plural "All projects in %{groupsLength} groups, with exclusions:" msgstr[0] "" msgstr[1] "" @@ -48681,10 +48681,10 @@ msgstr "" msgid "SecurityOrchestration|Exception branches" msgstr "" -msgid "SecurityOrchestration|Exception projects" +msgid "SecurityOrchestration|Exceptions" msgstr "" -msgid "SecurityOrchestration|Exceptions" +msgid "SecurityOrchestration|Excluded projects" msgstr "" msgid "SecurityOrchestration|Failed to fetch the scope information. Please refresh the page to try again." -- GitLab