An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:memo: https://github.com/siyuan-note/siyuan/issues/8163
Vanessa1ba4c4af7775
diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.jsonindex 85de09a626..251a3bdaf9 100644--- a/app/appearance/langs/zh_CN.json+++ b/app/appearance/langs/zh_CN.json@@ -473,7 +473,7 @@"customSort": "自定义排序","collapse": "折叠","blockEmbed": "嵌入块",- "gutterTip": "拖拽 移动位置<br>点击 打开菜单<br>⌘Click 进入<br>⌥Click 折叠/展开<br>⇧Click 修改属性",+ "gutterTip": "点击 打开菜单<br>⌘Click 进入<br>⌥Click 折叠/展开<br>⇧Click 修改属性<br>拖拽 移动位置<br>⌃拖拽 重复<br>⌥拖拽 生成块引用<br>⇧拖拽 生成嵌入块<br>","gutterTip2": "点击 打开菜单<br>⇧Click 修改属性","linkDistance": "链接距离","collideStrength": "斥力强度",diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex 2bc5155dda..858416419c 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -44,7 +44,7 @@ export class Gutter {constructor(protyle: IProtyle) {this.element = document.createElement("div");this.element.className = "protyle-gutters";- this.element.setAttribute("aria-label", window.siyuan.languages.gutterTip.replace("⌘Click", updateHotkeyTip("⌘Click")).replace("⌥Click", updateHotkeyTip("⌥Click")).replace("⇧Click", updateHotkeyTip("⇧Click")));+ this.element.setAttribute("aria-label", window.siyuan.languages.gutterTip.replace(/⌘/g, updateHotkeyTip("⌘")).replace(/⌥/g, updateHotkeyTip("⌥")).replace(/⇧/g, updateHotkeyTip("⇧")).replace(/⌃/g, updateHotkeyTip("⌃")));this.element.setAttribute("data-type", "a");this.element.setAttribute("data-position", "right");this.element.addEventListener("dragstart", (event: DragEvent & { target: HTMLElement }) => {