mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
i18n: Translate locale section
This commit is contained in:
parent
22dc4ef997
commit
e086ba5eb4
@ -1,14 +1,15 @@
|
||||
import OptionsWidget from "../options_widget.js";
|
||||
import server from "../../../../services/server.js";
|
||||
import utils from "../../../../services/utils.js";
|
||||
import { t } from "../../../../services/i18n.js";
|
||||
|
||||
const TPL = `
|
||||
<div class="options-section">
|
||||
<h4>Localization</h4>
|
||||
<h4>${t("i18n.title")}</h4>
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="col-6">
|
||||
<label>Language</label>
|
||||
<label>${t("i18n.language")}</label>
|
||||
<select class="locale-select form-control"></select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -536,7 +536,6 @@
|
||||
"delete_success": "Attachment '{{title}}' has been deleted.",
|
||||
"convert_confirm": "Are you sure you want to convert attachment '{{title}}' into a separate note?",
|
||||
"convert_success": "Attachment '{{title}}' has been converted to note.",
|
||||
"rename_attachment": "Rename attachment",
|
||||
"enter_new_name": "Please enter new attachment's name"
|
||||
},
|
||||
"calendar": {
|
||||
@ -1115,5 +1114,9 @@
|
||||
"title": "Automatic Read-Only Size",
|
||||
"description": "Automatic read-only note size is the size after which notes will be displayed in a read-only mode (for performance reasons).",
|
||||
"label": "Automatic read-only size (text notes)"
|
||||
},
|
||||
"i18n": {
|
||||
"title": "Localization",
|
||||
"language": "Language"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user