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 OptionsWidget from "../options_widget.js";
|
||||||
import server from "../../../../services/server.js";
|
import server from "../../../../services/server.js";
|
||||||
import utils from "../../../../services/utils.js";
|
import utils from "../../../../services/utils.js";
|
||||||
|
import { t } from "../../../../services/i18n.js";
|
||||||
|
|
||||||
const TPL = `
|
const TPL = `
|
||||||
<div class="options-section">
|
<div class="options-section">
|
||||||
<h4>Localization</h4>
|
<h4>${t("i18n.title")}</h4>
|
||||||
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<label>Language</label>
|
<label>${t("i18n.language")}</label>
|
||||||
<select class="locale-select form-control"></select>
|
<select class="locale-select form-control"></select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user