mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 00:02:28 +08:00
i18n(time_selector): translate invalid_input message
This commit is contained in:
parent
f672054441
commit
35a3d326f7
@ -116,8 +116,7 @@ export default class TimeSelector extends OptionsWidget {
|
|||||||
|
|
||||||
handleTimeValidation() {
|
handleTimeValidation() {
|
||||||
if (this.$timeValueInput.is(":invalid")) {
|
if (this.$timeValueInput.is(":invalid")) {
|
||||||
// TriliumNextTODO: i18n
|
toastService.showMessage(t("time_selector.invalid_input"));
|
||||||
toastService.showMessage("The entered time value is not a valid number.");
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -1655,5 +1655,8 @@
|
|||||||
"minutes": "Minutes",
|
"minutes": "Minutes",
|
||||||
"hours": "Hours",
|
"hours": "Hours",
|
||||||
"days": "Days"
|
"days": "Days"
|
||||||
|
},
|
||||||
|
"time_selector": {
|
||||||
|
"invalid_input": "The entered time value is not a valid number."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user