Commit 6e289e0f authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'djadmin-ux-dast-configuration' into 'master'

Copy change for DAST Configuration Modal

See merge request gitlab-org/gitlab!64788
parents 6538169b 9e782ede
......@@ -17,6 +17,7 @@ export default {
helpText: s__(
'This code snippet contains everything reflected in the configuration form. Copy and paste it into %{linkStart}.gitlab-ci.yml%{linkEnd} file and save your changes. Future %{scanType} scans will use these settings.',
),
modalTitle: s__('SecurityConfiguration|%{scanType} configuration code snippet'),
primaryText: s__('SecurityConfiguration|Copy code and open .gitlab-ci.yml file'),
secondaryText: s__('SecurityConfiguration|Copy code only'),
cancelText: __('Cancel'),
......@@ -41,7 +42,7 @@ export default {
},
computed: {
modalTitle() {
return sprintf(s__('SecurityConfiguration|Code snippet for the %{scanType} configuration'), {
return sprintf(this.$options.i18n.modalTitle, {
scanType: this.scanType,
});
},
......
......@@ -28658,6 +28658,9 @@ msgstr ""
msgid "SecurityConfiguration|%{featureName} merge request creation mutation failed"
msgstr ""
msgid "SecurityConfiguration|%{scanType} configuration code snippet"
msgstr ""
msgid "SecurityConfiguration|An error occurred while creating the merge request."
msgstr ""
......@@ -28673,9 +28676,6 @@ msgstr ""
msgid "SecurityConfiguration|By default, all analyzers are applied in order to cover all languages across your project, and only run if the language is detected in the Merge Request."
msgstr ""
msgid "SecurityConfiguration|Code snippet for the %{scanType} configuration"
msgstr ""
msgid "SecurityConfiguration|Compliance"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment