fix: i18ze a string
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
2262b49aaf
commit
7475b754aa
|
@ -242,7 +242,7 @@ async function markAsDone(checked: boolean) {
|
||||||
t('task.doneSuccess') :
|
t('task.doneSuccess') :
|
||||||
t('task.undoneSuccess'),
|
t('task.undoneSuccess'),
|
||||||
}, [{
|
}, [{
|
||||||
title: 'Undo',
|
title: t('task.undo'),
|
||||||
callback: () => undoDone(checked),
|
callback: () => undoDone(checked),
|
||||||
}])
|
}])
|
||||||
}
|
}
|
||||||
|
|
|
@ -606,6 +606,7 @@
|
||||||
"addReminder": "Add a new reminder…",
|
"addReminder": "Add a new reminder…",
|
||||||
"doneSuccess": "The task was successfully marked as done.",
|
"doneSuccess": "The task was successfully marked as done.",
|
||||||
"undoneSuccess": "The task was successfully un-marked as done.",
|
"undoneSuccess": "The task was successfully un-marked as done.",
|
||||||
|
"undo": "Undo",
|
||||||
"openDetail": "Open task detail view",
|
"openDetail": "Open task detail view",
|
||||||
"checklistTotal": "{checked} of {total} tasks",
|
"checklistTotal": "{checked} of {total} tasks",
|
||||||
"checklistAllDone": "{total} tasks",
|
"checklistAllDone": "{total} tasks",
|
||||||
|
|
|
@ -731,7 +731,7 @@ async function saveTask(args?: {
|
||||||
let actions = []
|
let actions = []
|
||||||
if (undoCallback !== null) {
|
if (undoCallback !== null) {
|
||||||
actions = [{
|
actions = [{
|
||||||
title: 'Undo',
|
title: t('task.undo'),
|
||||||
callback: undoCallback,
|
callback: undoCallback,
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue