feat(export/share): use translation

This commit is contained in:
Elian Doran 2025-06-23 20:14:13 +03:00
parent b475037127
commit 61dbc15fc6
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,8 @@
"export_status": "Export status", "export_status": "Export status",
"export_in_progress": "Export in progress: {{progressCount}}", "export_in_progress": "Export in progress: {{progressCount}}",
"export_finished_successfully": "Export finished successfully.", "export_finished_successfully": "Export finished successfully.",
"format_pdf": "PDF - for printing or sharing purposes." "format_pdf": "PDF - for printing or sharing purposes.",
"share-format": "HTML for web publishing - uses the same theme that is used shared notes, but can be published as a static website."
}, },
"help": { "help": {
"fullDocumentation": "Help (full documentation is available <a class=\"external\" href=\"https://triliumnext.github.io/Docs/\">online</a>)", "fullDocumentation": "Help (full documentation is available <a class=\"external\" href=\"https://triliumnext.github.io/Docs/\">online</a>)",
@ -1197,7 +1198,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",

View File

@ -89,7 +89,7 @@ const TPL = /*html*/`
<div class="form-check"> <div class="form-check">
<label class="form-check-label tn-radio"> <label class="form-check-label tn-radio">
<input class="form-check-input" type="radio" name="export-subtree-format" value="share"> <input class="form-check-input" type="radio" name="export-subtree-format" value="share">
Share format ${t("export.share-format")}
</label> </label>
</div> </div>
</div> </div>