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
e3d7e482
Commit
e3d7e482
authored
Jul 07, 2021
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
dc061823
d2971982
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/assets/javascripts/analytics/shared/components/daterange.vue
...ets/javascripts/analytics/shared/components/daterange.vue
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+5
-0
spec/frontend/analytics/shared/components/daterange_spec.js
spec/frontend/analytics/shared/components/daterange_spec.js
+1
-1
No files found.
app/assets/javascripts/analytics/shared/components/daterange.vue
View file @
e3d7e482
...
@@ -104,7 +104,7 @@ export default {
...
@@ -104,7 +104,7 @@ export default {
class=
"daterange-indicator d-flex flex-row flex-lg-row align-items-flex-start align-items-lg-center"
class=
"daterange-indicator d-flex flex-row flex-lg-row align-items-flex-start align-items-lg-center"
>
>
<span
class=
"number-of-days pl-2 pr-1"
>
<span
class=
"number-of-days pl-2 pr-1"
>
<gl-sprintf
:message=
"n__('1 day
', '%d days
', numberOfDays)"
>
<gl-sprintf
:message=
"n__('1 day
selected', '%d days selected
', numberOfDays)"
>
<template
#numberOfDays
>
{{
numberOfDays
}}
</
template
>
<template
#numberOfDays
>
{{
numberOfDays
}}
</
template
>
</gl-sprintf>
</gl-sprintf>
</span>
</span>
...
...
locale/gitlab.pot
View file @
e3d7e482
...
@@ -1223,6 +1223,11 @@ msgid_plural "%d days remaining"
...
@@ -1223,6 +1223,11 @@ msgid_plural "%d days remaining"
msgstr[0] ""
msgstr[0] ""
msgstr[1] ""
msgstr[1] ""
msgid "1 day selected"
msgid_plural "%d days selected"
msgstr[0] ""
msgstr[1] ""
msgid "1 deploy key"
msgid "1 deploy key"
msgid_plural "%d deploy keys"
msgid_plural "%d deploy keys"
msgstr[0] ""
msgstr[0] ""
...
...
spec/frontend/analytics/shared/components/daterange_spec.js
View file @
e3d7e482
...
@@ -76,7 +76,7 @@ describe('Daterange component', () => {
...
@@ -76,7 +76,7 @@ describe('Daterange component', () => {
});
});
it
(
'
displays the correct number of selected days in the indicator
'
,
()
=>
{
it
(
'
displays the correct number of selected days in the indicator
'
,
()
=>
{
expect
(
findDateRangeIndicator
().
find
(
'
span
'
).
text
()).
toBe
(
'
10 days
'
);
expect
(
findDateRangeIndicator
().
find
(
'
span
'
).
text
()).
toBe
(
'
10 days
selected
'
);
});
});
it
(
'
displays a tooltip
'
,
()
=>
{
it
(
'
displays a tooltip
'
,
()
=>
{
...
...
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