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