Commit 9e782ede authored by Dheeraj Joshi's avatar Dheeraj Joshi

Update copy for DAST code snippet modal

Changelog: changed
EE: true
parent db4bee50
......@@ -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,
});
},
......
......@@ -28676,6 +28676,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 ""
......@@ -28691,9 +28694,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