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
294a2a70
Commit
294a2a70
authored
Feb 10, 2019
by
Katrin Leinweber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize date picker string
parent
5b23f2b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/assets/javascripts/vue_shared/components/pikaday.vue
app/assets/javascripts/vue_shared/components/pikaday.vue
+2
-1
app/assets/javascripts/vue_shared/components/sidebar/date_picker.vue
...javascripts/vue_shared/components/sidebar/date_picker.vue
+2
-1
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/assets/javascripts/vue_shared/components/pikaday.vue
View file @
294a2a70
<
script
>
import
Pikaday
from
'
pikaday
'
;
import
{
parsePikadayDate
,
pikadayToString
}
from
'
~/lib/utils/datetime_utility
'
;
import
{
__
}
from
'
~/locale
'
;
export
default
{
name
:
'
DatePicker
'
,
...
...
@@ -8,7 +9,7 @@ export default {
label
:
{
type
:
String
,
required
:
false
,
default
:
'
Date picker
'
,
default
:
__
(
'
Date picker
'
)
,
},
selectedDate
:
{
type
:
Date
,
...
...
app/assets/javascripts/vue_shared/components/sidebar/date_picker.vue
View file @
294a2a70
...
...
@@ -4,6 +4,7 @@ import datePicker from '../pikaday.vue';
import
toggleSidebar
from
'
./toggle_sidebar.vue
'
;
import
collapsedCalendarIcon
from
'
./collapsed_calendar_icon.vue
'
;
import
{
dateInWords
}
from
'
../../../lib/utils/datetime_utility
'
;
import
{
__
}
from
'
~/locale
'
;
export
default
{
name
:
'
SidebarDatePicker
'
,
...
...
@@ -42,7 +43,7 @@ export default {
label
:
{
type
:
String
,
required
:
false
,
default
:
'
Date picker
'
,
default
:
__
(
'
Date picker
'
)
,
},
selectedDate
:
{
type
:
Date
,
...
...
locale/gitlab.pot
View file @
294a2a70
...
...
@@ -2501,6 +2501,9 @@ msgstr ""
msgid "Data is still calculating..."
msgstr ""
msgid "Date picker"
msgstr ""
msgid "Debug"
msgstr ""
...
...
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