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
5d30da67
Commit
5d30da67
authored
Jun 19, 2018
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix eslint errors
parent
16859d83
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ee/app/assets/javascripts/vue_shared/security_reports/split_security_reports_app.vue
...ue_shared/security_reports/split_security_reports_app.vue
+1
-1
ee/app/assets/javascripts/vue_shared/security_reports/store/utils.js
...ts/javascripts/vue_shared/security_reports/store/utils.js
+4
-4
No files found.
ee/app/assets/javascripts/vue_shared/security_reports/split_security_reports_app.vue
View file @
5d30da67
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
}
}
return
sprintf
(
return
sprintf
(
n__
(
'
%{type} detected 1 vulnerability
'
,
'
%{type} detected %{vulnerabilityCount} vulnerabilities
'
,
issuesCount
),
n__
(
'
%{type} detected 1 vulnerability
'
,
'
%{type} detected %{vulnerabilityCount} vulnerabilities
'
,
issuesCount
),
{
type
:
type
,
vulnerabilityCount
:
issuesCount
},
{
type
,
vulnerabilityCount
:
issuesCount
},
);
);
},
},
translateText
(
type
)
{
translateText
(
type
)
{
...
...
ee/app/assets/javascripts/vue_shared/security_reports/store/utils.js
View file @
5d30da67
...
@@ -272,7 +272,7 @@ export const textBuilder = (
...
@@ -272,7 +272,7 @@ export const textBuilder = (
'
%{type} detected %{vulnerabilityCount} vulnerabilities for the source branch only
'
,
'
%{type} detected %{vulnerabilityCount} vulnerabilities for the source branch only
'
,
newIssues
,
newIssues
,
),
),
{
type
:
type
,
vulnerabilityCount
:
newIssues
},
{
type
,
vulnerabilityCount
:
newIssues
},
);
);
}
}
...
@@ -291,7 +291,7 @@ export const textBuilder = (
...
@@ -291,7 +291,7 @@ export const textBuilder = (
'
%{type} detected %{vulnerabilityCount} new vulnerabilities
'
,
'
%{type} detected %{vulnerabilityCount} new vulnerabilities
'
,
newIssues
,
newIssues
,
),
),
{
type
:
type
,
vulnerabilityCount
:
newIssues
},
{
type
,
vulnerabilityCount
:
newIssues
},
);
);
}
}
...
@@ -303,7 +303,7 @@ export const textBuilder = (
...
@@ -303,7 +303,7 @@ export const textBuilder = (
'
%{type} detected %{vulnerabilityCount} new vulnerabilities
'
,
'
%{type} detected %{vulnerabilityCount} new vulnerabilities
'
,
newIssues
,
newIssues
,
),
),
{
type
:
type
,
vulnerabilityCount
:
newIssues
},
{
type
,
vulnerabilityCount
:
newIssues
},
)}
)}
${
n__
(
'
and 1 fixed vulnerability
'
,
'
and %d fixed vulnerabilities
'
,
resolvedIssues
)}
`
;
${
n__
(
'
and 1 fixed vulnerability
'
,
'
and %d fixed vulnerabilities
'
,
resolvedIssues
)}
`
;
}
}
...
@@ -316,7 +316,7 @@ export const textBuilder = (
...
@@ -316,7 +316,7 @@ export const textBuilder = (
'
%{type} detected %{vulnerabilityCount} fixed vulnerabilities
'
,
'
%{type} detected %{vulnerabilityCount} fixed vulnerabilities
'
,
resolvedIssues
,
resolvedIssues
,
),
),
{
type
:
type
,
vulnerabilityCount
:
resolvedIssues
},
{
type
,
vulnerabilityCount
:
resolvedIssues
},
);
);
}
}
}
}
...
...
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