mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
client: Use translations for first day of week
This commit is contained in:
parent
9fa31db207
commit
bfea3d53b3
1
.vscode/i18n-ally-custom-framework.yml
vendored
1
.vscode/i18n-ally-custom-framework.yml
vendored
@ -24,6 +24,7 @@ scopeRangeRegex: "useTranslation\\(\\s*\\[?\\s*['\"`](.*?)['\"`]"
|
|||||||
# The "$1" will be replaced by the keypath specified.
|
# The "$1" will be replaced by the keypath specified.
|
||||||
refactorTemplates:
|
refactorTemplates:
|
||||||
- t("$1")
|
- t("$1")
|
||||||
|
- ${t("$1")}
|
||||||
|
|
||||||
|
|
||||||
# If set to true, only enables this custom framework (will disable all built-in frameworks)
|
# If set to true, only enables this custom framework (will disable all built-in frameworks)
|
||||||
|
@ -14,10 +14,10 @@ const TPL = `
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<label>First day of the week</label>
|
<label>${t("i18n.first-day-of-the-week")}</label>
|
||||||
<select class="first-day-of-week-select form-control">
|
<select class="first-day-of-week-select form-control">
|
||||||
<option value="0">Sunday</option>
|
<option value="0">${t("i18n.sunday")}</option>
|
||||||
<option value="1">Monday</option>
|
<option value="1">${t("i18n.monday")}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1117,7 +1117,10 @@
|
|||||||
},
|
},
|
||||||
"i18n": {
|
"i18n": {
|
||||||
"title": "Localization",
|
"title": "Localization",
|
||||||
"language": "Language"
|
"language": "Language",
|
||||||
|
"first-day-of-the-week": "First day of the week",
|
||||||
|
"sunday": "Sunday",
|
||||||
|
"monday": "Monday"
|
||||||
},
|
},
|
||||||
"backup": {
|
"backup": {
|
||||||
"automatic_backup": "Automatic backup",
|
"automatic_backup": "Automatic backup",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user