File tree Expand file tree Collapse file tree 2 files changed +26
-6
lines changed
src/components/NcDatetimePicker Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,24 @@ msgstr ""
158158msgid "People & Body"
159159msgstr ""
160160
161+ msgid "Pick a date"
162+ msgstr ""
163+
164+ msgid "Pick a date and a time"
165+ msgstr ""
166+
167+ msgid "Pick a month"
168+ msgstr ""
169+
170+ msgid "Pick a time"
171+ msgstr ""
172+
173+ msgid "Pick a week"
174+ msgstr ""
175+
176+ msgid "Pick a year"
177+ msgstr ""
178+
161179msgid "Pick an emoji"
162180msgstr ""
163181
Original file line number Diff line number Diff line change @@ -170,6 +170,8 @@ export default {
170170</template >
171171
172172<script >
173+ import { t } from ' ../../l10n.js'
174+
173175import NcTimezonePicker from ' ../NcTimezonePicker/index.js'
174176import NcPopover from ' ../NcPopover/index.js'
175177import l10n from ' ../../mixins/l10n.js'
@@ -327,21 +329,21 @@ export default {
327329 */
328330 defaultPlaceholder () {
329331 if (this .type === ' time' ) {
330- return this . t (' Pick a time' )
332+ return t (' Pick a time' )
331333 }
332334 if (this .type === ' month' ) {
333- return this . t (' Pick a month' )
335+ return t (' Pick a month' )
334336 }
335337 if (this .type === ' year' ) {
336- return this . t (' Pick a year' )
338+ return t (' Pick a year' )
337339 }
338340 if (this .type === ' week' ) {
339- return this . t (' Pick a week' )
341+ return t (' Pick a week' )
340342 }
341343 if (this .type === ' date' ) {
342- return this . t (' Pick a date' )
344+ return t (' Pick a date' )
343345 }
344- return this . t (' Pick a date and a time' )
346+ return t (' Pick a date and a time' )
345347 },
346348
347349 /**
You can’t perform that action at this time.
0 commit comments