mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +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() {
|
||||
if (this.$timeValueInput.is(":invalid")) {
|
||||
// TriliumNextTODO: i18n
|
||||
toastService.showMessage("The entered time value is not a valid number.");
|
||||
toastService.showMessage(t("time_selector.invalid_input"));
|
||||
return false
|
||||
}
|
||||
return true;
|
||||
|
@ -1655,5 +1655,8 @@
|
||||
"minutes": "Minutes",
|
||||
"hours": "Hours",
|
||||
"days": "Days"
|
||||
},
|
||||
"time_selector": {
|
||||
"invalid_input": "The entered time value is not a valid number."
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user