Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
add missing context menu translation
Nriver529502524d08
diff --git a/src/public/app/menus/tree_context_menu.js b/src/public/app/menus/tree_context_menu.jsindex 684b31c99a..caa5728169 100644--- a/src/public/app/menus/tree_context_menu.js+++ b/src/public/app/menus/tree_context_menu.js@@ -62,8 +62,8 @@ export default class TreeContextMenu {{ title: "----" },{ title: `${t("tree-context-menu.search-in-subtree")} <kbd data-command="searchInSubtree"></kbd>`, command: "searchInSubtree", uiIcon: "bx bx-search",enabled: notSearch && noSelectedNotes },- isHoisted ? null : { title: 'Hoist note <kbd data-command="toggleNoteHoisting"></kbd>', command: "toggleNoteHoisting", uiIcon: "bx bx-empty", enabled: noSelectedNotes && notSearch },- !isHoisted || !isNotRoot ? null : { title: 'Unhoist note <kbd data-command="toggleNoteHoisting"></kbd>', command: "toggleNoteHoisting", uiIcon: "bx bx-door-open" },+ isHoisted ? null : { title: `${t("tree-context-menu.hoist-note")} <kbd data-command="toggleNoteHoisting"></kbd>`, command: "toggleNoteHoisting", uiIcon: "bx bx-empty", enabled: noSelectedNotes && notSearch },+ !isHoisted || !isNotRoot ? null : { title: `${t("tree-context-menu.unhoist-note")} <kbd data-command="toggleNoteHoisting"></kbd>`, command: "toggleNoteHoisting", uiIcon: "bx bx-door-open" },{ title: `${t("tree-context-menu.edit-branch-prefix")} <kbd data-command="editBranchPrefix"></kbd>`, command: "editBranchPrefix", uiIcon: "bx bx-empty",enabled: isNotRoot && parentNotSearch && noSelectedNotes && notOptions },{ title: t("tree-context-menu.advanced"), uiIcon: "bx bx-empty", enabled: true, items: [diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.jsonindex 75169ae332..1c379700ea 100644--- a/src/public/translations/cn/translation.json+++ b/src/public/translations/cn/translation.json@@ -1290,6 +1290,8 @@"insert-child-note": "插入子笔记","delete": "删除","search-in-subtree": "在子树中搜索",+ "hoist-note": "提升笔记",+ "unhoist-note": "取消提升笔记","edit-branch-prefix": "编辑分支前缀","advanced": "高级","expand-subtree": "展开子树",diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.jsonindex c72abb34da..e8a61e4648 100644--- a/src/public/translations/en/translation.json+++ b/src/public/translations/en/translation.json@@ -1290,6 +1290,8 @@"insert-child-note": "Insert child note","delete": "Delete","search-in-subtree": "Search in subtree",+ "hoist-note": "Hoist note",+ "unhoist-note": "Unhoist note","edit-branch-prefix": "Edit branch prefix","advanced": "Advanced","expand-subtree": "Expand subtree",