mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 23:29:02 +02:00
chore(options): use translations
This commit is contained in:
parent
b7f5c0e07a
commit
9dc157b970
@ -1197,7 +1197,6 @@
|
||||
"restore_provider": "Restore provider to search",
|
||||
"similarity_threshold": "Similarity Threshold",
|
||||
"similarity_threshold_description": "Minimum similarity score (0-1) for notes to be included in context for LLM queries",
|
||||
|
||||
"reprocess_index": "Rebuild Search Index",
|
||||
"reprocessing_index": "Rebuilding...",
|
||||
"reprocess_index_started": "Search index optimization started in the background",
|
||||
@ -1929,5 +1928,10 @@
|
||||
"download_link": "Download Native Version",
|
||||
"continue_anyway": "Continue Anyway",
|
||||
"dont_show_again": "Don't show this warning again"
|
||||
},
|
||||
"editorfeatures": {
|
||||
"title": "Features",
|
||||
"emoji_completion_enabled": "Enable Emoji auto-completion",
|
||||
"note_completion_enabled": "Enable note auto-completion"
|
||||
}
|
||||
}
|
||||
|
@ -1,21 +1,22 @@
|
||||
import { OptionMap } from "@triliumnext/commons";
|
||||
import OptionsWidget from "../options_widget";
|
||||
import { t } from "../../../../services/i18n";
|
||||
|
||||
const TPL = /*html*/`
|
||||
<div class="options-section">
|
||||
<h4>Features</h4>
|
||||
<h4>${t("editorfeatures.title")}</h4>
|
||||
|
||||
<div>
|
||||
<label class="tn-checkbox">
|
||||
<input type="checkbox" name="emoji-completion-enabled" />
|
||||
Enable Emoji auto-completion
|
||||
${t("editorfeatures.emoji_completion_enabled")}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="tn-checkbox">
|
||||
<input type="checkbox" name="note-completion-enabled" />
|
||||
Enable note auto-completion
|
||||
${t("editorfeatures.note_completion_enabled")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user