diff --git a/ee/app/assets/javascripts/security_orchestration/components/policy_editor/constants.js b/ee/app/assets/javascripts/security_orchestration/components/policy_editor/constants.js index 86c7bf1c0d599c5feb054229026c7c6b80b67030..62ab025387b7ee2fc507f6020be1fecc04fb680d 100644 --- a/ee/app/assets/javascripts/security_orchestration/components/policy_editor/constants.js +++ b/ee/app/assets/javascripts/security_orchestration/components/policy_editor/constants.js @@ -80,7 +80,7 @@ export const INVALID_PROTECTED_BRANCHES = s__( export const ADD_RULE_LABEL = s__('SecurityOrchestration|Add new rule'); export const RULES_LABEL = s__('SecurityOrchestration|Rules'); -export const ADD_ACTION_LABEL = s__('SecurityOrchestration|Add action'); +export const ADD_ACTION_LABEL = s__('SecurityOrchestration|Add new action'); export const ACTIONS_LABEL = s__('SecurityOrchestration|Actions'); export const RULE_IF_LABEL = __('if'); diff --git a/ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_result/editor_component.vue b/ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_result/editor_component.vue index 083c53eb074f431555f4c0be4f5e625e93a7bbb8..6526f10d38b56c49d5690c430bc8dd435ff35a14 100644 --- a/ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_result/editor_component.vue +++ b/ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_result/editor_component.vue @@ -57,7 +57,6 @@ export default { i18n: { ADD_ACTION_LABEL, PARSING_ERROR_MESSAGE, - buttonText: s__('SecurityOrchestration|Add new action'), createMergeRequest: __('Configure with a merge request'), filterHeaderText: s__('SecurityOrchestration|Choose an action'), notOwnerButtonText: __('Learn more'), @@ -467,7 +466,7 @@ export default { <scan-filter-selector v-if="availableActionListboxItems.length" class="gl-w-full" - :button-text="$options.i18n.buttonText" + :button-text="$options.i18n.ADD_ACTION_LABEL" :header="$options.i18n.filterHeaderText" :filters="availableActionListboxItems" @select="addAction" diff --git a/locale/gitlab.pot b/locale/gitlab.pot index dc55937c526fa599a17662df083916c3b183de85..061329f214ea4c0471a14bffbae44a2a95af7058 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -49236,9 +49236,6 @@ msgstr "" msgid "SecurityOrchestration|Add a numeric suffix to ensure unique job names." msgstr "" -msgid "SecurityOrchestration|Add action" -msgstr "" - msgid "SecurityOrchestration|Add job name suffix %{suffixEditor} %{suffixIcon}" msgstr ""