Commit d2971982 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch 'ar-add-days-selected' into 'master'

Add selected to description

See merge request gitlab-org/gitlab!65184
parents 6bf61eb6 5e2bf925
...@@ -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>
......
...@@ -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] ""
......
...@@ -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', () => {
......
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