Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
dd5862a4
Commit
dd5862a4
authored
Aug 06, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update error message
parent
d3ae87b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
ee/app/assets/javascripts/on_demand_scans/components/on_demand_scans_form.vue
...ripts/on_demand_scans/components/on_demand_scans_form.vue
+1
-1
ee/spec/frontend/on_demand_scans/components/on_demand_scans_form_spec.js
...d/on_demand_scans/components/on_demand_scans_form_spec.js
+3
-1
locale/gitlab.pot
locale/gitlab.pot
+1
-1
No files found.
ee/app/assets/javascripts/on_demand_scans/components/on_demand_scans_form.vue
View file @
dd5862a4
...
...
@@ -26,7 +26,7 @@ const ERROR_FETCH_SITE_PROFILES = 'ERROR_FETCH_SITE_PROFILES';
const
ERROR_MESSAGES
=
{
[
ERROR_RUN_SCAN
]:
s__
(
'
OnDemandScans|Could not run the scan. Please try again.
'
),
[
ERROR_FETCH_SITE_PROFILES
]:
s__
(
'
OnDemandScans|Could not fetch site profiles. Please
try again
.
'
,
'
OnDemandScans|Could not fetch site profiles. Please
refresh the page, or try again later
.
'
,
),
};
...
...
ee/spec/frontend/on_demand_scans/components/on_demand_scans_form_spec.js
View file @
dd5862a4
...
...
@@ -210,7 +210,9 @@ describe('OnDemandScansApp', () => {
const
alert
=
findAlert
();
expect
(
alert
.
exists
()).
toBe
(
true
);
expect
(
alert
.
props
(
'
dismissible
'
)).
toBe
(
false
);
expect
(
alert
.
text
()).
toContain
(
'
Could not fetch site profiles. Please try again.
'
);
expect
(
alert
.
text
()).
toContain
(
'
Could not fetch site profiles. Please refresh the page, or try again later.
'
,
);
});
});
...
...
locale/gitlab.pot
View file @
dd5862a4
...
...
@@ -16655,7 +16655,7 @@ msgstr ""
msgid "OnDemandScans|Attached branch is where the scan job runs."
msgstr ""
msgid "OnDemandScans|Could not fetch site profiles. Please
try again
."
msgid "OnDemandScans|Could not fetch site profiles. Please
refresh the page, or try again later
."
msgstr ""
msgid "OnDemandScans|Could not run the scan. Please try again."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment