mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
feat(i18n): translate duration units
This commit is contained in:
parent
a5cb78c5ec
commit
e79c742d56
@ -16,10 +16,10 @@ const TPL = `
|
||||
<input id="erase-entities-after-time" class="form-control options-number-input" type="number" min="0" steps="1" required>
|
||||
<!-- TriliumNextTODO: i18n the strings when refactoring this to a standalone widget -->
|
||||
<select id="erase-entities-after-time-scale" class="form-select" required>
|
||||
<option value="1">Seconds</option>
|
||||
<option value="60">Minutes</option>
|
||||
<option value="3600">Hours</option>
|
||||
<option value="86400">Days</option>
|
||||
<option value="1">${t("duration.seconds")}</option>
|
||||
<option value="60">${t("duration.minutes")}</option>
|
||||
<option value="3600">${t("duration.hours")}</option>
|
||||
<option value="86400">${t("duration.days")}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1648,5 +1648,11 @@
|
||||
},
|
||||
"help-button": {
|
||||
"title": "Open the relevant help page"
|
||||
},
|
||||
"duration": {
|
||||
"seconds": "Seconds",
|
||||
"minutes": "Minutes",
|
||||
"hours": "Hours",
|
||||
"days": "Days"
|
||||
}
|
||||
}
|
||||
|
@ -1644,5 +1644,11 @@
|
||||
"geo-map": {
|
||||
"create-child-note-title": "Crează o notiță nouă și adaug-o pe hartă",
|
||||
"unable-to-load-map": "Nu s-a putut încărca harta."
|
||||
},
|
||||
"duration": {
|
||||
"days": "zile",
|
||||
"hours": "ore",
|
||||
"minutes": "minute",
|
||||
"seconds": "secunde"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user