i18n: move kbd tag to translation string (tree-context-menu.open-in-a-new-tab)

This commit is contained in:
Panagiotis Papadopoulos 2024-12-20 15:44:00 +01:00
parent 62696a4e0a
commit b41952a1e4
8 changed files with 8 additions and 8 deletions

View File

@ -59,7 +59,7 @@ export default class TreeContextMenu implements SelectMenuItemEventListener<Tree
const insertNoteAfterEnabled = isNotRoot && !isHoisted && parentNotSearch; const insertNoteAfterEnabled = isNotRoot && !isHoisted && parentNotSearch;
const items: (MenuItem<TreeCommandNames> | null)[] = [ 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 }, { title: t("tree-context-menu.open-in-a-new-split"), command: "openNoteInSplit", uiIcon: "bx bx-dock-right", enabled: noSelectedNotes },

View File

@ -1315,7 +1315,7 @@
"button-tree-map": "树形地图" "button-tree-map": "树形地图"
}, },
"tree-context-menu": { "tree-context-menu": {
"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": "插入子笔记",

View File

@ -1303,7 +1303,7 @@
"button-tree-map": "Baumkarte" "button-tree-map": "Baumkarte"
}, },
"tree-context-menu": { "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", "open-in-a-new-split": "In neuem Split öffnen",
"insert-note-after": "Notiz dahinter einfügen", "insert-note-after": "Notiz dahinter einfügen",
"insert-child-note": "Unternotiz einfügen", "insert-child-note": "Unternotiz einfügen",

View File

@ -1345,7 +1345,7 @@
"button-tree-map": "Tree map" "button-tree-map": "Tree map"
}, },
"tree-context-menu": { "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", "open-in-a-new-split": "Open in a new split",
"insert-note-after": "Insert note after", "insert-note-after": "Insert note after",
"insert-child-note": "Insert child note", "insert-child-note": "Insert child note",

View File

@ -1327,7 +1327,7 @@
"button-tree-map": "Mapa de Árbol" "button-tree-map": "Mapa de Árbol"
}, },
"tree-context-menu": { "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", "open-in-a-new-split": "Abrir en nueva división",
"insert-note-after": "Insertar nota después de", "insert-note-after": "Insertar nota después de",
"insert-child-note": "Insertar subnota", "insert-child-note": "Insertar subnota",

View File

@ -1304,7 +1304,7 @@
"button-tree-map": "Carte arborescente" "button-tree-map": "Carte arborescente"
}, },
"tree-context-menu": { "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", "open-in-a-new-split": "Ouvrir dans une nouvelle division",
"insert-note-after": "Insérer une note après", "insert-note-after": "Insérer une note après",
"insert-child-note": "Insérer une note enfant", "insert-child-note": "Insérer une note enfant",

View File

@ -1333,7 +1333,7 @@
"insert-note-after": "Inserează după notiță", "insert-note-after": "Inserează după notiță",
"move-to": "Mutare la...", "move-to": "Mutare la...",
"open-in-a-new-split": "Deschide în lateral", "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-after": "Lipește după notiță",
"paste-into": "Lipește în notiță", "paste-into": "Lipește în notiță",
"protect-subtree": "Protejează ierarhia", "protect-subtree": "Protejează ierarhia",

View File

@ -1315,7 +1315,7 @@
"button-tree-map": "樹形地圖" "button-tree-map": "樹形地圖"
}, },
"tree-context-menu": { "tree-context-menu": {
"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": "插入子筆記",