diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 524b6c7b2..51ee61405 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1,5 +1,7 @@ { "location": "位置", + "insertColumnLeft1": "在左边插入${x}列", + "insertColumnRight1": "在右边插入${x}列", "noSplitScreenWhenOpenTab": "打开页签时不分屏", "noSplitScreenWhenOpenTabTip": "打开搜索、PDF 等页签时不自动分屏", "useChrome": "仅支持在基于 Chromium 内核的浏览器(比如 Chrome/Edge)中使用,使用其他浏览器会遇到无法解决的兼容性问题", diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 5be25eae6..45a04f978 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -2387,7 +2387,9 @@ export const tableMenu = (protyle: IProtyle, nodeElement: Element, cellElement: insertMenus.push({ id: "insertRowAbove", icon: "iconBefore", - label: window.siyuan.languages.insertRowAbove, + label: `
+${window.siyuan.languages.insertRowBefore.replace("${x}", ``)} +
`, accelerator: window.siyuan.config.keymap.editor.table.insertRowAbove.custom, click: () => { insertRowAbove(protyle, range, cellElement, nodeElement);