mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-04 06:31:35 +08:00
add missing context menu translation
This commit is contained in:
parent
7c518e9512
commit
529502524d
@ -62,8 +62,8 @@ export default class TreeContextMenu {
|
|||||||
{ title: "----" },
|
{ title: "----" },
|
||||||
{ title: `${t("tree-context-menu.search-in-subtree")} <kbd data-command="searchInSubtree"></kbd>`, command: "searchInSubtree", uiIcon: "bx bx-search",
|
{ title: `${t("tree-context-menu.search-in-subtree")} <kbd data-command="searchInSubtree"></kbd>`, command: "searchInSubtree", uiIcon: "bx bx-search",
|
||||||
enabled: notSearch && noSelectedNotes },
|
enabled: notSearch && noSelectedNotes },
|
||||||
isHoisted ? null : { title: 'Hoist note <kbd data-command="toggleNoteHoisting"></kbd>', command: "toggleNoteHoisting", uiIcon: "bx bx-empty", enabled: noSelectedNotes && notSearch },
|
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: 'Unhoist note <kbd data-command="toggleNoteHoisting"></kbd>', command: "toggleNoteHoisting", uiIcon: "bx bx-door-open" },
|
!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",
|
{ title: `${t("tree-context-menu.edit-branch-prefix")} <kbd data-command="editBranchPrefix"></kbd>`, command: "editBranchPrefix", uiIcon: "bx bx-empty",
|
||||||
enabled: isNotRoot && parentNotSearch && noSelectedNotes && notOptions },
|
enabled: isNotRoot && parentNotSearch && noSelectedNotes && notOptions },
|
||||||
{ title: t("tree-context-menu.advanced"), uiIcon: "bx bx-empty", enabled: true, items: [
|
{ title: t("tree-context-menu.advanced"), uiIcon: "bx bx-empty", enabled: true, items: [
|
||||||
|
@ -1290,6 +1290,8 @@
|
|||||||
"insert-child-note": "插入子笔记",
|
"insert-child-note": "插入子笔记",
|
||||||
"delete": "删除",
|
"delete": "删除",
|
||||||
"search-in-subtree": "在子树中搜索",
|
"search-in-subtree": "在子树中搜索",
|
||||||
|
"hoist-note": "提升笔记",
|
||||||
|
"unhoist-note": "取消提升笔记",
|
||||||
"edit-branch-prefix": "编辑分支前缀",
|
"edit-branch-prefix": "编辑分支前缀",
|
||||||
"advanced": "高级",
|
"advanced": "高级",
|
||||||
"expand-subtree": "展开子树",
|
"expand-subtree": "展开子树",
|
||||||
|
@ -1290,6 +1290,8 @@
|
|||||||
"insert-child-note": "Insert child note",
|
"insert-child-note": "Insert child note",
|
||||||
"delete": "Delete",
|
"delete": "Delete",
|
||||||
"search-in-subtree": "Search in subtree",
|
"search-in-subtree": "Search in subtree",
|
||||||
|
"hoist-note": "Hoist note",
|
||||||
|
"unhoist-note": "Unhoist note",
|
||||||
"edit-branch-prefix": "Edit branch prefix",
|
"edit-branch-prefix": "Edit branch prefix",
|
||||||
"advanced": "Advanced",
|
"advanced": "Advanced",
|
||||||
"expand-subtree": "Expand subtree",
|
"expand-subtree": "Expand subtree",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user