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
i18n: move kbd tag to translation string (tree-context-menu.open-in-a-new-tab)
Panagiotis Papadopoulosb41952a1e472
diff --git a/src/public/app/menus/tree_context_menu.ts b/src/public/app/menus/tree_context_menu.tsindex cb1d00c0fe..ada4bec217 100644--- a/src/public/app/menus/tree_context_menu.ts+++ b/src/public/app/menus/tree_context_menu.ts@@ -59,7 +59,7 @@ export default class TreeContextMenu implements SelectMenuItemEventListener<Treeconst insertNoteAfterEnabled = isNotRoot && !isHoisted && parentNotSearch;const items: (MenuItem<TreeCommandNames> | null)[] = [- { title: `${t("tree-context-menu.open-in-a-new-tab")} <kbd>Ctrl+Click</kbd>`, command: "openInTab", uiIcon: "bx bx-link-external", enabled: noSelectedNotes },+ { title: `${t("tree-context-menu.open-in-a-new-tab")}`, command: "openInTab", uiIcon: "bx bx-link-external", enabled: noSelectedNotes },{ title: t("tree-context-menu.open-in-a-new-split"), command: "openNoteInSplit", uiIcon: "bx bx-dock-right", enabled: noSelectedNotes },diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.jsonindex 785eb96799..6784ee856f 100644--- a/src/public/translations/cn/translation.json+++ b/src/public/translations/cn/translation.json@@ -1315,7 +1315,7 @@"button-tree-map": "树形地图"},"tree-context-menu": {- "open-in-a-new-tab": "在新标签页中打开",+ "open-in-a-new-tab": "在新标签页中打开 <kbd>Ctrl+Click</kbd>","open-in-a-new-split": "在新分栏中打开","insert-note-after": "在后面插入笔记","insert-child-note": "插入子笔记",diff --git a/src/public/translations/de/translation.json b/src/public/translations/de/translation.jsonindex 5f03665e44..f1b917fbbc 100644--- a/src/public/translations/de/translation.json+++ b/src/public/translations/de/translation.json@@ -1303,7 +1303,7 @@"button-tree-map": "Baumkarte"},"tree-context-menu": {- "open-in-a-new-tab": "In neuem Tab öffnen",+ "open-in-a-new-tab": "In neuem Tab öffnen <kbd>Strg+Klick</kbd>","open-in-a-new-split": "In neuem Split öffnen","insert-note-after": "Notiz dahinter einfügen","insert-child-note": "Unternotiz einfügen",diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.jsonindex e65358eaf2..3e7f01d0fc 100644--- a/src/public/translations/en/translation.json+++ b/src/public/translations/en/translation.json@@ -1345,7 +1345,7 @@"button-tree-map": "Tree map"},"tree-context-menu": {- "open-in-a-new-tab": "Open in a new tab",+ "open-in-a-new-tab": "Open in a new tab <kbd>Ctrl+Click</kbd>","open-in-a-new-split": "Open in a new split","insert-note-after": "Insert note after","insert-child-note": "Insert child note",diff --git a/src/public/translations/es/translation.json b/src/public/translations/es/translation.jsonindex 9539d54824..753f678d7a 100644--- a/src/public/translations/es/translation.json+++ b/src/public/translations/es/translation.json@@ -1327,7 +1327,7 @@"button-tree-map": "Mapa de Árbol"},"tree-context-menu": {- "open-in-a-new-tab": "Abrir en nueva pestaña",+ "open-in-a-new-tab": "Abrir en nueva pestaña <kbd>Ctrl+Click</kbd>","open-in-a-new-split": "Abrir en nueva división","insert-note-after": "Insertar nota después de","insert-child-note": "Insertar subnota",diff --git a/src/public/translations/fr/translation.json b/src/public/translations/fr/translation.jsonindex 36862599d7..c96cc243ac 100644--- a/src/public/translations/fr/translation.json+++ b/src/public/translations/fr/translation.json@@ -1304,7 +1304,7 @@"button-tree-map": "Carte arborescente"},"tree-context-menu": {- "open-in-a-new-tab": "Ouvrir dans un nouvel onglet",+ "open-in-a-new-tab": "Ouvrir dans un nouvel onglet <kbd>Ctrl+Clic</kbd>","open-in-a-new-split": "Ouvrir dans une nouvelle division","insert-note-after": "Insérer une note après","insert-child-note": "Insérer une note enfant",diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.jsonindex a590ade592..ba13f8cb04 100644--- a/src/public/translations/ro/translation.json+++ b/src/public/translations/ro/translation.json@@ -1333,7 +1333,7 @@"insert-note-after": "Inserează după notiță","move-to": "Mutare la...","open-in-a-new-split": "Deschide în lateral",- "open-in-a-new-tab": "Deschide în tab nou",+ "open-in-a-new-tab": "Deschide în tab nou <kbd>Ctrl+Clic</kbd>","paste-after": "Lipește după notiță","paste-into": "Lipește în notiță","protect-subtree": "Protejează ierarhia",diff --git a/src/public/translations/tw/translation.json b/src/public/translations/tw/translation.jsonindex 20409e6860..1517c4df1a 100644--- a/src/public/translations/tw/translation.json+++ b/src/public/translations/tw/translation.json@@ -1315,7 +1315,7 @@"button-tree-map": "樹形地圖"},"tree-context-menu": {- "open-in-a-new-tab": "在新標籤頁中打開",+ "open-in-a-new-tab": "在新標籤頁中打開 <kbd>Ctrl+Click</kbd>","open-in-a-new-split": "在新分欄中打開","insert-note-after": "在後面插入筆記","insert-child-note": "插入子筆記",