Skip to content

Build your personal knowledge base with Trilium Notes

Merge remote-tracking branch 'upstream-next/develop' into feature/i18n

Nriver14bdd3819fad
diff --cc src/public/app/services/i18n.js
index 0c9a52a0da,f09e8d8813..8dbce35f03
--- a/src/public/app/services/i18n.js
+++ b/src/public/app/services/i18n.js
@@@ -5,11 -5,12 +5,13 @@@ await library_loader.requireLibrary(lib
await i18next
.use(i18nextHttpBackend)
.init({
-- lng: "en",
- fallbackLng: "en",
++ lng: "cn",
++ // lng: "en",
++ // fallbackLng: "en",
debug: true,
backend: {
loadPath: `/${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json`
- }
+ }
});
--export const t = i18next.t;
++export const t = i18next.t;
diff --cc src/public/app/widgets/buttons/global_menu.js
index fd3cc944ba,7203cb6900..b934b41185
--- a/src/public/app/widgets/buttons/global_menu.js
+++ b/src/public/app/widgets/buttons/global_menu.js
@@@ -93,7 -103,23 +104,23 @@@ const TPL =
<button type="button" data-toggle="dropdown" data-placement="right"
aria-haspopup="true" aria-expanded="false"
- class="icon-action global-menu-button" title="Menu">
+ class="icon-action global-menu-button" title="${t('global_menu.menu')}">
+ <svg viewBox="0 0 256 256">
+ <g>
+ <path class="st0" d="m202.9 112.7c-22.5 16.1-54.5 12.8-74.9 6.3l14.8-11.8 14.1-11.3 49.1-39.3-51.2 35.9-14.3 10-14.9 10.5c0.7-21.2 7-49.9 28.6-65.4 1.8-1.3 3.9-2.6 6.1-3.8 2.7-1.5 5.7-2.9 8.8-4.1 27.1-11.1 68.5-15.3 85.2-9.5 0.1 16.2-15.9 45.4-33.9 65.9-2.4 2.8-4.9 5.4-7.4 7.8-3.4 3.5-6.8 6.4-10.1 8.8z"/>
+ <path class="st1" d="m213.1 104c-22.2 12.6-51.4 9.3-70.3 3.2l14.1-11.3 49.1-39.3-51.2 35.9-14.3 10c0.5-18.1 4.9-42.1 19.7-58.6 2.7-1.5 5.7-2.9 8.8-4.1 27.1-11.1 68.5-15.3 85.2-9.5 0.1 16.2-15.9 45.4-33.9 65.9-2.3 2.8-4.8 5.4-7.2 7.8z"/>
+ <path class="st2" d="m220.5 96.2c-21.1 8.6-46.6 5.3-63.7-0.2l49.2-39.4-51.2 35.9c0.3-15.8 3.5-36.6 14.3-52.8 27.1-11.1 68.5-15.3 85.2-9.5 0.1 16.2-15.9 45.4-33.8 66z"/>
+
+ <path class="st3" d="m106.7 179c-5.8-21 5.2-43.8 15.5-57.2l4.8 14.2 4.5 13.4 15.9 47-12.8-47.6-3.6-13.2-3.7-13.9c15.5 6.2 35.1 18.6 40.7 38.8 0.5 1.7 0.9 3.6 1.2 5.5 0.4 2.4 0.6 5 0.7 7.7 0.9 23.1-7.1 54.9-15.9 65.7-12-4.3-29.3-24-39.7-42.8-1.4-2.6-2.7-5.1-3.8-7.6-1.6-3.5-2.9-6.8-3.8-10z"/>
+ <path class="st4" d="m110.4 188.9c-3.4-19.8 6.9-40.5 16.6-52.9l4.5 13.4 15.9 47-12.8-47.6-3.6-13.2c13.3 5.2 29.9 15 38.1 30.4 0.4 2.4 0.6 5 0.7 7.7 0.9 23.1-7.1 54.9-15.9 65.7-12-4.3-29.3-24-39.7-42.8-1.4-2.6-2.7-5.2-3.8-7.7z"/>
+ <path class="st5" d="m114.2 196.5c-0.7-18 8.6-35.9 17.3-47.1l15.9 47-12.8-47.6c11.6 4.4 26.1 12.4 35.2 24.8 0.9 23.1-7.1 54.9-15.9 65.7-12-4.3-29.3-24-39.7-42.8z"/>
+
+ <path class="st6" d="m86.3 59.1c21.7 10.9 32.4 36.6 35.8 54.9l-15.2-6.6-14.5-6.3-50.6-22 48.8 24.9 13.6 6.9 14.3 7.3c-16.6 7.9-41.3 14.5-62.1 4.1-1.8-0.9-3.6-1.9-5.4-3.2-2.3-1.5-4.5-3.2-6.8-5.1-19.9-16.4-40.3-46.4-42.7-61.5 12.4-6.5 41.5-5.8 64.8-0.3 3.2 0.8 6.2 1.6 9.1 2.5 4 1.3 7.6 2.8 10.9 4.4z"/>
+ <path class="st7" d="m75.4 54.8c18.9 12 28.4 35.6 31.6 52.6l-14.5-6.3-50.6-22 48.7 24.9 13.6 6.9c-14.1 6.8-34.5 13-53.3 8.2-2.3-1.5-4.5-3.2-6.8-5.1-19.8-16.4-40.2-46.4-42.6-61.5 12.4-6.5 41.5-5.8 64.8-0.3 3.1 0.8 6.2 1.6 9.1 2.6z"/>
+ <path class="st8" d="m66.3 52.2c15.3 12.8 23.3 33.6 26.1 48.9l-50.6-22 48.8 24.9c-12.2 6-29.6 11.8-46.5 10-19.8-16.4-40.2-46.4-42.6-61.5 12.4-6.5 41.5-5.8 64.8-0.3z"/>
+ </g>
+ </svg>
+
<div class="global-menu-button-update-available"></div>
</button>
diff --cc src/public/app/widgets/dialogs/add_link.js
index 63ce7c0c55,0c7772fc85..9fa6b1603d
--- a/src/public/app/widgets/dialogs/add_link.js
+++ b/src/public/app/widgets/dialogs/add_link.js
@@@ -9,11 -8,11 +9,11 @@@ const TPL =
<div class="modal-dialog modal-lg" style="max-width: 1000px" role="document">
<div class="modal-content">
<div class="modal-header">
- <h5 class="modal-title mr-auto">Add link</h5>
+ <h5 class="modal-title mr-auto">${t('add_link.add_link')}</h5>
- <button type="button" class="help-button" title="${t('add_link.help_on_links')}" data-help-page="Links">?</button>
- <button type="button" class="help-button" title="Help on links" data-help-page="links.md">?</button>
++ <button type="button" class="help-button" title="${t('add_link.help_on_links')}" data-help-page="links.md">?</button>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0 !important;">
+ <button type="button" class="close" data-dismiss="modal" aria-label="${t('add_link.close')}" style="margin-left: 0 !important;">
<span aria-hidden="true">&times;</span>
</button>
</div>
diff --cc src/public/app/widgets/dialogs/branch_prefix.js
index 4c91146e0d,5167d83f10..670ff1f210
--- a/src/public/app/widgets/dialogs/branch_prefix.js
+++ b/src/public/app/widgets/dialogs/branch_prefix.js
@@@ -14,11 -13,11 +14,11 @@@ const TPL = `<div class="branch-prefix-
<form class="branch-prefix-form">
<div class="modal-content">
<div class="modal-header">
- <h5 class="modal-title mr-auto">Edit branch prefix</h5>
+ <h5 class="modal-title mr-auto">${t('branch_prefix.edit_branch_prefix')}</h5>
- <button class="help-button" type="button" data-help-page="Tree-concepts#prefix" title="${t('branch_prefix.help_on_tree_prefix')}">?</button>
- <button class="help-button" type="button" data-help-page="tree-concepts.md#prefix" title="Help on Tree prefix">?</button>
++ <button class="help-button" type="button" data-help-page="tree-concepts.md#prefix" title="${t('branch_prefix.help_on_tree_prefix')}">?</button>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0;">
+ <button type="button" class="close" data-dismiss="modal" aria-label="${t('branch_prefix.close')}" style="margin-left: 0;">
<span aria-hidden="true">&times;</span>
</button>
</div>
diff --cc src/public/app/widgets/dialogs/clone_to.js
index f1e991dd2c,2011178bd7..3862075db9
--- a/src/public/app/widgets/dialogs/clone_to.js
+++ b/src/public/app/widgets/dialogs/clone_to.js
@@@ -13,9 -12,9 +13,9 @@@ const TPL =
<div class="modal-dialog modal-lg" style="max-width: 1000px" role="document">
<div class="modal-content">
<div class="modal-header">
- <h5 class="modal-title mr-auto">Clone notes to ...</h5>
+ <h5 class="modal-title mr-auto">${t('clone_to.clone_notes_to')}</h5>
- <button type="button" class="help-button" title="${t('clone_to.help_on_links')}" data-help-page="Cloning-notes">?</button>
- <button type="button" class="help-button" title="Help on links" data-help-page="cloning-notes.md">?</button>
++ <button type="button" class="help-button" title="${t('clone_to.help_on_links')}" data-help-page="cloning-notes.md">?</button>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0 !important;">
<span aria-hidden="true">&times;</span>
diff --cc src/public/app/widgets/dialogs/help.js
index 8a6822db82,2b39ef5c33..53801b5d0c
--- a/src/public/app/widgets/dialogs/help.js
+++ b/src/public/app/widgets/dialogs/help.js
@@@ -107,7 -107,7 +107,7 @@@ const TPL =
<div class="card">
<div class="card-body">
- <h5 class="card-title"><a class="external" href="https://github.com/zadam/trilium/wiki/Text-notes#autoformat">${t('help.markdownAutoformat')}</a></h5>
- <h5 class="card-title"><a class="external" href="https://github.com/TriliumNext/Docs/blob/main/Wiki/text-notes.md#markdown--autoformat">Markdown-like autoformatting</a></h5>
++ <h5 class="card-title"><a class="external" href="https://github.com/TriliumNext/Docs/blob/main/Wiki/text-notes.md#markdown--autoformat">${t('help.markdownAutoformat')}</a></h5>
<p class="card-text">
<ul>
diff --cc src/public/app/widgets/dialogs/protected_session_password.js
index 31e245e437,4985fc09d9..276f949a49
--- a/src/public/app/widgets/dialogs/protected_session_password.js
+++ b/src/public/app/widgets/dialogs/protected_session_password.js
@@@ -8,11 -7,11 +8,11 @@@ const TPL =
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<div class="modal-header">
- <h5 class="modal-title mr-auto">Protected session</h5>
+ <h5 class="modal-title mr-auto">${t("protected_session_password.modal_title")}</h5>
- <button class="help-button" type="button" data-help-page="Protected-notes" title="${t("protected_session_password.help_title")}">?</button>
- <button class="help-button" type="button" data-help-page="protected-notes.md" title="Help on Protected notes">?</button>
++ <button class="help-button" type="button" data-help-page="protected-notes.md" title="${t("protected_session_password.help_title")}">?</button>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0;">
+ <button type="button" class="close" data-dismiss="modal" aria-label="${t("protected_session_password.close_label")}" style="margin-left: 0;">
<span aria-hidden="true">&times;</span>
</button>
</div>
diff --cc src/public/app/widgets/dialogs/revisions.js
index 65d2a7dae5,f455cb3fee..625e1c58d3
--- a/src/public/app/widgets/dialogs/revisions.js
+++ b/src/public/app/widgets/dialogs/revisions.js
@@@ -40,13 -39,13 +40,13 @@@ const TPL =
<div class="modal-dialog modal-xl" role="document">
<div class="modal-content">
<div class="modal-header">
- <h5 class="modal-title mr-auto">Note revisions</h5>
+ <h5 class="modal-title mr-auto">${t("revisions.note_revisions")}</h5>
<button class="revisions-erase-all-revisions-button btn btn-sm"
- title="Delete all revisions of this note"
- style="padding: 0 10px 0 10px;" type="button">Delete all revisions</button>
+ title="${t("revisions.delete_all_revisions")}"
+ style="padding: 0 10px 0 10px;" type="button">${t("revisions.delete_all_button")}</button>
- <button class="help-button" type="button" data-help-page="Note-revisions" title="${t("revisions.help_title")}">?</button>
- <button class="help-button" type="button" data-help-page="note-revisions.md" title="Help on Note revisions">?</button>
++ <button class="help-button" type="button" data-help-page="note-revisions.md" title="${t("revisions.help_title")}">?</button>
<button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0 !important;">
<span aria-hidden="true">&times;</span>
diff --cc src/public/app/widgets/search_options/search_string.js
index b44ff64d5b,e36b2d534e..f3c83cdf2e
--- a/src/public/app/widgets/search_options/search_string.js
+++ b/src/public/app/widgets/search_options/search_string.js
@@@ -15,16 -14,16 +15,16 @@@ const TPL =
<div class="dropdown help-dropdown">
<span class="bx bx-help-circle icon-action" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></span>
<div class="dropdown-menu dropdown-menu-right p-4">
- <strong>${t('search_string.search_syntax')}</strong> - ${t('search_string.also_see')} <button class="btn btn-sm" type="button" data-help-page="Search">${t('search_string.complete_help')}</button>
- <strong>Search syntax</strong> - also see <button class="btn btn-sm" type="button" data-help-page="search.md">complete help on search syntax</button>
++ <strong>${t('search_string.search_syntax')}</strong> - ${t('search_string.also_see')} <button class="btn btn-sm" type="button" data-help-page="search.md">${t('search_string.complete_help')}</button>
<p>
<ul>
- <li>Just enter any text for full text search</li>
- <li><code>#abc</code> - returns notes with label abc</li>
- <li><code>#year = 2019</code> - matches notes with label <code>year</code> having value <code>2019</code></li>
- <li><code>#rock #pop</code> - matches notes which have both <code>rock</code> and <code>pop</code> labels</li>
- <li><code>#rock or #pop</code> - only one of the labels must be present</li>
- <li><code>#year &lt;= 2000</code> - numerical comparison (also &gt;, &gt;=, &lt;).</li>
- <li><code>note.dateCreated >= MONTH-1</code> - notes created in the last month</li>
+ <li>${t('search_string.full_text_search')}</li>
+ <li><code>#abc</code> - ${t('search_string.label_abc')}</li>
+ <li><code>#year = 2019</code> - ${t('search_string.label_year')}</li>
+ <li><code>#rock #pop</code> - ${t('search_string.label_rock_pop')}</li>
+ <li><code>#rock or #pop</code> - ${t('search_string.label_rock_or_pop')}</li>
+ <li><code>#year &lt;= 2000</code> - ${t('search_string.label_year_comparison')}</li>
+ <li><code>note.dateCreated >= MONTH-1</code> - ${t('search_string.label_date_created')}</li>
</ul>
</p>
</div>
diff --cc src/public/app/widgets/type_widgets/attachment_detail.js
index 9bdec99adb,03041b54e4..d4c7f1178f
--- a/src/public/app/widgets/type_widgets/attachment_detail.js
+++ b/src/public/app/widgets/type_widgets/attachment_detail.js
@@@ -48,7 -47,7 +48,7 @@@ export default class AttachmentDetailTy
this.$wrapper.empty();
this.children = [];
- const $helpButton = $('<button class="attachment-help-button" type="button" data-help-page="attachments" title="' + t('attachment_detail.open_help_page') + '"><span class="bx bx-help-circle"></span></button>');
- const $helpButton = $('<button class="attachment-help-button" type="button" data-help-page="attachments.md" title="Open help page on attachments"><span class="bx bx-help-circle"></span></button>');
++ const $helpButton = $('<button class="attachment-help-button" type="button" data-help-page="attachments.md" title="' + t('attachment_detail.open_help_page') + '"><span class="bx bx-help-circle"></span></button>');
utils.initHelpButtons($helpButton);
this.$linksWrapper.empty().append(
diff --cc src/public/app/widgets/type_widgets/attachment_list.js
index 5bb4587033,247f9e1e05..d2db52a434
--- a/src/public/app/widgets/type_widgets/attachment_list.js
+++ b/src/public/app/widgets/type_widgets/attachment_list.js
@@@ -40,7 -39,7 +40,7 @@@ export default class AttachmentListType
}
async doRefresh(note) {
- const $helpButton = $('<button class="attachment-help-button" type="button" data-help-page="attachments" title="' + t('attachment_list.open_help_page') + '"><span class="bx bx-help-circle"></span></button>');
- const $helpButton = $('<button class="attachment-help-button" type="button" data-help-page="attachments.md" title="Open help page on attachments"><span class="bx bx-help-circle"></span></button>');
++ const $helpButton = $('<button class="attachment-help-button" type="button" data-help-page="attachments.md" title="' + t('attachment_list.open_help_page') + '"><span class="bx bx-help-circle"></span></button>');
utils.initHelpButtons($helpButton);
const noteLink = await linkService.createLink(this.noteId); // do separately to avoid race condition between empty() and .append()
diff --cc src/public/translations/cn/translation.json
index c178fa86a3,0000000000..0745da583e
mode 100644,000000..100644
--- a/src/public/translations/cn/translation.json
+++ b/src/public/translations/cn/translation.json
@@@ -1,909 -1,0 +1,919 @@@
+{
+ "about": {
+ "title": "关于 TriliumNext Notes",
+ "homepage": "项目主页:",
+ "app_version": "应用版本:",
+ "db_version": "数据库版本:",
+ "sync_version": "同步版本:",
+ "build_date": "编译日期:",
+ "build_revision": "编译版本:",
+ "data_directory": "数据目录:"
+ },
++ "toast": {
++ "critical-error": {
++ "title": "严重错误",
++ "message": "发生了严重错误,导致客户端应用程序无法启动:\n\n{{message}}\n\n这很可能是由于脚本以意外的方式失败引起的。请尝试以安全模式启动应用程序并解决问题。"
++ },
++ "widget-error": {
++ "title": "小部件初始化失败",
++ "message": "标题为 \"{{title}}\" 的小部件由于以下原因无法初始化:\n\n{{message}}"
++ }
++ },
+ "add_link": {
+ "add_link": "添加链接",
+ "help_on_links": "链接帮助",
+ "close": "关闭",
+ "note": "笔记",
+ "search_note": "按名称搜索笔记",
+ "link_title_mirrors": "链接标题跟随笔记标题变化",
+ "link_title_arbitrary": "链接标题可随意修改",
+ "link_title": "链接标题"
+ },
+ "branch_prefix": {
+ "edit_branch_prefix": "编辑分支前缀",
+ "help_on_tree_prefix": "有关树前缀的帮助",
+ "close": "关闭",
+ "prefix": "前缀:",
+ "save": "保存",
+ "branch_prefix_saved": "分支前缀已保存。"
+ },
+ "bulk_actions": {
+ "bulk_actions": "批量操作",
+ "close": "关闭",
+ "affected_notes": "受影响的笔记",
+ "include_descendants": "包括所选笔记的子笔记",
+ "available_actions": "可用操作",
+ "chosen_actions": "选择的操作",
+ "execute_bulk_actions": "执行批量操作",
+ "bulk_actions_executed": "批量操作已成功执行。",
+ "none_yet": "暂无操作 ... 通过点击上方的可用操作添加一个操作。"
+ },
+ "clone_to": {
+ "clone_notes_to": "克隆笔记到...",
+ "help_on_links": "链接帮助",
+ "notes_to_clone": "要克隆的笔记",
+ "target_parent_note": "目标父笔记",
+ "search_for_note_by_its_name": "按名称搜索笔记",
+ "cloned_note_prefix_title": "克隆的笔记将在笔记树中显示给定的前缀",
+ "prefix_optional": "前缀(可选)",
+ "clone_to_selected_note": "克隆到选定的笔记 <kbd>回车</kbd>",
+ "no_path_to_clone_to": "没有克隆路径。",
+ "note_cloned": "笔记 \"{{clonedTitle}}\" 已克隆到 \"{{targetTitle}}\""
+ },
+ "confirm": {
+ "confirmation": "确认",
+ "cancel": "取消",
+ "ok": "确定",
+ "are_you_sure_remove_note": "确定要从关系图中移除笔记 \"{{title}}\" ?",
+ "if_you_dont_check": "如果不选中此项,笔记将仅从关系图中移除。",
+ "also_delete_note": "同时删除笔记"
+ },
+ "delete_notes": {
+ "delete_notes_preview": "删除笔记预览",
+ "delete_all_clones_description": "同时删除所有克隆(可以在最近修改中撤消)",
+ "erase_notes_description": "通常(软)删除仅标记笔记为已删除,可以在一段时间内通过最近修改对话框撤消。选中此选项将立即擦除笔记,不可撤销。",
+ "erase_notes_warning": "永久擦除笔记(无法撤销),包括所有克隆。这将强制应用程序重新加载。",
+ "notes_to_be_deleted": "将删除以下笔记(<span class=\"deleted-notes-count\"></span>)",
+ "no_note_to_delete": "没有笔记将被删除(仅克隆)。",
+ "broken_relations_to_be_deleted": "将删除以下关系并断开连接(<span class=\"broke-relations-count\"></span>)",
+ "cancel": "取消",
+ "ok": "确定",
+ "note": "笔记",
+ "to_be_deleted": "(将被删除的笔记) 被以下关系 <code>{{attrName}}</code> 引用, 来自 "
+ },
+ "export": {
+ "export_note_title": "导出笔记",
+ "close": "关闭",
+ "export_type_subtree": "此笔记及其所有子笔记",
+ "format_html": "HTML ZIP 归档 - 建议使用此选项,因为它保留了所有格式。",
+ "format_markdown": "Markdown - 保留大部分格式。",
+ "format_opml": "OPML - 大纲交换格式,仅限文本。不包括格式、图像和文件。",
+ "opml_version_1": "OPML v1.0 - 仅限纯文本",
+ "opml_version_2": "OMPL v2.0 - 还允许 HTML",
+ "export_type_single": "仅此笔记,不包括子笔记",
+ "export": "导出",
+ "choose_export_type": "请先选择导出类型",
+ "export_status": "导出状态",
+ "export_in_progress": "导出进行中:{{progressCount}}",
+ "export_finished_successfully": "导出成功完成。"
+ },
+ "help": {
+ "fullDocumentation": "帮助(完整<a class=\"external\" href=\"https://github.com/zadam/trilium/wiki\">在线文档</a>)",
+ "close": "关闭",
+ "noteNavigation": "笔记导航",
+ "goUpDown": "在笔记列表中向上/向下移动",
+ "collapseExpand": "折叠/展开节点",
+ "notSet": "未设置",
+ "goBackForwards": "在历史记录中前后移动",
- "showJumpToNoteDialog": "显示“跳转到”对话框",
++ "showJumpToNoteDialog": "显示<a class=\"external\" href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/note-navigation.md#jump-to-note\">\"跳转到\" 对话框</a>",
+ "scrollToActiveNote": "滚动到活动笔记",
+ "jumpToParentNote": "跳转到父笔记",
+ "collapseWholeTree": "折叠整个笔记树",
+ "collapseSubTree": "折叠子树",
+ "tabShortcuts": "标签快捷键",
+ "newTabNoteLink": "在笔记链接上使用CTRL+点击(或中键点击)在新标签中打开笔记",
+ "onlyInDesktop": "仅在桌面版(电子构建)中",
+ "openEmptyTab": "打开空白标签页",
+ "closeActiveTab": "关闭活动标签页",
+ "activateNextTab": "激活下一个标签页",
+ "activatePreviousTab": "激活上一个标签页",
+ "creatingNotes": "创建笔记",
+ "createNoteAfter": "在活动笔记后创建新笔记",
+ "createNoteInto": "在活动笔记中创建新子笔记",
- "editBranchPrefix": "编辑活动笔记克隆的前缀",
++ "editBranchPrefix": "编辑活动笔记克隆的<a class=\"external\" href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/tree-concepts.md#prefix\">前缀</a>",
+ "movingCloningNotes": "移动/克隆笔记",
+ "moveNoteUpDown": "在笔记列表中向上/向下移动笔记",
+ "moveNoteUpHierarchy": "在层级结构中向上移动笔记",
+ "multiSelectNote": "多选上/下笔记",
+ "selectAllNotes": "选择当前级别的所有笔记",
+ "selectNote": "选择笔记",
- "copyNotes": "将活动笔记(或当前选择)复制到剪贴板(用于克隆)",
++ "copyNotes": "将活动笔记(或当前选择)复制到剪贴板(用于<a class=\"external\" href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/cloning-notes.md\">克隆</a>)",
+ "cutNotes": "将当前笔记(或当前选择)剪切到剪贴板(用于移动笔记)",
+ "pasteNotes": "将笔记粘贴为活动笔记的子笔记(根据是复制还是剪切到剪贴板来决定是移动还是克隆)",
+ "deleteNotes": "删除笔记/子树",
+ "editingNotes": "编辑笔记",
+ "editNoteTitle": "在树面板中从树面板切换到笔记标题。从笔记标题进入将焦点切换到文本编辑器。将从编辑器切换回树面板。",
+ "createEditLink": "创建/编辑外部链接",
+ "createInternalLink": "创建内部链接",
+ "followLink": "跟随光标下的链接",
+ "insertDateTime": "在插入点插入当前日期和时间",
+ "jumpToTreePane": "跳转到树面板并滚动到活动笔记",
+ "markdownAutoformat": "类Markdown自动格式化",
+ "headings": " 等,后跟空格,自动转换为标题",
+ "bulletList": "<kbd>*</kbd> 或 <kbd>-</kbd> 后跟空格,自动转换为项目符号列表",
+ "numberedList": "<kbd>1.</kbd> or <kbd>1)</kbd> 后跟空格,自动转换为编号列表",
+ "blockQuote": "一行以 <kbd>></kbd> 开头并后跟空格,自动转换为块引用",
+ "troubleshooting": "故障排除",
+ "reloadFrontend": "重新加载Trilium前端",
+ "showDevTools": "显示开发者工具",
+ "showSQLConsole": "显示SQL控制台",
+ "other": "其他",
+ "quickSearch": "定位到快速搜索框",
+ "inPageSearch": "页面内搜索"
+ },
+ "import": {
+ "importIntoNote": "导入到笔记",
+ "close": "关闭",
+ "chooseImportFile": "选择导入文件",
+ "importDescription": "所选文件的内容将作为子笔记导入到",
+ "options": "选项",
+ "safeImportTooltip": "Trilium <code>.zip</code> 导出文件可能包含可能有害的可执行脚本。安全导入将停用所有导入脚本的自动执行。仅当您完全信任导入的可执行脚本的内容时,才取消选中“安全导入”。",
+ "safeImport": "安全导入",
+ "explodeArchivesTooltip": "如果选中此项,则Trilium将读取<code>.zip</code>、<code>.enex</code>和<code>.opml</code>文件,并从这些归档文件内部的文件创建笔记。如果未选中,则Trilium会将这些归档文件本身附加到笔记中。",
+ "explodeArchives": "读取<code>.zip</code>、<code>.enex</code>和<code>.opml</code>归档文件的内容。",
+ "shrinkImagesTooltip": "<p>如果选中此选项,Trilium将尝试通过缩放和优化来缩小导入的图像,这可能会影响图像的感知质量。如果未选中,图像将不做修改地导入。</p><p>这不适用于带有元数据的<code>.zip</code>导入,因为这些文件已被假定为已优化。</p>",
+ "shrinkImages": "压缩图像",
+ "textImportedAsText": "如果元数据不明确,将HTML、Markdown和TXT导入为文本笔记",
+ "codeImportedAsCode": "如果元数据不明确,将识别的代码文件(例如<code>.json</code>)导入为代码笔记",
+ "replaceUnderscoresWithSpaces": "在导入的笔记名称中将下划线替换为空格",
+ "import": "导入"
+ },
+ "include_note": {
+ "dialog_title": "包含笔记",
+ "label_note": "笔记",
+ "placeholder_search": "按名称搜索笔记",
+ "box_size_prompt": "包含笔记的框大小:",
+ "box_size_small": "小型 (显示大约10行)",
+ "box_size_medium": "中型 (显示大约30行)",
+ "box_size_full": "完整显示(完整文本框)",
+ "button_include": "包含笔记"
+ },
+ "info": {
+ "modalTitle": "信息消息",
+ "closeButton": "关闭",
+ "okButton": "确定"
+ },
+ "jump_to_note": {
+ "search_placeholder": "按笔记名称搜索",
+ "search_button": "全文搜索 <kbd>Ctrl+回车</kbd>"
+ },
+ "move_to": {
+ "dialog_title": "移动笔记到...",
+ "notes_to_move": "需要移动的笔记",
+ "target_parent_note": "目标父笔记",
+ "search_placeholder": "通过名称搜索笔记",
+ "move_button": "移动到选定的笔记 <kbd>回车</kbd>",
+ "error_no_path": "没有可以移动到的路径。",
+ "move_success_message": "所选笔记已移动到 "
+ },
+ "markdown_import": {
+ "dialog_title": "Markdown 导入",
+ "modal_body_text": "由于浏览器沙箱的限制,无法直接从 JavaScript 读取剪贴板内容。请将要导入的 Markdown 文本粘贴到下面的文本框中,然后点击导入按钮。",
+ "import_button": "导入 Ctrl+回车",
+ "import_success": "Markdown 内容已成功导入文档。"
+ },
+ "note_type_chooser": {
+ "modal_title": "选择笔记类型",
+ "modal_body": "选择新笔记的类型或模板:",
+ "dropdown_trigger": "下拉触发",
+ "templates": "模板:"
+ },
+ "password_not_set": {
+ "title": "密码未设置",
+ "body1": "受保护的笔记使用用户密码加密,但密码尚未设置。",
+ "body2": "点击<a class=\"open-password-options-button\" href=\"javascript:\">这里</a>打开选项对话框并设置您的密码。"
+ },
+ "prompt": {
+ "title": "提示",
+ "ok": "确定 <kbd>回车</kbd>",
+ "defaultTitle": "提示"
+ },
+ "protected_session_password": {
+ "modal_title": "保护会话",
+ "help_title": "关于保护笔记的帮助",
+ "close_label": "关闭",
+ "form_label": "输入密码进入保护会话以继续:",
+ "start_button": "开始保护会话 <kbd>回车</kbd>"
+ },
+ "recent_changes": {
+ "title": "最近修改",
+ "erase_notes_button": "立即清理已删除的笔记",
+ "deleted_notes_message": "已删除的笔记已清理。",
+ "no_changes_message": "暂无修改...",
+ "undelete_link": "恢复删除",
+ "confirm_undelete": "您确定要恢复此笔记及其子笔记吗?"
+ },
+ "revisions": {
+ "note_revisions": "笔记历史版本",
+ "delete_all_revisions": "删除此笔记的所有历史版本",
+ "delete_all_button": "删除所有历史版本",
+ "help_title": "关于笔记历史版本的帮助",
+ "dropdown_trigger": "下拉触发器",
+ "revision_last_edited": "此历史版本上次编辑于 {{date}}",
+ "confirm_delete_all": "您是否要删除此笔记的所有历史版本?此操作将擦除历史版本的标题和内容,但仍将保留历史版本的元数据。",
+ "no_revisions": "此笔记暂无历史版本...",
+ "restore_button": "恢复此历史版本",
+ "confirm_restore": "您是否要恢复此历史版本?这将使用此历史版本覆盖笔记的当前标题和内容。",
+ "delete_button": "删除此历史版本",
+ "confirm_delete": "您是否要删除此历史版本?此操作将删除历史版本的标题和内容,但仍将保留历史版本的元数据。",
+ "revisions_deleted": "笔记历史版本已删除。",
+ "revision_restored": "笔记历史版本已恢复。",
+ "revision_deleted": "笔记历史版本已删除。",
+ "download_button": "下载",
+ "mime": "MIME类型:",
+ "file_size": "文件大小:",
+ "preview": "预览:",
+ "preview_not_available": "无法预览此类型的笔记。"
+ },
+ "sort_child_notes": {
+ "sort_children_by": "按...排序子笔记",
+ "sorting_criteria": "排序条件",
+ "title": "标题",
+ "date_created": "创建日期",
+ "date_modified": "修改日期",
+ "sorting_direction": "排序方向",
+ "ascending": "升序",
+ "descending": "降序",
+ "folders": "文件夹",
+ "sort_folders_at_top": "将文件夹置顶排序",
+ "natural_sort": "自然排序",
+ "sort_with_respect_to_different_character_sorting": "根据不同语言或地区的字符排序和排序规则排序。",
+ "natural_sort_language": "自然排序语言",
+ "the_language_code_for_natural_sort": "自然排序的语言代码,例如中文的 \"zh-CN\"。",
+ "sort": "排序"
+ },
+ "upload_attachments": {
+ "upload_attachments_to_note": "上传附件到笔记",
+ "choose_files": "选择文件",
+ "files_will_be_uploaded": "文件将作为附件上传到",
+ "options": "选项",
+ "shrink_images": "缩小图片",
+ "upload": "上传",
+ "tooltip": "如果您勾选此选项,Trilium 将尝试通过缩放和优化来缩小上传的图像,这可能会影响感知的图像质量。如果未选中,则将以不进行修改的方式上传图像。"
+ },
+ "attribute_detail": {
+ "attr_detail_title": "属性详情标题",
+ "close_button_title": "取消修改并关闭",
+ "attr_is_owned_by": "属性所有者",
+ "attr_name_title": "属性名称只能由字母数字字符、冒号和下划线组成",
+ "name": "名称",
+ "value": "值",
+ "target_note_title": "关系是源笔记和目标笔记之间的命名连接。",
+ "target_note": "目标笔记",
+ "promoted_title": "升级属性在笔记上突出显示。",
+ "promoted": "升级",
+ "promoted_alias_title": "在升级属性界面中显示的名称。",
+ "promoted_alias": "别名",
+ "multiplicity_title": "多重性定义了可以创建的含有相同名称的属性的数量 - 最多为1或多于1。",
+ "multiplicity": "多重性",
+ "single_value": "单值",
+ "multi_value": "多值",
+ "label_type_title": "标签类型将帮助 Trilium 选择适合的界面来输入标签值。",
+ "label_type": "类型",
+ "text": "文本",
+ "number": "数字",
+ "boolean": "布尔值",
+ "date": "日期",
+ "date_time": "日期和时间",
+ "url": "网址",
+ "precision_title": "值设置界面中浮点数后的位数。",
+ "precision": "精度",
+ "digits": "位数",
+ "inverse_relation_title": "可选设置,定义此关系与哪个关系相反。例如:父 - 子是彼此的反向关系。",
+ "inverse_relation": "反向关系",
+ "inheritable_title": "可继承属性将被继承到此树下的所有后代。",
+ "inheritable": "可继承",
+ "save_and_close": "保存并关闭 <kbd>Ctrl+回车</kbd>",
+ "delete": "删除",
+ "related_notes_title": "含有此标签的其他笔记",
+ "more_notes": "更多笔记",
+ "label": "标签详情",
+ "label_definition": "标签定义详情",
+ "relation": "关系详情",
+ "relation_definition": "关系定义详情",
+ "disable_versioning": "禁用自动版本控制。适用于例如大型但不重要的笔记 - 例如用于脚本编写的大型JS库",
+ "calendar_root": "标记应用作为每日笔记的根。只应标记一个笔记。",
+ "archived": "含有此标签的笔记默认在搜索结果中不可见(也适用于跳转到、添加链接对话框等)。",
+ "exclude_from_export": "笔记(及其子树)不会包含在任何笔记导出中",
- "run": "定义脚本应运行的事件。可能的值包括:\n<ul>\n<li>frontendStartup - Trilium前端启动时(或刷新时)。</li>\n<li>backendStartup - Trilium后端启动时</li>\n<li>hourly - 每小时运行一次。您可以使用附加标签<code>runAtHour</code>指定小时。</li>\n<li>daily - 每天运行一次</li>\n</ul>",
++ "run": "定义脚本应运行的事件。可能的值包括:\n<ul>\n<li>frontendStartup - Trilium前端启动时(或刷新时),但不会在移动端执行。</li>\n<li>mobileStartup - Trilium前端启动时(或刷新时), 在移动端会执行。</li>\n<li>backendStartup - Trilium后端启动时</li>\n<li>hourly - 每小时运行一次。您可以使用附加标签<code>runAtHour</code>指定小时。</li>\n<li>daily - 每天运行一次</li>\n</ul>",
+ "run_on_instance": "定义应在哪个Trilium实例上运行。默认为所有实例。",
+ "run_at_hour": "应在哪个小时运行。应与<code>#run=hourly</code>一起使用。可以多次定义,以便一天内运行多次。",
+ "disable_inclusion": "含有此标签的脚本不会包含在父脚本执行中。",
+ "sorted": "按标题字母顺序保持子笔记排序",
+ "sort_direction": "ASC(默认)或DESC",
+ "sort_folders_first": "文件夹(含有子笔记的笔记)应排在顶部",
+ "top": "在其父级中保留给定笔记在顶部(仅适用于排序的父级)",
+ "hide_promoted_attributes": "隐藏此笔记上的升级属性",
+ "read_only": "编辑器处于只读模式。仅适用于文本和代码笔记。",
+ "auto_read_only_disabled": "文本/代码笔记可以在太大时自动设置为只读模式。您可以通过向笔记添加此标签来对单个笔记单独设置禁用只读。",
+ "app_css": "标记加载到Trilium应用程序中的CSS笔记,因此可以用于修改Trilium的外观。",
+ "app_theme": "标记为完整的Trilium主题的CSS笔记,因此可以在Trilium选项中使用。",
+ "css_class": "该标签的值将作为CSS类添加到树中表示给定笔记的节点。这对于高级主题设置非常有用。可用于模板笔记。",
+ "icon_class": "该标签的值将作为CSS类添加到树中图标上,有助于从视觉上区分笔记树里的笔记。比如可以是 bx bx-home - 图标来自boxicons。可用于模板笔记。",
+ "page_size": "笔记列表中每页的项目数",
+ "custom_request_handler": "请参阅<a href=\"javascript:\" data-help-page=\"Custom request handler\">自定义请求处理程序</a> ",
+ "custom_resource_provider": "请参阅<a href=\"javascript:\" data-help-page=\"Custom request handler\">自定义请求处理程序</a>",
+ "widget": "将此笔记标记为将添加到Trilium组件树中的自定义小部件",
+ "workspace": "将此笔记标记为允许轻松提升的工作区",
+ "workspace_icon_class": "定义在选项卡中提升到此笔记时将使用的框图图标CSS类",
+ "workspace_tab_background_color": "提升到此笔记时在笔记选项卡中使用的CSS颜色",
+ "workspace_calendar_root": "定义每个工作区的日历根",
+ "workspace_template": "在创建新笔记时,此笔记将出现在可用模板的选择中,但仅当提升到包含此模板的工作区时",
+ "search_home": "新的搜索笔记将作为此笔记的子笔记创建",
+ "workspace_search_home": "当提升到此工作区笔记的某个祖先时,新的搜索笔记将作为此笔记的子笔记创建",
+ "inbox": "使用侧边栏中的\"新建笔记\"按钮创建笔记时,默认收件箱位置。笔记将作为标有<code>#inbox</code>标签的笔记的子笔记创建。",
+ "workspace_inbox": "当提升到此工作区笔记的某个祖先时,新的笔记的默认收件箱位置",
+ "sql_console_home": "SQL控制台笔记的默认位置",
+ "bookmark_folder": "含有此标签的笔记将作为文件夹出现在书签中(允许访问其子笔记)",
+ "share_hidden_from_tree": "此笔记从左侧导航树中隐藏,但仍可通过其URL访问",
+ "share_external_link": "笔记将在分享树中作为指向外部网站的链接",
+ "share_alias": "使用此别名定义将在 https://你的trilium域名/share/[别名] 下可用的笔记",
+ "share_omit_default_css": "将省略默认的分享页面CSS。当您进行广泛的样式修改时使用。",
+ "share_root": "标记作为在 /share 地址分享的根节点笔记。",
+ "share_description": "定义要添加到HTML meta标签以供描述的文本",
+ "share_raw": "笔记将以其原始格式提供,不带HTML包装器",
+ "share_disallow_robot_indexing": "将通过<code>X-Robots-Tag: noindex</code>标头禁止爬虫机器人索引此笔记",
+ "share_credentials": "需要凭据才能访问此分享笔记。值应以'username:password'格式提供。请勿忘记使其可继承以应用于子笔记/图像。",
+ "share_index": "含有此标签的笔记将列出所有分享笔记的根",
+ "display_relations": "应显示的逗号分隔关系名称。将隐藏所有其他关系。",
+ "hide_relations": "应隐藏的逗号分隔关系名称。将显示所有其他关系。",
- "title_template": "创建为此笔记的子笔记时的默认标题。该值将作为JavaScript字符串评估\n 并因此可以通过注入的<code>now</code>和<code>parentNote</code>变量丰富动态内容。示例:\n \n <ul>\n <li><code>${parentNote.getLabelValue('authorName')}的文学作品</code></li>\n <li><code>Log for ${now.format('YYYY-MM-DD HH:mm:ss')}</code></li>\n </ul>\n \n 有关详细信息,请参见<a href=\"https://github.com/zadam/trilium/wiki/Default-note-title\">详细信息wiki</a>,API文档<a href=\"https://zadam.github.io/trilium/backend_api/Note.html\">parentNote</a>和<a href=\"https://day.js.org/docs/en/display/format\">now</a>。",
++ "title_template": "创建为此笔记的子笔记时的默认标题。该值将作为JavaScript字符串评估\n 并因此可以通过注入的<code>now</code>和<code>parentNote</code>变量丰富动态内容。示例:\n \n <ul>\n <li><code>${parentNote.getLabelValue('authorName')}的文学作品</code></li>\n <li><code>Log for ${now.format('YYYY-MM-DD HH:mm:ss')}</code></li>\n </ul>\n \n 有关详细信息,请参见<a href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/default-note-title.md\">详细信息wiki</a>,API文档<a href=\"https://zadam.github.io/trilium/backend_api/Note.html\">parentNote</a>和<a href=\"https://day.js.org/docs/en/display/format\">now</a>。",
+ "template": "创建新笔记时将出现在可用模板的选择中的笔记",
+ "toc": "<code>#toc</code>或<code>#toc=show</code>将强制显示目录。 <code>#toc=hide</code>将强制隐藏它。如果标签不存在,则观察全局设置",
+ "color": "定义笔记树、链接等中笔记的颜色。使用任何有效的CSS颜色值,如'red'或#a13d5f",
+ "keyboard_shortcut": "定义立即跳转到此笔记的键盘快捷键。示例:'ctrl+alt+e'。需要前端重新加载才能生效。",
+ "keep_current_hoisting": "即使笔记不在当前提升的子树中显示,打开此链接也不会修改提升。",
+ "execute_button": "将执行当前代码笔记的按钮标题",
+ "execute_description": "显示与执行按钮一起显示的当前代码笔记的更长描述",
+ "exclude_from_note_map": "含有此标签的笔记将从笔记地图中隐藏",
+ "new_notes_on_top": "新笔记将创建在父笔记的顶部,而不是底部。",
+ "hide_highlight_widget": "隐藏高亮列表小部件",
+ "run_on_note_creation": "在后端创建笔记时执行。如果要为在特定子树下创建的所有笔记运行脚本,请使用此关系。在这种情况下,在子树根笔记上创建它并使其可继承。在子树中的任何深度创建新笔记都会触发脚本。",
+ "run_on_child_note_creation": "当创建新的子笔记时执行",
+ "run_on_note_title_change": "当笔记标题修改时执行(包括笔记创建)",
+ "run_on_note_content_change": "当笔记内容修改时执行(包括笔记创建)。",
+ "run_on_note_change": "当笔记修改时执行(包括笔记创建)。不包括内容修改",
+ "run_on_note_deletion": "在删除笔记时执行",
+ "run_on_branch_creation": "在创建分支时执行。分支是父笔记和子笔记之间的链接,并且在克隆或移动笔记时创建。",
+ "run_on_branch_change": "在分支更新时执行。",
+ "run_on_branch_deletion": "在删除分支时执行。分支是父笔记和子笔记之间的链接,例如在移动笔记时删除(删除旧的分支/链接)。",
+ "run_on_attribute_creation": "在为定义此关系的笔记创建新属性时执行",
+ "run_on_attribute_change": "当修改定义此关系的笔记的属性时执行。删除属性时也会触发此操作。",
+ "relation_template": "即使没有父子关系,笔记的属性也将继承。如果空,则笔记的内容和子树将添加到实例笔记中。有关详细信息,请参见文档。",
+ "inherit": "即使没有父子关系,笔记的属性也将继承。有关类似概念的模板关系,请参见模板关系。请参阅文档中的属性继承。",
+ "render_note": "“渲染HTML笔记”类型的笔记将使用代码笔记(HTML或脚本)进行呈现,因此需要指定要渲染的笔记",
+ "widget_relation": "此关系的目标将作为侧边栏中的小部件执行和呈现",
+ "share_css": "将注入分享页面的CSS笔记。CSS笔记也必须位于分享子树中。可以考虑一并使用'share_hidden_from_tree'和'share_omit_default_css'。",
+ "share_js": "将注入分享页面的JavaScript笔记。JS笔记也必须位于分享子树中。可以考虑一并使用'share_hidden_from_tree'。",
+ "share_template": "用作显示分享笔记的模板的嵌入式JavaScript笔记。如果没有,将回退到默认模板。可以考虑一并使用'share_hidden_from_tree'。",
+ "share_favicon": "在分享页面中设置的favicon笔记。一般需要将它设置为分享和可继承。Favicon笔记也必须位于分享子树中。可以考虑一并使用'share_hidden_from_tree'。",
+ "is_owned_by_note": "由此笔记所有",
+ "other_notes_with_name": "其它含有 {{attributeType}} 名为 \"{{attributeName}}\" 的的笔记",
+ "and_more": "... 以及另外 {{count}} 个"
+ },
+ "attribute_editor": {
+ "help_text_body1": "要添加标签,只需输入例如 <code>#rock</code> 或者如果您还想添加值,则例如 <code>#year = 2020</code>",
+ "help_text_body2": "对于关系,请输入 <code>~author = @</code>,这将显示一个自动完成列表,您可以查找所需的笔记。",
+ "help_text_body3": "您也可以使用右侧的 <code>+</code> 按钮添加标签和关系。</p>",
+ "save_attributes": "保存属性 <enter>",
+ "add_a_new_attribute": "添加新属性",
+ "add_new_label": "添加新标签 <kbd data-command=\"addNewLabel\"></kbd>",
+ "add_new_relation": "添加新关系 <kbd data-command=\"addNewRelation\"></kbd>",
+ "add_new_label_definition": "添加新标签定义",
+ "add_new_relation_definition": "添加新关系定义"
+ },
+ "abstract_bulk_action": {
+ "remove_this_search_action": "删除此搜索操作"
+ },
+ "execute_script": {
+ "execute_script": "执行脚本",
+ "help_text": "您可以在匹配的笔记上执行简单的脚本。",
+ "example_1": "例如,要在笔记标题后附加字符串,请使用以下脚本:",
+ "example_2": "更复杂的例子,删除所有匹配的笔记属性:"
+ },
+ "add_label": {
+ "add_label": "添加标签",
+ "label_name_placeholder": "标签名称",
+ "label_name_title": "允许使用字母、数字、下划线和冒号。",
+ "to_value": "值为",
+ "new_value_placeholder": "新值",
+ "help_text": "在所有匹配的笔记上:",
+ "help_text_item1": "如果笔记尚无此标签,则创建给定的标签",
+ "help_text_item2": "或更改现有标签的值",
+ "help_text_note": "您也可以在不指定值的情况下调用此方法,这种情况下,标签将分配给没有值的笔记。"
+ },
+ "delete_label": {
+ "delete_label": "删除标签",
+ "label_name_placeholder": "标签名称",
+ "label_name_title": "允许使用字母、数字、下划线和冒号。"
+ },
+ "rename_label": {
+ "rename_label": "重命名标签",
+ "rename_label_from": "重命名标签从",
+ "old_name_placeholder": "旧名称",
+ "to": "改为",
+ "new_name_placeholder": "新名称",
+ "name_title": "允许使用字母、数字、下划线和冒号。"
+ },
+ "update_label_value": {
+ "update_label_value": "更新标签值",
+ "label_name_placeholder": "标签名称",
+ "label_name_title": "允许使用字母、数字、下划线和冒号。",
+ "to_value": "值为",
+ "new_value_placeholder": "新值",
+ "help_text": "在所有匹配的笔记上,更改现有标签的值。",
+ "help_text_note": "您也可以在不指定值的情况下调用此方法,这种情况下,标签将分配给没有值的笔记。"
+ },
+ "delete_note": {
+ "delete_note": "删除笔记",
+ "delete_matched_notes": "删除匹配的笔记",
+ "delete_matched_notes_description": "这将删除匹配的笔记。",
+ "undelete_notes_instruction": "删除后,可以从“最近修改”对话框中恢复它们。",
+ "erase_notes_instruction": "要永久擦除笔记,您可以在删除后转到“选项”->“其他”,然后单击“立即擦除已删除的笔记”按钮。"
+ },
+ "delete_revisions": {
+ "delete_note_revisions": "删除笔记历史",
+ "all_past_note_revisions": "所有匹配笔记的过去历史都将被删除。笔记本身将完全保留。换句话说,笔记的历史将被删除。"
+ },
+ "move_note": {
+ "move_note": "移动笔记",
+ "to": "到",
+ "target_parent_note": "目标父笔记",
+ "on_all_matched_notes": "对于所有匹配的笔记",
+ "move_note_new_parent": "如果笔记只有一个父笔记,则将其移动到新父笔记(即旧位置被移除,并创建到新父笔记的位置)",
+ "clone_note_new_parent": "如果笔记有多个克隆/位置,则将其克隆到新父笔记(不清楚应删除哪个位置)",
+ "nothing_will_happen": "如果笔记无法移动到目标笔记(即这会创建一个树循环),则不会发生任何事情"
+ },
+ "rename_note": {
+ "rename_note": "重命名笔记",
+ "rename_note_title_to": "重命名笔记标题为",
+ "new_note_title": "新笔记标题",
+ "click_help_icon": "点击右侧的帮助图标查看所有选项",
+ "evaluated_as_js_string": "给定的值被评估为JavaScript字符串,因此可以通过注入的<code>note</code>变量(正在重命名的笔记)丰富动态内容。 例如:",
+ "example_note": "<code>Note</code> - 所有匹配的笔记都被重命名为“Note”",
+ "example_new_title": "<code>NEW: ${note.title}</code> - 匹配的笔记标题以“NEW: ”为前缀",
+ "example_date_prefix": "<code>${note.dateCreatedObj.format('MM-DD:')}: ${note.title}</code> - 匹配的笔记以笔记的创建月份-日期为前缀",
+ "api_docs": "有关详细信息,请参阅<a href='https://zadam.github.io/trilium/backend_api/Note.html'>笔记</a>及其<a href='https://day.js.org/docs/en/display/format'>dateCreatedObj / utcDateCreatedObj 属性</a>的API文档。"
+ },
+ "add_relation": {
+ "add_relation": "添加关系",
+ "relation_name": "关系名称",
+ "allowed_characters": "允许的字符为字母数字、下划线和冒号。",
+ "to": "到",
+ "target_note": "目标笔记",
+ "create_relation_on_all_matched_notes": "在所有匹配的笔记上创建指定的关系。"
+ },
+ "delete_relation": {
+ "delete_relation": "删除关系",
+ "relation_name": "关系名称",
+ "allowed_characters": "允许的字符为字母数字、下划线和冒号。"
+ },
+ "rename_relation": {
+ "rename_relation": "重命名关系",
+ "rename_relation_from": "重命名关系,从",
+ "old_name": "旧名称",
+ "to": "改为",
+ "new_name": "新名称",
+ "allowed_characters": "允许的字符为字母数字、下划线和冒号。"
+ },
+ "update_relation_target": {
+ "update_relation": "更新关系",
+ "relation_name": "关系名称",
+ "allowed_characters": "允许的字符为字母数字、下划线和冒号。",
+ "to": "到",
+ "target_note": "目标笔记",
+ "on_all_matched_notes": "在所有匹配的笔记上",
+ "create_given_relation": "如果笔记还没有关系,则创建给定关系",
+ "change_target_note": "或更改现有关系的目标笔记",
+ "update_relation_target": "更新关系目标"
+ },
+ "attachments_actions": {
+ "open_externally": "用外部程序打开",
+ "open_externally_title": "文件将会在外部应用程序中打开,并监视其更改。然后您可以将修改后的版本上传回 Trilium。",
+ "open_custom": "自定义打开方式",
+ "open_custom_title": "文件将会在外部应用程序中打开,并监视其更改。然后您可以将修改后的版本上传回 Trilium。",
+ "download": "下载",
+ "rename_attachment": "重命名附件",
+ "upload_new_revision": "上传新版本",
+ "copy_link_to_clipboard": "复制链接到剪贴板",
+ "convert_attachment_into_note": "将附件转换为笔记",
+ "delete_attachment": "删除附件",
+ "upload_success": "新附件版本已上传。",
+ "upload_failed": "新附件版本上传失败。",
+ "open_externally_detail_page": "外部打开附件仅在详细页面中可用,请首先点击附件详细信息,然后重复此操作。",
+ "open_custom_client_only": "自定义打开附件只能通过客户端完成。",
+ "delete_confirm": "您确定要删除附件 '{{title}}' 吗?",
+ "delete_success": "附件 '{{title}}' 已被删除。",
+ "convert_confirm": "您确定要将附件 '{{title}}' 转换为单独的笔记吗?",
+ "convert_success": "附件 '{{title}}' 已转换为笔记。",
+ "enter_new_name": "请输入附件的新名称"
+ },
+ "calendar": {
+ "mon": "一",
+ "tue": "二",
+ "wed": "三",
+ "thu": "四",
+ "fri": "五",
+ "sat": "六",
+ "sun": "日",
+ "cannot_find_day_note": "无法找到日记",
+ "january": "一月",
+ "febuary": "二月",
+ "march": "三月",
+ "april": "四月",
+ "may": "五月",
+ "june": "六月",
+ "july": "七月",
+ "august": "八月",
+ "september": "九月",
+ "october": "十月",
+ "november": "十一月",
+ "december": "十二月"
+ },
+ "close_pane_button": {
+ "close_this_pane": "关闭此面板"
+ },
+ "create_pane_button": {
+ "create_new_split": "拆分面板"
+ },
+ "edit_button": {
+ "edit_this_note": "编辑此笔记"
+ },
+ "global_menu": {
+ "menu": "菜单",
+ "options": "选项",
+ "open_new_window": "打开新窗口",
+ "switch_to_mobile_version": "切换到移动版",
+ "switch_to_desktop_version": "切换到桌面版",
+ "zoom": "缩放",
+ "toggle_fullscreen": "切换全屏",
+ "zoom_out": "缩小",
+ "reset_zoom_level": "重置缩放级别",
+ "zoom_in": "放大",
+ "configure_launchbar": "配置启动栏",
+ "show_shared_notes_subtree": "显示分享笔记子树",
+ "advanced": "高级",
+ "open_dev_tools": "打开开发工具",
+ "open_sql_console": "打开SQL控制台",
+ "open_sql_console_history": "打开SQL控制台历史记录",
+ "open_search_history": "打开搜索历史",
+ "show_backend_log": "显示后台日志",
+ "reload_hint": "重新加载可以帮助解决一些视觉故障,而无需重新启动整个应用程序。",
+ "reload_frontend": "重新加载前端",
+ "show_hidden_subtree": "显示隐藏子树",
+ "show_help": "显示帮助",
+ "about": "关于 TriliumNext 笔记",
+ "logout": "登出"
+ },
+ "left_pane_toggle": {
+ "hide_panel": "隐藏面板",
+ "show_panel": "显示面板"
+ },
+ "move_pane_button": {
+ "move_left": "向左移动",
+ "move_right": "向右移动"
+ },
+ "note_actions": {
+ "convert_into_attachment": "转换为附件",
+ "re_render_note": "重新渲染笔记",
+ "search_in_note": "在笔记中搜索",
+ "note_source": "笔记源代码",
+ "note_attachments": "笔记附件",
+ "open_note_externally": "用外部程序打开笔记",
+ "open_note_externally_title": "文件将在外部应用程序中打开,并监视其更改。然后您可以将修改后的版本上传回 Trilium。",
+ "open_note_custom": "使用自定义程序打开笔记",
+ "import_files": "导入文件",
+ "export_note": "导出笔记",
+ "delete_note": "删除笔记",
+ "print_note": "打印笔记",
+ "save_revision": "保存笔记历史"
+ },
+ "onclick_button": {
+ "no_click_handler": "按钮组件'{{componentId}}'没有定义点击处理程序"
+ },
+ "protected_session_status": {
+ "active": "受保护的会话已激活。点击退出受保护的会话。",
+ "inactive": "点击进入受保护的会话"
+ },
+ "revisions_button": {
+ "note_revisions": "笔记修改历史"
+ },
+ "update_available": {
+ "update_available": "有更新可用"
+ },
+ "note_launcher": {
+ "this_launcher_doesnt_define_target_note": "此启动器未定义目标笔记。"
+ },
+ "code_buttons": {
+ "execute_button_title": "执行脚本",
+ "trilium_api_docs_button_title": "打开 Trilium API 文档",
+ "save_to_note_button_title": "保存到笔记",
+ "opening_api_docs_message": "正在打开 API 文档...",
+ "sql_console_saved_message": "SQL 控制台已保存到 {{note_path}}"
+ },
+ "copy_image_reference_button": {
+ "button_title": "复制图片引用到剪贴板,可粘贴到文本笔记中。"
+ },
+ "hide_floating_buttons_button": {
+ "button_title": "隐藏按钮"
+ },
+ "mermaid_export_button": {
+ "button_title": "导出Mermaid图表为SVG"
+ },
+ "relation_map_buttons": {
+ "create_child_note_title": "创建新的子笔记并添加到关系图",
+ "reset_pan_zoom_title": "重置平移和缩放到初始坐标和放大倍率",
+ "zoom_in_title": "放大",
+ "zoom_out_title": "缩小"
+ },
+ "zpetne_odkazy": {
+ "backlink": "{{count}} 个反链",
+ "backlinks": "{{count}} 个反链",
+ "relation": "关系"
+ },
+ "mobile_detail_menu": {
+ "insert_child_note": "插入子笔记",
+ "delete_this_note": "删除此笔记",
+ "error_cannot_get_branch_id": "无法获取 notePath '{{notePath}}' 的 branchId",
+ "error_unrecognized_command": "无法识别的命令 {{command}}"
+ },
+ "basic_properties": {
+ "note_type": "笔记类型",
+ "editable": "可编辑",
+ "basic_properties": "基本属性"
+ },
+ "book_properties": {
+ "view_type": "视图类型",
+ "grid": "网格",
+ "list": "列表",
+ "collapse_all_notes": "折叠所有笔记",
+ "expand_all_children": "展开所有子项",
+ "collapse": "折叠",
+ "expand": "展开",
+ "book_properties": "书籍属性",
+ "invalid_view_type": "无效的查看类型 '{{type}}'"
+ },
+ "edited_notes": {
+ "no_edited_notes_found": "今天还没有编辑过的笔记...",
+ "title": "编辑过的笔记",
+ "deleted": "(已删除)"
+ },
+ "file_properties": {
+ "note_id": "笔记 ID",
+ "original_file_name": "原始文件名",
+ "file_type": "文件类型",
+ "file_size": "文件大小",
+ "download": "下载",
+ "open": "打开",
+ "upload_new_revision": "上传新版本",
+ "upload_success": "新文件版本已上传。",
+ "upload_failed": "新文件版本上传失败。",
+ "title": "文件"
+ },
+ "image_properties": {
+ "original_file_name": "原始文件名",
+ "file_type": "文件类型",
+ "file_size": "文件大小",
+ "download": "下载",
+ "open": "打开",
+ "copy_reference_to_clipboard": "复制引用到剪贴板",
+ "upload_new_revision": "上传新版本",
+ "upload_success": "新图像版本已上传。",
+ "upload_failed": "新图像版本上传失败:{{message}}",
+ "title": "图像"
+ },
+ "inherited_attribute_list": {
+ "title": "继承的属性",
+ "no_inherited_attributes": "没有继承的属性。"
+ },
+ "note_info_widget": {
+ "note_id": "笔记ID",
+ "created": "创建时间",
+ "modified": "修改时间",
+ "type": "类型",
+ "note_size": "笔记大小",
+ "note_size_info": "笔记大小提供了该笔记存储需求的粗略估计。它考虑了笔记的内容及其笔记历史的内容。",
+ "calculate": "计算",
+ "subtree_size": "(子树大小: {{size}}, 共计 {{count}} 个笔记)",
+ "title": "笔记信息"
+ },
+ "note_map": {
+ "open_full": "展开显示",
+ "collapse": "折叠到正常大小",
+ "title": "笔记地图"
+ },
+ "note_paths": {
+ "title": "笔记路径",
+ "clone_button": "克隆笔记到新位置...",
+ "intro_placed": "此笔记放置在以下路径中:",
+ "intro_not_placed": "此笔记尚未放入笔记树中。",
+ "outside_hoisted": "此路径在提升的笔记之外,您需要取消提升。",
+ "archived": "已归档",
+ "search": "搜索"
+ },
+ "note_properties": {
+ "this_note_was_originally_taken_from": "笔记来源:",
+ "info": "信息"
+ },
+ "owned_attribute_list": {
+ "owned_attributes": "拥有的属性"
+ },
+ "promoted_attributes": {
+ "promoted_attributes": "升级属性",
+ "url_placeholder": "http://网站链接...",
+ "open_external_link": "打开外部链接",
+ "unknown_label_type": "未知的标签类型 '{{type}}'",
+ "unknown_attribute_type": "未知的属性类型 '{{type}}'",
+ "add_new_attribute": "添加新属性",
+ "remove_this_attribute": "移除此属性"
+ },
+ "script_executor": {
+ "query": "查询",
+ "script": "脚本",
+ "execute_query": "执行查询",
+ "execute_script": "执行脚本"
+ },
+ "search_definition": {
+ "add_search_option": "添加搜索选项:",
+ "search_string": "搜索字符串",
+ "search_script": "搜索脚本",
+ "ancestor": "祖先",
+ "fast_search": "快速搜索",
+ "fast_search_description": "快速搜索选项禁用笔记内容的全文搜索,这可能会加速大数据库中的搜索。",
+ "include_archived": "包含归档",
+ "include_archived_notes_description": "归档的笔记默认不包含在搜索结果中,使用此选项将包含它们。",
+ "order_by": "排序方式",
+ "limit": "限制",
+ "limit_description": "限制结果数量",
+ "debug": "调试",
+ "debug_description": "调试将打印额外的调试信息到控制台,以帮助调试复杂查询",
+ "action": "操作",
+ "search": "搜索",
+ "enter": "输入",
+ "search_execute": "搜索并执行操作",
+ "save_to_note": "保存到笔记",
+ "search_parameters": "搜索参数",
+ "unknown_search_option": "未知的搜索选项 {{searchOptionName}}",
+ "search_note_saved": "搜索笔记已保存到 {{- notePathTitle}}",
+ "actions_executed": "操作已执行。"
+ },
+ "similar_notes": {
+ "title": "相似笔记",
+ "no_similar_notes_found": "未找到相似的笔记。"
+ },
+ "abstract_search_option": {
+ "remove_this_search_option": "删除此搜索选项",
+ "failed_rendering": "渲染搜索选项失败:{{dto}},错误信息:{{error}},堆栈:{{stack}}"
+ },
+ "ancestor": {
+ "label": "祖先",
+ "placeholder": "按名称搜索笔记",
+ "depth_label": "深度",
+ "depth_doesnt_matter": "任意",
+ "depth_eq": "正好是 {{count}}",
+ "direct_children": "直接子代",
+ "depth_gt": "大于 {{count}}",
+ "depth_lt": "小于 {{count}}"
+ },
+ "debug": {
+ "debug": "调试",
+ "debug_info": "调试将打印额外的调试信息到控制台,以帮助调试复杂的查询。",
+ "access_info": "要访问调试信息,请执行查询并点击左上角的“显示后端日志”。"
+ },
+ "fast_search": {
+ "fast_search": "快速搜索",
+ "description": "快速搜索选项禁用笔记内容的全文搜索,这可能会加快在大型数据库中的搜索速度。"
+ },
+ "include_archived_notes": {
+ "include_archived_notes": "包括已归档的笔记"
+ },
+ "limit": {
+ "limit": "限制",
+ "take_first_x_results": "仅取前X个指定结果。"
+ },
+ "order_by": {
+ "order_by": "排序依据",
+ "relevancy": "相关性(默认)",
+ "title": "标题",
+ "date_created": "创建日期",
+ "date_modified": "最后修改日期",
+ "content_size": "笔记内容大小",
+ "content_and_attachments_size": "笔记内容大小(包括附件)",
+ "content_and_attachments_and_revisions_size": "笔记内容大小(包括附件和笔记历史)",
+ "revision_count": "历史数量",
+ "children_count": "子笔记数量",
+ "parent_count": "克隆数量",
+ "owned_label_count": "标签数量",
+ "owned_relation_count": "关系数量",
+ "target_relation_count": "指向笔记的关系数量",
+ "random": "随机顺序",
+ "asc": "升序(默认)",
+ "desc": "降序"
+ },
+ "search_script": {
+ "title": "搜索脚本:",
+ "placeholder": "按名称搜索笔记",
+ "description1": "搜索脚本允许通过运行脚本来定义搜索结果。这在标准搜索不足时提供了最大的灵活性。",
+ "description2": "搜索脚本必须是类型为\"代码\"和子类型为\"JavaScript后端\"。脚本需要返回一个noteIds或notes数组。",
+ "example_title": "请看这个例子:",
+ "example_code": "// 1. 使用标准搜索进行预过滤\nconst candidateNotes = api.searchForNotes(\"#journal\"); \n\n// 2. 应用自定义搜索条件\nconst matchedNotes = candidateNotes\n .filter(note => note.title.match(/[0-9]{1,2}\\. ?[0-9]{1,2}\\. ?[0-9]{4}/));\n\nreturn matchedNotes;",
+ "note": "注意,搜索脚本和搜索字符串不能相互结合使用。"
+ },
+ "search_string": {
+ "title_column": "搜索字符串:",
+ "placeholder": "全文关键词,#标签 = 值 ...",
+ "search_syntax": "搜索语法",
+ "also_see": "另见",
+ "complete_help": "完整的搜索语法帮助",
+ "full_text_search": "只需输入任何文本进行全文搜索",
+ "label_abc": "返回带有标签abc的笔记",
+ "label_year": "匹配带有标签年份且值为2019的笔记",
+ "label_rock_pop": "匹配同时具有rock和pop标签的笔记",
+ "label_rock_or_pop": "只需一个标签存在即可",
+ "label_year_comparison": "数字比较(也包括>,>=,<)。",
+ "label_date_created": "上个月创建的笔记",
+ "error": "搜索错误:{{error}}"
+ },
+ "attachment_detail": {
+ "open_help_page": "打开附件帮助页面",
+ "owning_note": "所属笔记: ",
+ "you_can_also_open": ",你还可以打开",
+ "list_of_all_attachments": "所有附件列表",
+ "attachment_deleted": "该附件已被删除。"
+ },
+ "attachment_list": {
+ "open_help_page": "打开附件帮助页面",
+ "owning_note": "所属笔记: ",
+ "upload_attachments": "上传附件",
+ "no_attachments": "此笔记没有附件。"
+ },
+ "book": {
+ "no_children_help": "此类型为书籍的笔记没有任何子笔记,因此没有内容显示。请参阅 <a href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/book-note.md\">wiki</a> 了解详情"
+ },
+ "editable_code": {
+ "placeholder": "在这里输入您的代码笔记内容..."
+ },
+ "editable_text": {
+ "placeholder": "在这里输入您的笔记内容..."
+ },
+ "empty": {
+ "open_note_instruction": "通过在下面的输入框中输入笔记标题或在树中选择笔记来打开笔记。",
+ "search_placeholder": "按名称搜索笔记",
+ "enter_workspace": "进入工作区 {{title}}"
+ },
+ "file": {
+ "file_preview_not_available": "此文件格式不支持预览。"
+ },
+ "protected_session": {
+ "enter_password_instruction": "显示受保护的笔记需要输入您的密码:",
+ "start_session_button": "开始受保护的会话"
+ },
+ "relation_map": {
+ "open_in_new_tab": "在新标签页中打开",
+ "remove_note": "删除笔记",
+ "edit_title": "编辑标题",
+ "rename_note": "重命名笔记",
+ "enter_new_title": "输入新的笔记标题:",
+ "remove_relation": "删除关系",
+ "confirm_remove_relation": "你确定要删除这个关系吗?",
+ "specify_new_relation_name": "指定新的关系名称(允许的字符:字母数字、冒号和下划线):",
+ "connection_exists": "笔记之间的连接 '{{name}}' 已经存在。",
+ "start_dragging_relations": "从这里开始拖动关系,并将其放置到另一个笔记上。",
+ "note_not_found": "笔记 {{noteId}} 未找到!",
+ "cannot_match_transform": "无法匹配变换:{{transform}}",
+ "note_already_in_diagram": "笔记 \"{{title}}\" 已经在图中。",
+ "enter_title_of_new_note": "输入新笔记的标题",
+ "default_new_note_title": "新笔记",
+ "click_on_canvas_to_place_new_note": "点击画布以放置新笔记"
+ }
+}
diff --cc src/public/translations/en/translation.json
index c7c8646d2c,adbefd3043..4c361e63c4
--- a/src/public/translations/en/translation.json
+++ b/src/public/translations/en/translation.json
@@@ -1,910 -1,22 +1,920 @@@
{
- "about": {
- "title": "About TriliumNext Notes",
- "homepage": "Homepage:",
- "app_version": "App version:",
- "db_version": "DB version:",
- "sync_version": "Sync version:",
- "build_date": "Build date:",
- "build_revision": "Build revision:",
- "data_directory": "Data directory:"
- },
- "toast": {
- "critical-error": {
- "title": "Critical error",
- "message": "A critical error has occurred which prevents the client application from starting:\n\n{{message}}\n\nThis is most likely caused by a script failing in an unexpected way. Try starting the application in safe mode and addressing the issue."
- },
- "widget-error": {
- "title": "Failed to initialize a widget",
- "message": "Widget with title \"{{title}}\" could not be initialized due to:\n\n{{message}}"
+ "about": {
+ "title": "About TriliumNext Notes",
+ "homepage": "Homepage:",
+ "app_version": "App version:",
+ "db_version": "DB version:",
+ "sync_version": "Sync version:",
+ "build_date": "Build date:",
+ "build_revision": "Build revision:",
+ "data_directory": "Data directory:"
+ },
++ "toast": {
++ "critical-error": {
++ "title": "Critical error",
++ "message": "A critical error has occurred which prevents the client application from starting:\n\n{{message}}\n\nThis is most likely caused by a script failing in an unexpected way. Try starting the application in safe mode and addressing the issue."
++ },
++ "widget-error": {
++ "title": "Failed to initialize a widget",
++ "message": "Widget with title \"{{title}}\" could not be initialized due to:\n\n{{message}}"
++ }
++ },
+ "add_link": {
+ "add_link": "Add link",
+ "help_on_links": "Help on links",
+ "close": "Close",
+ "note": "Note",
+ "search_note": "search for note by its name",
+ "link_title_mirrors": "link title mirrors the note's current title",
+ "link_title_arbitrary": "link title can be changed arbitrarily",
+ "link_title": "Link title"
+ },
+ "branch_prefix": {
+ "edit_branch_prefix": "Edit branch prefix",
+ "help_on_tree_prefix": "Help on Tree prefix",
+ "close": "Close",
+ "prefix": "Prefix: ",
+ "save": "Save",
+ "branch_prefix_saved": "Branch prefix has been saved."
+ },
+ "bulk_actions": {
+ "bulk_actions": "Bulk actions",
+ "close": "Close",
+ "affected_notes": "Affected notes",
+ "include_descendants": "Include descendants of the selected notes",
+ "available_actions": "Available actions",
+ "chosen_actions": "Chosen actions",
+ "execute_bulk_actions": "Execute bulk actions",
+ "bulk_actions_executed": "Bulk actions have been executed successfully.",
+ "none_yet": "None yet ... add an action by clicking one of the available ones above."
+ },
+ "clone_to": {
+ "clone_notes_to": "Clone notes to ...",
+ "help_on_links": "Help on links",
+ "notes_to_clone": "Notes to clone",
+ "target_parent_note": "Target parent note",
+ "search_for_note_by_its_name": "search for note by its name",
+ "cloned_note_prefix_title": "Cloned note will be shown in note tree with given prefix",
+ "prefix_optional": "Prefix (optional)",
+ "clone_to_selected_note": "Clone to selected note <kbd>enter</kbd>",
+ "no_path_to_clone_to": "No path to clone to.",
+ "note_cloned": "Note \"{{clonedTitle}}\" has been cloned into \"{{targetTitle}}\""
+ },
+ "confirm": {
+ "confirmation": "Confirmation",
+ "cancel": "Cancel",
+ "ok": "OK",
+ "are_you_sure_remove_note": "Are you sure you want to remove the note \"{{title}}\" from relation map? ",
+ "if_you_dont_check": "If you don't check this, the note will be only removed from the relation map.",
+ "also_delete_note": "Also delete the note"
+ },
+ "delete_notes": {
+ "delete_notes_preview": "Delete notes preview",
+ "delete_all_clones_description": "delete also all clones (can be undone in recent changes)",
+ "erase_notes_description": "Normal (soft) deletion only marks the notes as deleted and they can be undeleted (in recent changes dialog) within a period of time. Checking this option will erase the notes immediately and it won't be possible to undelete the notes.",
+ "erase_notes_warning": "erase notes permanently (can't be undone), including all clones. This will force application reload.",
+ "notes_to_be_deleted": "Following notes will be deleted (<span class=\"deleted-notes-count\"></span>)",
+ "no_note_to_delete": "No note will be deleted (only clones).",
+ "broken_relations_to_be_deleted": "Following relations will be broken and deleted (<span class=\"broke-relations-count\"></span>)",
+ "cancel": "Cancel",
+ "ok": "OK",
+ "note": "Note",
+ "to_be_deleted": " (to be deleted) is referenced by relation <code>{{attrName}}</code> originating from "
+ },
+ "export": {
+ "export_note_title": "Export note",
+ "close": "Close",
+ "export_type_subtree": "this note and all of its descendants",
+ "format_html": "HTML in ZIP archive - this is recommended since this preserves all the formatting.",
+ "format_markdown": "Markdown - this preserves most of the formatting.",
+ "format_opml": "OPML - outliner interchange format for text only. Formatting, images and files are not included.",
+ "opml_version_1": "OPML v1.0 - plain text only",
+ "opml_version_2": "OMPL v2.0 - allows also HTML",
+ "export_type_single": "only this note without its descendants",
+ "export": "Export",
+ "choose_export_type": "Choose export type first please",
+ "export_status": "Export status",
+ "export_in_progress": "Export in progress: {{progressCount}}",
+ "export_finished_successfully": "Export finished successfully."
+ },
+ "help": {
+ "fullDocumentation": "Help (full documentation is available <a class=\"external\" href=\"https://github.com/zadam/trilium/wiki\">online</a>)",
+ "close": "Close",
+ "noteNavigation": "Note navigation",
+ "goUpDown": "go up/down in the list of notes",
+ "collapseExpand": "collapse/expand node",
+ "notSet": "not set",
+ "goBackForwards": "go back / forwards in the history",
- "showJumpToNoteDialog": "show \"Jump to\" dialog",
++ "showJumpToNoteDialog": "show <a class=\"external\" href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/note-navigation.md#jump-to-note\">\"Jump to\" dialog</a>",
+ "scrollToActiveNote": "scroll to active note",
+ "jumpToParentNote": "jump to parent note",
+ "collapseWholeTree": "collapse whole note tree",
+ "collapseSubTree": "collapse sub-tree",
+ "tabShortcuts": "Tab shortcuts",
+ "newTabNoteLink": "(or middle mouse click) on note link opens note in a new tab",
+ "onlyInDesktop": "Only in desktop (electron build)",
+ "openEmptyTab": "open empty tab",
+ "closeActiveTab": "close active tab",
+ "activateNextTab": "activate next tab",
+ "activatePreviousTab": "activate previous tab",
+ "creatingNotes": "Creating notes",
+ "createNoteAfter": "create new note after the active note",
+ "createNoteInto": "create new sub-note into active note",
- "editBranchPrefix": "edit prefix of active note clone",
++ "editBranchPrefix": "edit <a class=\"external\" href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/tree-concepts.md#prefix\">prefix</a> of active note clone",
+ "movingCloningNotes": "Moving / cloning notes",
+ "moveNoteUpDown": "move note up/down in the note list",
+ "moveNoteUpHierarchy": "move note up in the hierarchy",
+ "multiSelectNote": "multi-select note above/below",
+ "selectAllNotes": "select all notes in the current level",
+ "selectNote": "select note",
- "copyNotes": "copy active note (or current selection) into clipboard (used for cloning)",
++ "copyNotes": "copy active note (or current selection) into clipboard (used for <a class=\"external\" href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/cloning-notes.md\">cloning</a>)",
+ "cutNotes": "cut current (or current selection) note into clipboard (used for moving notes)",
+ "pasteNotes": "paste note(s) as sub-note into active note (which is either move or clone depending on whether it was copied or cut into clipboard)",
+ "deleteNotes": "delete note / sub-tree",
+ "editingNotes": "Editing notes",
+ "editNoteTitle": "in tree pane will switch from tree pane into note title. Enter from note title will switch focus to text editor. will switch back from editor to tree pane.",
+ "createEditLink": "create / edit external link",
+ "createInternalLink": "create internal link",
+ "followLink": "follow link under cursor",
+ "insertDateTime": "insert current date and time at caret position",
+ "jumpToTreePane": "jump away to the tree pane and scroll to active note",
+ "markdownAutoformat": "Markdown-like autoformatting",
+ "headings": " etc. followed by space for headings",
+ "bulletList": "<kbd>*</kbd> or <kbd>-</kbd> followed by space for bullet list",
+ "numberedList": "<kbd>1.</kbd> or <kbd>1)</kbd> followed by space for numbered list",
+ "blockQuote": "start a line with <kbd>></kbd> followed by space for block quote",
+ "troubleshooting": "Troubleshooting",
+ "reloadFrontend": "reload Trilium frontend",
+ "showDevTools": "show developer tools",
+ "showSQLConsole": "show SQL console",
+ "other": "Other",
+ "quickSearch": "focus on quick search input",
+ "inPageSearch": "in page search"
+ },
+ "import": {
+ "importIntoNote": "Import into note",
+ "close": "Close",
+ "chooseImportFile": "Choose import file",
+ "importDescription": "Content of the selected file(s) will be imported as child note(s) into",
+ "options": "Options",
+ "safeImportTooltip": "Trilium <code>.zip</code> export files can contain executable scripts which may contain harmful behavior. Safe import will deactivate automatic execution of all imported scripts. Uncheck \"Safe import\" only if the imported archive is supposed to contain executable scripts and you completely trust the contents of the import file.",
+ "safeImport": "Safe import",
+ "explodeArchivesTooltip": "If this is checked then Trilium will read <code>.zip</code>, <code>.enex</code> and <code>.opml</code> files and create notes from files insides those archives. If unchecked, then Trilium will attach the archives themselves to the note.",
+ "explodeArchives": "Read contents of <code>.zip</code>, <code>.enex</code> and <code>.opml</code> archives.",
+ "shrinkImagesTooltip": "<p>If you check this option, Trilium will attempt to shrink the imported images by scaling and optimization which may affect the perceived image quality. If unchecked, images will be imported without changes.</p><p>This doesn't apply to <code>.zip</code> imports with metadata since it is assumed these files are already optimized.</p>",
+ "shrinkImages": "Shrink images",
+ "textImportedAsText": "Import HTML, Markdown and TXT as text notes if it's unclear from metadata",
+ "codeImportedAsCode": "Import recognized code files (e.g. <code>.json</code>) as code notes if it's unclear from metadata",
+ "replaceUnderscoresWithSpaces": "Replace underscores with spaces in imported note names",
+ "import": "Import"
+ },
+ "include_note": {
+ "dialog_title": "Include note",
+ "label_note": "Note",
+ "placeholder_search": "search for note by its name",
+ "box_size_prompt": "Box size of the included note:",
+ "box_size_small": "small (~ 10 lines)",
+ "box_size_medium": "medium (~ 30 lines)",
+ "box_size_full": "full (box shows complete text)",
+ "button_include": "Include note"
+ },
+ "info": {
+ "modalTitle": "Info message",
+ "closeButton": "Close",
+ "okButton": "OK"
+ },
+ "jump_to_note": {
+ "search_placeholder": "search for note by its name",
+ "search_button": "Search in full text <kbd>Ctrl+Enter</kbd>"
+ },
+ "markdown_import": {
+ "dialog_title": "Markdown import",
+ "modal_body_text": "Because of browser sandbox it's not possible to directly read clipboard from JavaScript. Please paste the Markdown to import to textarea below and click on Import button",
+ "import_button": "Import Ctrl+Enter",
+ "import_success": "Markdown content has been imported into the document."
+ },
+ "move_to": {
+ "dialog_title": "Move notes to ...",
+ "notes_to_move": "Notes to move",
+ "target_parent_note": "Target parent note",
+ "search_placeholder": "search for note by its name",
+ "move_button": "Move to selected note <kbd>enter</kbd>",
+ "error_no_path": "No path to move to.",
+ "move_success_message": "Selected notes have been moved into "
+ },
+ "note_type_chooser": {
+ "modal_title": "Choose note type",
+ "modal_body": "Choose note type / template of the new note:",
+ "dropdown_trigger": "Dropdown trigger",
+ "templates": "Templates:"
+ },
+ "password_not_set": {
+ "title": "Password is not set",
+ "body1": "Protected notes are encrypted using a user password, but password has not been set yet.",
+ "body2": "To be able to protect notes, click <a class=\"open-password-options-button\" href=\"javascript:\">here</a> to open the Options dialog and set your password.</a>"
+ },
+ "prompt": {
+ "title": "Prompt",
+ "ok": "OK <kbd>enter</kbd>",
+ "defaultTitle": "Prompt"
+ },
+ "protected_session_password": {
+ "modal_title": "Protected session",
+ "help_title": "Help on Protected notes",
+ "close_label": "Close",
+ "form_label": "To proceed with requested action you need to start protected session by entering password:",
+ "start_button": "Start protected session <kbd>enter</kbd>"
+ },
+ "recent_changes": {
+ "title": "Recent changes",
+ "erase_notes_button": "Erase deleted notes now",
+ "deleted_notes_message": "Deleted notes have been erased.",
+ "no_changes_message": "No changes yet ...",
+ "undelete_link": "undelete",
+ "confirm_undelete": "Do you want to undelete this note and its sub-notes?"
+ },
+ "revisions": {
+ "note_revisions": "Note revisions",
+ "delete_all_revisions": "Delete all revisions of this note",
+ "delete_all_button": "Delete all revisions",
+ "help_title": "Help on Note revisions",
+ "dropdown_trigger": "Dropdown trigger",
+ "revision_last_edited": "This revision was last edited on {{date}}",
+ "confirm_delete_all": "Do you want to delete all revisions of this note? This action will erase revision title and content, but still preserve revision metadata.",
+ "no_revisions": "No revisions for this note yet...",
+ "restore_button": "Restore this revision",
+ "confirm_restore": "Do you want to restore this revision? This will overwrite current title and content of the note with this revision.",
+ "delete_button": "Delete this revision",
+ "confirm_delete": "Do you want to delete this revision? This action will delete revision title and content, but still preserve revision metadata.",
+ "revisions_deleted": "Note revisions has been deleted.",
+ "revision_restored": "Note revision has been restored.",
+ "revision_deleted": "Note revision has been deleted.",
+ "download_button": "Download",
+ "mime": "MIME: ",
+ "file_size": "File size:",
+ "preview": "Preview:",
+ "preview_not_available": "Preview isn't available for this note type."
+ },
+ "sort_child_notes": {
+ "sort_children_by": "Sort children by ...",
+ "sorting_criteria": "Sorting criteria",
+ "title": "title",
+ "date_created": "date created",
+ "date_modified": "date modified",
+ "sorting_direction": "Sorting direction",
+ "ascending": "ascending",
+ "descending": "descending",
+ "folders": "Folders",
+ "sort_folders_at_top": "sort folders at the top",
+ "natural_sort": "Natural Sort",
+ "sort_with_respect_to_different_character_sorting": "sort with respect to different character sorting and collation rules in different languages or regions.",
+ "natural_sort_language": "Natural sort language",
+ "the_language_code_for_natural_sort": "The language code for natural sort, e.g. \"zh-CN\" for Chinese.",
+ "sort": "Sort"
+ },
+ "upload_attachments": {
+ "upload_attachments_to_note": "Upload attachments to note",
+ "choose_files": "Choose files",
+ "files_will_be_uploaded": "Files will be uploaded as attachments into",
+ "options": "Options",
+ "shrink_images": "Shrink images",
+ "upload": "Upload",
+ "tooltip": "If you check this option, Trilium will attempt to shrink the uploaded images by scaling and optimization which may affect the perceived image quality. If unchecked, images will be uploaded without changes."
+ },
+ "attribute_detail": {
+ "attr_detail_title": "Attribute Detail Title",
+ "close_button_title": "Cancel changes and close",
+ "attr_is_owned_by": "Attribute is owned by",
+ "attr_name_title": "Attribute name can be composed of alphanumeric characters, colon and underscore only",
+ "name": "Name",
+ "value": "Value",
+ "target_note_title": "Relation is a named connection between source note and target note.",
+ "target_note": "Target note",
+ "promoted_title": "Promoted attribute is displayed prominently on the note.",
+ "promoted": "Promoted",
+ "promoted_alias_title": "The name to be displayed in the promoted attributes UI.",
+ "promoted_alias": "Alias",
+ "multiplicity_title": "Multiplicity defines how many attributes of the same name can be created - at max 1 or more than 1.",
+ "multiplicity": "Multiplicity",
+ "single_value": "Single value",
+ "multi_value": "Multi value",
+ "label_type_title": "Type of the label will help Trilium to choose suitable interface to enter the label value.",
+ "label_type": "Type",
+ "text": "Text",
+ "number": "Number",
+ "boolean": "Boolean",
+ "date": "Date",
+ "date_time": "Date & Time",
+ "url": "URL",
+ "precision_title": "What number of digits after floating point should be available in the value setting interface.",
+ "precision": "Precision",
+ "digits": "digits",
+ "inverse_relation_title": "Optional setting to define to which relation is this one opposite. Example: Father - Son are inverse relations to each other.",
+ "inverse_relation": "Inverse relation",
+ "inheritable_title": "Inheritable attribute will be inherited to all descendants under this tree.",
+ "inheritable": "Inheritable",
+ "save_and_close": "Save & close <kbd>Ctrl+Enter</kbd>",
+ "delete": "Delete",
+ "related_notes_title": "Other notes with this label",
+ "more_notes": "More notes",
+ "label": "Label detail",
+ "label_definition": "Label definition detail",
+ "relation": "Relation detail",
+ "relation_definition": "Relation definition detail",
+ "disable_versioning": "disables auto-versioning. Useful for e.g. large, but unimportant notes - e.g. large JS libraries used for scripting",
+ "calendar_root": "marks note which should be used as root for day notes. Only one should be marked as such.",
+ "archived": "notes with this label won't be visible by default in search results (also in Jump To, Add Link dialogs etc).",
+ "exclude_from_export": "notes (with their sub-tree) won't be included in any note export",
- "run": "defines on which events script should run. Possible values are:\n<ul>\n<li>frontendStartup - when Trilium frontend starts up (or is refreshed).</li>\n<li>backendStartup - when Trilium backend starts up</li>\n<li>hourly - run once an hour. You can use additional label <code>runAtHour</code> to specify at which hour.</li>\n<li>daily - run once a day</li>\n</ul>",
++ "run": "defines on which events script should run. Possible values are:\n<ul>\n<li>frontendStartup - when Trilium frontend starts up (or is refreshed), but not on mobile.</li>\n<li>mobileStartup - when Trilium frontend starts up (or is refreshed), on mobile.</li>\n<li>backendStartup - when Trilium backend starts up</li>\n<li>hourly - run once an hour. You can use additional label <code>runAtHour</code> to specify at which hour.</li>\n<li>daily - run once a day</li>\n</ul>",
+ "run_on_instance": "Define which trilium instance should run this on. Default to all instances.",
+ "run_at_hour": "On which hour should this run. Should be used together with <code>#run=hourly</code>. Can be defined multiple times for more runs during the day.",
+ "disable_inclusion": "scripts with this label won't be included into parent script execution.",
+ "sorted": "keeps child notes sorted by title alphabetically",
+ "sort_direction": "ASC (the default) or DESC",
+ "sort_folders_first": "Folders (notes with children) should be sorted on top",
+ "top": "keep given note on top in its parent (applies only on sorted parents)",
+ "hide_promoted_attributes": "Hide promoted attributes on this note",
+ "read_only": "editor is in read only mode. Works only for text and code notes.",
+ "auto_read_only_disabled": "text/code notes can be set automatically into read mode when they are too large. You can disable this behavior on per-note basis by adding this label to the note",
+ "app_css": "marks CSS notes which are loaded into the Trilium application and can thus be used to modify Trilium's looks.",
+ "app_theme": "marks CSS notes which are full Trilium themes and are thus available in Trilium options.",
+ "css_class": "value of this label is then added as CSS class to the node representing given note in the tree. This can be useful for advanced theming. Can be used in template notes.",
+ "icon_class": "value of this label is added as a CSS class to the icon on the tree which can help visually distinguish the notes in the tree. Example might be bx bx-home - icons are taken from boxicons. Can be used in template notes.",
+ "page_size": "number of items per page in note listing",
+ "custom_request_handler": "see <a href=\"javascript:\" data-help-page=\"Custom request handler\">Custom request handler</a>",
+ "custom_resource_provider": "see <a href=\"javascript:\" data-help-page=\"Custom request handler\">Custom request handler</a>",
+ "widget": "marks this note as a custom widget which will be added to the Trilium component tree",
+ "workspace": "marks this note as a workspace which allows easy hoisting",
+ "workspace_icon_class": "defines box icon CSS class which will be used in tab when hoisted to this note",
+ "workspace_tab_background_color": "CSS color used in the note tab when hoisted to this note",
+ "workspace_calendar_root": "Defines per-workspace calendar root",
+ "workspace_template": "This note will appear in the selection of available template when creating new note, but only when hoisted into a workspace containing this template",
+ "search_home": "new search notes will be created as children of this note",
+ "workspace_search_home": "new search notes will be created as children of this note when hoisted to some ancestor of this workspace note",
+ "inbox": "default inbox location for new notes - when you create a note using \"new note\" button in the sidebar, notes will be created as child notes in the note marked as with <code>#inbox</code> label.",
+ "workspace_inbox": "default inbox location for new notes when hoisted to some ancestor of this workspace note",
+ "sql_console_home": "default location of SQL console notes",
+ "bookmark_folder": "note with this label will appear in bookmarks as folder (allowing access to its children)",
+ "share_hidden_from_tree": "this note is hidden from left navigation tree, but still accessible with its URL",
+ "share_external_link": "note will act as a link to an external website in the share tree",
+ "share_alias": "define an alias using which the note will be available under https://your_trilium_host/share/[your_alias]",
+ "share_omit_default_css": "default share page CSS will be omitted. Use when you make extensive styling changes.",
+ "share_root": "marks note which is served on /share root.",
+ "share_description": "define text to be added to the HTML meta tag for description",
+ "share_raw": "note will be served in its raw format, without HTML wrapper",
+ "share_disallow_robot_indexing": "will forbid robot indexing of this note via <code>X-Robots-Tag: noindex</code> header",
+ "share_credentials": "require credentials to access this shared note. Value is expected to be in format 'username:password'. Don't forget to make this inheritable to apply to child-notes/images.",
+ "share_index": "note with this this label will list all roots of shared notes",
+ "display_relations": "comma delimited names of relations which should be displayed. All other ones will be hidden.",
+ "hide_relations": "comma delimited names of relations which should be hidden. All other ones will be displayed.",
- "title_template": "default title of notes created as children of this note. The value is evaluated as JavaScript string \n and thus can be enriched with dynamic content via the injected <code>now</code> and <code>parentNote</code> variables. Examples:\n \n <ul>\n <li><code>${parentNote.getLabelValue('authorName')}'s literary works</code></li>\n <li><code>Log for ${now.format('YYYY-MM-DD HH:mm:ss')}</code></li>\n </ul>\n \n See <a href=\"https://github.com/zadam/trilium/wiki/Default-note-title\">wiki with details</a>, API docs for <a href=\"https://zadam.github.io/trilium/backend_api/Note.html\">parentNote</a> and <a href=\"https://day.js.org/docs/en/display/format\">now</a> for details.",
++ "title_template": "default title of notes created as children of this note. The value is evaluated as JavaScript string \n and thus can be enriched with dynamic content via the injected <code>now</code> and <code>parentNote</code> variables. Examples:\n \n <ul>\n <li><code>${parentNote.getLabelValue('authorName')}'s literary works</code></li>\n <li><code>Log for ${now.format('YYYY-MM-DD HH:mm:ss')}</code></li>\n </ul>\n \n See <a href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/default-note-title.md\">wiki with details</a>, API docs for <a href=\"https://zadam.github.io/trilium/backend_api/Note.html\">parentNote</a> and <a href=\"https://day.js.org/docs/en/display/format\">now</a> for details.",
+ "template": "This note will appear in the selection of available template when creating new note",
+ "toc": "<code>#toc</code> or <code>#toc=show</code> will force the Table of Contents to be shown, <code>#toc=hide</code> will force hiding it. If the label doesn't exist, the global setting is observed",
+ "color": "defines color of the note in note tree, links etc. Use any valid CSS color value like 'red' or #a13d5f",
+ "keyboard_shortcut": "Defines a keyboard shortcut which will immediately jump to this note. Example: 'ctrl+alt+e'. Requires frontend reload for the change to take effect.",
+ "keep_current_hoisting": "Opening this link won't change hoisting even if the note is not displayable in the current hoisted subtree.",
+ "execute_button": "Title of the button which will execute the current code note",
+ "execute_description": "Longer description of the current code note displayed together with the execute button",
+ "exclude_from_note_map": "Notes with this label will be hidden from the Note Map",
+ "new_notes_on_top": "New notes will be created at the top of the parent note, not on the bottom.",
+ "hide_highlight_widget": "Hide Hightlight List widget",
+ "run_on_note_creation": "executes when note is created on backend. Use this relation if you want to run the script for all notes created under a specific subtree. In that case, create it on the subtree root note and make it inheritable. A new note created within the subtree (any depth) will trigger the script.",
+ "run_on_child_note_creation": "executes when new note is created under the note where this relation is defined",
+ "run_on_note_title_change": "executes when note title is changed (includes note creation as well)",
+ "run_on_note_content_change": "executes when note content is changed (includes note creation as well).",
+ "run_on_note_change": "executes when note is changed (includes note creation as well). Does not include content changes",
+ "run_on_note_deletion": "executes when note is being deleted",
+ "run_on_branch_creation": "executes when a branch is created. Branch is a link between parent note and child note and is created e.g. when cloning or moving note.",
+ "run_on_branch_change": "executes when a branch is updated.",
+ "run_on_branch_deletion": "executes when a branch is deleted. Branch is a link between parent note and child note and is deleted e.g. when moving note (old branch/link is deleted).",
+ "run_on_attribute_creation": "executes when new attribute is created for the note which defines this relation",
+ "run_on_attribute_change": " executes when the attribute is changed of a note which defines this relation. This is triggered also when the attribute is deleted",
+ "relation_template": "note's attributes will be inherited even without a parent-child relationship, note's content and subtree will be added to instance notes if empty. See documentation for details.",
+ "inherit": "note's attributes will be inherited even without a parent-child relationship. See template relation for a similar concept. See attribute inheritance in the documentation.",
+ "render_note": "notes of type \"render HTML note\" will be rendered using a code note (HTML or script) and it is necessary to point using this relation to which note should be rendered",
+ "widget_relation": "target of this relation will be executed and rendered as a widget in the sidebar",
+ "share_css": "CSS note which will be injected into the share page. CSS note must be in the shared sub-tree as well. Consider using 'share_hidden_from_tree' and 'share_omit_default_css' as well.",
+ "share_js": "JavaScript note which will be injected into the share page. JS note must be in the shared sub-tree as well. Consider using 'share_hidden_from_tree'.",
+ "share_template": "Embedded JavaScript note that will be used as the template for displaying the shared note. Falls back to the default template. Consider using 'share_hidden_from_tree'.",
+ "share_favicon": "Favicon note to be set in the shared page. Typically you want to set it to share root and make it inheritable. Favicon note must be in the shared sub-tree as well. Consider using 'share_hidden_from_tree'.",
+ "is_owned_by_note": "is owned by note",
+ "other_notes_with_name": "Other notes with {{attributeType}} name \"{{attributeName}}\"",
+ "and_more": "... and {{count}} more."
+ },
+ "attribute_editor": {
+ "help_text_body1": "To add label, just type e.g. <code>#rock</code> or if you want to add also value then e.g. <code>#year = 2020</code>",
+ "help_text_body2": "For relation, type <code>~author = @</code> which should bring up an autocomplete where you can look up the desired note.",
+ "help_text_body3": "Alternatively you can add label and relation using the <code>+</code> button on the right side.",
+ "save_attributes": "Save attributes <enter>",
+ "add_a_new_attribute": "Add a new attribute",
+ "add_new_label": "Add new label <kbd data-command=\"addNewLabel\"></kbd>",
+ "add_new_relation": "Add new relation <kbd data-command=\"addNewRelation\"></kbd>",
+ "add_new_label_definition": "Add new label definition",
+ "add_new_relation_definition": "Add new relation definition"
+ },
+ "abstract_bulk_action": {
+ "remove_this_search_action": "Remove this search action"
+ },
+ "execute_script": {
+ "execute_script": "Execute script",
+ "help_text": "You can execute simple scripts on the matched notes.",
+ "example_1": "For example to append a string to a note's title, use this small script:",
+ "example_2": "More complex example would be deleting all matched note's attributes:"
+ },
+ "add_label": {
+ "add_label": "Add label",
+ "label_name_placeholder": "label name",
+ "label_name_title": "Alphanumeric characters, underscore and colon are allowed characters.",
+ "to_value": "to value",
+ "new_value_placeholder": "new value",
+ "help_text": "On all matched notes:",
+ "help_text_item1": "create given label if note doesn't have one yet",
+ "help_text_item2": "or change value of the existing label",
+ "help_text_note": "You can also call this method without value, in such case label will be assigned to the note without value."
+ },
+ "delete_label": {
+ "delete_label": "Delete label",
+ "label_name_placeholder": "label name",
+ "label_name_title": "Alphanumeric characters, underscore and colon are allowed characters."
+ },
+ "rename_label": {
+ "rename_label": "Rename label",
+ "rename_label_from": "Rename label from",
+ "old_name_placeholder": "old name",
+ "to": "To",
+ "new_name_placeholder": "new name",
+ "name_title": "Alphanumeric characters, underscore and colon are allowed characters."
+ },
+ "update_label_value": {
+ "update_label_value": "Update label value",
+ "label_name_placeholder": "label name",
+ "label_name_title": "Alphanumeric characters, underscore and colon are allowed characters.",
+ "to_value": "to value",
+ "new_value_placeholder": "new value",
+ "help_text": "On all matched notes, change value of the existing label.",
+ "help_text_note": "You can also call this method without value, in such case label will be assigned to the note without value."
+ },
+ "delete_note": {
+ "delete_note": "Delete note",
+ "delete_matched_notes": "Delete matched notes",
+ "delete_matched_notes_description": "This will delete matched notes.",
+ "undelete_notes_instruction": "After the deletion, it's possible to undelete them from Recent Changes dialog.",
+ "erase_notes_instruction": "To erase notes permanently, you can go after the deletion to the Option -> Other and click the \"Erase deleted notes now\" button."
+ },
+ "delete_revisions": {
+ "delete_note_revisions": "Delete note revisions",
+ "all_past_note_revisions": "All past note revisions of matched notes will be deleted. Note itself will be fully preserved. In other terms, note's history will be removed."
+ },
+ "move_note": {
+ "move_note": "Move note",
+ "to": "to",
+ "target_parent_note": "target parent note",
+ "on_all_matched_notes": "On all matched notes",
+ "move_note_new_parent": "move note to the new parent if note has only one parent (i.e. the old placement is removed and new placement into the new parent is created)",
+ "clone_note_new_parent": "clone note to the new parent if note has multiple clones/placements (it's not clear which placement should be removed)",
+ "nothing_will_happen": "nothing will happen if note cannot be moved to the target note (i.e. this would create a tree cycle)"
+ },
+ "rename_note": {
+ "rename_note": "Rename note",
+ "rename_note_title_to": "Rename note title to",
+ "new_note_title": "new note title",
+ "click_help_icon": "Click help icon on the right to see all the options",
+ "evaluated_as_js_string": "The given value is evaluated as JavaScript string and thus can be enriched with dynamic content via the injected <code>note</code> variable (note being renamed). Examples:",
+ "example_note": "<code>Note</code> - all matched notes are renamed to 'Note'",
+ "example_new_title": "<code>NEW: ${note.title}</code> - matched notes titles are prefixed with 'NEW: '",
+ "example_date_prefix": "<code>${note.dateCreatedObj.format('MM-DD:')}: ${note.title}</code> - matched notes are prefixed with note's creation month-date",
+ "api_docs": "See API docs for <a href='https://zadam.github.io/trilium/backend_api/Note.html'>note</a> and its <a href='https://day.js.org/docs/en/display/format'>dateCreatedObj / utcDateCreatedObj properties</a> for details."
+ },
+ "add_relation": {
+ "add_relation": "Add relation",
+ "relation_name": "relation name",
+ "allowed_characters": "Alphanumeric characters, underscore and colon are allowed characters.",
+ "to": "to",
+ "target_note": "target note",
+ "create_relation_on_all_matched_notes": "On all matched notes create given relation."
+ },
+ "delete_relation": {
+ "delete_relation": "Delete relation",
+ "relation_name": "relation name",
+ "allowed_characters": "Alphanumeric characters, underscore and colon are allowed characters."
+ },
+ "rename_relation": {
+ "rename_relation": "Rename relation",
+ "rename_relation_from": "Rename relation from",
+ "old_name": "old name",
+ "to": "To",
+ "new_name": "new name",
+ "allowed_characters": "Alphanumeric characters, underscore and colon are allowed characters."
+ },
+ "update_relation_target": {
+ "update_relation": "Update relation",
+ "relation_name": "relation name",
+ "allowed_characters": "Alphanumeric characters, underscore and colon are allowed characters.",
+ "to": "to",
+ "target_note": "target note",
+ "on_all_matched_notes": "On all matched notes",
+ "create_given_relation": "create given relation if note doesn't have one yet",
+ "change_target_note": "or change target note of the existing relation",
+ "update_relation_target": "Update relation target"
+ },
+ "attachments_actions": {
+ "open_externally": "Open externally",
+ "open_externally_title": "File will be open in an external application and watched for changes. You'll then be able to upload the modified version back to Trilium.",
+ "open_custom": "Open custom",
+ "open_custom_title": "File will be open in an external application and watched for changes. You'll then be able to upload the modified version back to Trilium.",
+ "download": "Download",
+ "rename_attachment": "Rename attachment",
+ "upload_new_revision": "Upload new revision",
+ "copy_link_to_clipboard": "Copy link to clipboard",
+ "convert_attachment_into_note": "Convert attachment into note",
+ "delete_attachment": "Delete attachment",
+ "upload_success": "New attachment revision has been uploaded.",
+ "upload_failed": "Upload of a new attachment revision failed.",
+ "open_externally_detail_page": "Opening attachment externally is available only from the detail page, please first click on the attachment detail first and repeat the action.",
+ "open_custom_client_only": "Custom opening of attachments can only be done from the client.",
+ "delete_confirm": "Are you sure you want to delete attachment '{{title}}'?",
+ "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": {
+ "mon": "Mon",
+ "tue": "Tue",
+ "wed": "Wed",
+ "thu": "Thu",
+ "fri": "Fri",
+ "sat": "Sat",
+ "sun": "Sun",
+ "cannot_find_day_note": "Cannot find day note",
+ "january": "January",
+ "febuary": "Febuary",
+ "march": "March",
+ "april": "April",
+ "may": "May",
+ "june": "June",
+ "july": "July",
+ "august": "August",
+ "september": "September",
+ "october": "October",
+ "november": "November",
+ "december": "December"
+ },
+ "close_pane_button": {
+ "close_this_pane": "Close this pane"
+ },
+ "create_pane_button": {
+ "create_new_split": "Create new split"
+ },
+ "edit_button": {
+ "edit_this_note": "Edit this note"
+ },
+ "global_menu": {
+ "menu": "Menu",
+ "options": "Options",
+ "open_new_window": "Open New Window",
+ "switch_to_mobile_version": "Switch to Mobile Version",
+ "switch_to_desktop_version": "Switch to Desktop Version",
+ "zoom": "Zoom",
+ "toggle_fullscreen": "Toggle Fullscreen",
+ "zoom_out": "Zoom Out",
+ "reset_zoom_level": "Reset Zoom Level",
+ "zoom_in": "Zoom In",
+ "configure_launchbar": "Configure Launchbar",
+ "show_shared_notes_subtree": "Show Shared Notes Subtree",
+ "advanced": "Advanced",
+ "open_dev_tools": "Open Dev Tools",
+ "open_sql_console": "Open SQL Console",
+ "open_sql_console_history": "Open SQL Console History",
+ "open_search_history": "Open Search History",
+ "show_backend_log": "Show Backend Log",
+ "reload_hint": "Reload can help with some visual glitches without restarting the whole app.",
+ "reload_frontend": "Reload Frontend",
+ "show_hidden_subtree": "Show Hidden Subtree",
+ "show_help": "Show Help",
+ "about": "About TriliumNext Notes",
+ "logout": "Logout"
+ },
+ "left_pane_toggle": {
+ "hide_panel": "Hide panel",
+ "open_panel": "Open panel"
+ },
+ "move_pane_button": {
+ "move_left": "Move left",
+ "move_right": "Move right"
+ },
+ "note_actions": {
+ "convert_into_attachment": "Convert into attachment",
+ "re_render_note": "Re-render note",
+ "search_in_note": "Search in note",
+ "note_source": "Note source",
+ "note_attachments": "Note attachments",
+ "open_note_externally": "Open note externally",
+ "open_note_externally_title": "File will be open in an external application and watched for changes. You'll then be able to upload the modified version back to Trilium.",
+ "open_note_custom": "Open note custom",
+ "import_files": "Import files",
+ "export_note": "Export note",
+ "delete_note": "Delete note",
+ "print_note": "Print note",
+ "save_revision": "Save revision"
+ },
+ "onclick_button": {
+ "no_click_handler": "Button widget '{{componentId}}' has no defined click handler"
+ },
+ "protected_session_status": {
+ "active": "Protected session is active. Click to leave protected session.",
+ "inactive": "Click to enter protected session"
+ },
+ "revisions_button": {
+ "note_revisions": "Note Revisions"
+ },
+ "update_available": {
+ "update_available": "Update available"
+ },
+ "note_launcher": {
+ "this_launcher_doesnt_define_target_note": "This launcher doesn't define target note."
+ },
+ "code_buttons": {
+ "execute_button_title": "Execute script",
+ "trilium_api_docs_button_title": "Open Trilium API docs",
+ "save_to_note_button_title": "Save to note",
+ "opening_api_docs_message": "Opening API docs...",
+ "sql_console_saved_message": "SQL Console note has been saved into {{note_path}}"
+ },
+ "copy_image_reference_button": {
+ "button_title": "Copy image reference to the clipboard, can be pasted into a text note."
+ },
+ "hide_floating_buttons_button": {
+ "button_title": "Hide buttons"
+ },
+ "mermaid_export_button": {
+ "button_title": "Export Mermaid diagram as SVG"
+ },
+ "relation_map_buttons": {
+ "create_child_note_title": "Create new child note and add it into this relation map",
+ "reset_pan_zoom_title": "Reset pan & zoom to initial coordinates and magnification",
+ "zoom_in_title": "Zoom In",
+ "zoom_out_title": "Zoom Out"
+ },
+ "zpetne_odkazy": {
+ "backlink": "{{count}} Backlink",
+ "backlinks": "{{count}} Backlinks",
+ "relation": "relation"
+ },
+ "mobile_detail_menu": {
+ "insert_child_note": "Insert child note",
+ "delete_this_note": "Delete this note",
+ "error_cannot_get_branch_id": "Cannot get branchId for notePath '{{notePath}}'",
+ "error_unrecognized_command": "Unrecognized command {{command}}"
+ },
+ "basic_properties": {
+ "note_type": "Note type",
+ "editable": "Editable",
+ "basic_properties": "Basic Properties"
+ },
+ "book_properties": {
+ "view_type": "View type",
+ "grid": "Grid",
+ "list": "List",
+ "collapse_all_notes": "Collapse all notes",
+ "expand_all_children": "Expand all children",
+ "collapse": "Collapse",
+ "expand": "Expand",
+ "book_properties": "Book Properties",
+ "invalid_view_type": "Invalid view type '{{type}}'"
+ },
+ "edited_notes": {
+ "no_edited_notes_found": "No edited notes on this day yet ...",
+ "title": "Edited Notes",
+ "deleted": "(deleted)"
+ },
+ "file_properties": {
+ "note_id": "Note ID",
+ "original_file_name": "Original file name",
+ "file_type": "File type",
+ "file_size": "File size",
+ "download": "Download",
+ "open": "Open",
+ "upload_new_revision": "Upload new revision",
+ "upload_success": "New file revision has been uploaded.",
+ "upload_failed": "Upload of a new file revision failed.",
+ "title": "File"
+ },
+ "image_properties": {
+ "original_file_name": "Original file name",
+ "file_type": "File type",
+ "file_size": "File size",
+ "download": "Download",
+ "open": "Open",
+ "copy_reference_to_clipboard": "Copy reference to clipboard",
+ "upload_new_revision": "Upload new revision",
+ "upload_success": "New image revision has been uploaded.",
+ "upload_failed": "Upload of a new image revision failed: {{message}}",
+ "title": "Image"
+ },
+ "inherited_attribute_list": {
+ "title": "Inherited Attributes",
+ "no_inherited_attributes": "No inherited attributes."
+ },
+ "note_info_widget": {
+ "note_id": "Note ID",
+ "created": "Created",
+ "modified": "Modified",
+ "type": "Type",
+ "note_size": "Note size",
+ "note_size_info": "Note size provides rough estimate of storage requirements for this note. It takes into account note's content and content of its note revisions.",
+ "calculate": "calculate",
+ "subtree_size": "(subtree size: {{size}} in {{count}} notes)",
+ "title": "Note Info"
+ },
+ "note_map": {
+ "open_full": "Expand to full",
+ "collapse": "Collapse to normal size",
+ "title": "Note Map"
+ },
+ "note_paths": {
+ "title": "Note Paths",
+ "clone_button": "Clone note to new location...",
+ "intro_placed": "This note is placed into the following paths:",
+ "intro_not_placed": "This note is not yet placed into the note tree.",
+ "outside_hoisted": "This path is outside of hoisted note and you would have to unhoist.",
+ "archived": "Archived",
+ "search": "Search"
+ },
+ "note_properties": {
+ "this_note_was_originally_taken_from": "This note was originally taken from:",
+ "info": "Info"
+ },
+ "owned_attribute_list": {
+ "owned_attributes": "Owned Attributes"
+ },
+ "promoted_attributes": {
+ "promoted_attributes": "Promoted Attributes",
+ "url_placeholder": "http://website...",
+ "open_external_link": "Open external link",
+ "unknown_label_type": "Unknown labelType '{{type}}'",
+ "unknown_attribute_type": "Unknown attribute type '{{type}}'",
+ "add_new_attribute": "Add new attribute",
+ "remove_this_attribute": "Remove this attribute"
+ },
+ "script_executor": {
+ "query": "Query",
+ "script": "Script",
+ "execute_query": "Execute Query",
+ "execute_script": "Execute Script"
+ },
+ "search_definition": {
+ "add_search_option": "Add search option:",
+ "search_string": "search string",
+ "search_script": "search script",
+ "ancestor": "ancestor",
+ "fast_search": "fast search",
+ "fast_search_description": "Fast search option disables full text search of note contents which might speed up searching in large databases.",
+ "include_archived": "include archived",
+ "include_archived_notes_description": "Archived notes are by default excluded from search results, with this option they will be included.",
+ "order_by": "order by",
+ "limit": "limit",
+ "limit_description": "Limit number of results",
+ "debug": "debug",
+ "debug_description": "Debug will print extra debugging information into the console to aid in debugging complex queries",
+ "action": "action",
+ "search": "Search",
+ "enter": "enter",
+ "search_execute": "Search & Execute actions",
+ "save_to_note": "Save to note",
+ "search_parameters": "Search Parameters",
+ "unknown_search_option": "Unknown search option {{searchOptionName}}",
+ "search_note_saved": "Search note has been saved into {{- notePathTitle}}",
+ "actions_executed": "Actions have been executed."
+ },
+ "similar_notes": {
+ "title": "Similar Notes",
+ "no_similar_notes_found": "No similar notes found."
+ },
+ "abstract_search_option": {
+ "remove_this_search_option": "Remove this search option",
+ "failed_rendering": "Failed rendering search option: {{dto}} with error: {{error}} {{stack}}"
+ },
+ "ancestor": {
+ "label": "Ancestor",
+ "placeholder": "search for note by its name",
+ "depth_label": "depth",
+ "depth_doesnt_matter": "doesn't matter",
+ "depth_eq": "is exactly {{count}}",
+ "direct_children": "direct children",
+ "depth_gt": "is greater than {{count}}",
+ "depth_lt": "is less than {{count}}"
+ },
+ "debug": {
+ "debug": "Debug",
+ "debug_info": "Debug will print extra debugging information into the console to aid in debugging complex queries.",
+ "access_info": "To access the debug information, execute query and click on \"Show backend log\" in top left corner."
+ },
+ "fast_search": {
+ "fast_search": "Fast search",
+ "description": "Fast search option disables full text search of note contents which might speed up searching in large databases."
+ },
+ "include_archived_notes": {
+ "include_archived_notes": "Include archived notes"
+ },
+ "limit": {
+ "limit": "Limit",
+ "take_first_x_results": "Take only first X specified results."
+ },
+ "order_by": {
+ "order_by": "Order by",
+ "relevancy": "Relevancy (default)",
+ "title": "Title",
+ "date_created": "Date created",
+ "date_modified": "Date of last modification",
+ "content_size": "Note content size",
+ "content_and_attachments_size": "Note content size including attachments",
+ "content_and_attachments_and_revisions_size": "Note content size including attachments and revisions",
+ "revision_count": "Number of revisions",
+ "children_count": "Number of children notes",
+ "parent_count": "Number of clones",
+ "owned_label_count": "Number of labels",
+ "owned_relation_count": "Number of relations",
+ "target_relation_count": "Number of relations targeting the note",
+ "random": "Random order",
+ "asc": "Ascending (default)",
+ "desc": "Descending"
+ },
+ "search_script": {
+ "title": "Search script:",
+ "placeholder": "search for note by its name",
+ "description1": "Search script allows to define search results by running a script. This provides maximal flexibility when standard search doesn't suffice.",
+ "description2": "Search script must be of type \"code\" and subtype \"JavaScript backend\". The script needs to return an array of noteIds or notes.",
+ "example_title": "See this example:",
+ "example_code": "// 1. prefiltering using standard search\nconst candidateNotes = api.searchForNotes(\"#journal\"); \n\n// 2. applying custom search criteria\nconst matchedNotes = candidateNotes\n .filter(note => note.title.match(/[0-9]{1,2}\\. ?[0-9]{1,2}\\. ?[0-9]{4}/));\n\nreturn matchedNotes;",
+ "note": "Note that search script and search string can't be combined with each other."
+ },
+ "search_string": {
+ "title_column": "Search string:",
+ "placeholder": "fulltext keywords, #tag = value ...",
+ "search_syntax": "Search syntax",
+ "also_see": "also see",
+ "complete_help": "complete help on search syntax",
+ "full_text_search": "Just enter any text for full text search",
+ "label_abc": "returns notes with label abc",
+ "label_year": "matches notes with label year having value 2019",
+ "label_rock_pop": "matches notes which have both rock and pop labels",
+ "label_rock_or_pop": "only one of the labels must be present",
+ "label_year_comparison": "numerical comparison (also >, >=, <).",
+ "label_date_created": "notes created in the last month",
+ "error": "Search error: {{error}}"
+ },
+ "attachment_detail": {
+ "open_help_page": "Open help page on attachments",
+ "owning_note": "Owning note: ",
+ "you_can_also_open": ", you can also open the ",
+ "list_of_all_attachments": "List of all attachments",
+ "attachment_deleted": "This attachment has been deleted."
+ },
+ "attachment_list": {
+ "open_help_page": "Open help page on attachments",
+ "owning_note": "Owning note: ",
+ "upload_attachments": "Upload attachments",
+ "no_attachments": "This note has no attachments."
+ },
+ "book": {
+ "no_children_help": "This note of type Book doesn't have any child notes so there's nothing to display. See <a href=\"https://github.com/TriliumNext/Docs/blob/main/Wiki/book-note.md\">wiki</a> for details."
+ },
+ "editable_code": {
+ "placeholder": "Type the content of your code note here..."
+ },
+ "editable_text": {
+ "placeholder": "Type the content of your note here ..."
+ },
+ "empty": {
+ "open_note_instruction": "Open a note by typing the note's title into the input below or choose a note in the tree.",
+ "search_placeholder": "search for a note by its name",
+ "enter_workspace": "Enter workspace {{title}}"
+ },
+ "file": {
+ "file_preview_not_available": "File preview is not available for this file format."
+ },
+ "protected_session": {
+ "enter_password_instruction": "Showing protected note requires entering your password:",
+ "start_session_button": "Start protected session"
+ },
+ "relation_map": {
+ "open_in_new_tab": "Open in new tab",
+ "remove_note": "Remove note",
+ "edit_title": "Edit title",
+ "rename_note": "Rename note",
+ "enter_new_title": "Enter new note title:",
+ "remove_relation": "Remove relation",
+ "confirm_remove_relation": "Are you sure you want to remove the relation?",
+ "specify_new_relation_name": "Specify new relation name (allowed characters: alphanumeric, colon and underscore):",
+ "connection_exists": "Connection '{{name}}' between these notes already exists.",
+ "start_dragging_relations": "Start dragging relations from here and drop them on another note.",
+ "note_not_found": "Note {{noteId}} not found!",
+ "cannot_match_transform": "Cannot match transform: {{transform}}",
+ "note_already_in_diagram": "Note \"{{title}}\" is already in the diagram.",
+ "enter_title_of_new_note": "Enter title of new note",
+ "default_new_note_title": "new note",
+ "click_on_canvas_to_place_new_note": "Click on canvas to place new note"
}
- }
}