Fix translate function again
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
parent
de531432be
commit
bcc39c77be
1 changed files with 2 additions and 2 deletions
|
@ -61,9 +61,9 @@ export default {
|
|||
var date = moment().add(day, 'day')
|
||||
var dayString
|
||||
if (day === 0) {
|
||||
dayString = this.$t('tasks', 'Today')
|
||||
dayString = t('tasks', 'Today')
|
||||
} else if (day === 1) {
|
||||
dayString = this.$t('tasks', 'Tomorrow')
|
||||
dayString = t('tasks', 'Tomorrow')
|
||||
} else {
|
||||
dayString = date.format('dddd')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue