An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 当自定义排序时支持在文档上/下新建同级文档 https://github.com/siyuan-note/siyuan/issues/5098
Liang Dingeb7e1b3d1daa
diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.jsonindex 475dc86c67..d69d4afc52 100644--- a/app/appearance/langs/en_US.json+++ b/app/appearance/langs/en_US.json@@ -1,7 +1,7 @@{- "newSubFile": "New SubFile",- "newFileAfter": "New file after",- "newFileBefore": "New file before",+ "newSubDoc": "Create sub doc",+ "newDocBelow": "Create doc below",+ "newDocAbove": "Create doc above","adaptiveWidth": "Adaptive Width","fullWidthTip": "After enabling, the editing area will be displayed as wide as possible","tabLimit": "Tab Limit",diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.jsonindex 0c6da71c09..4ffa138a69 100644--- a/app/appearance/langs/es_ES.json+++ b/app/appearance/langs/es_ES.json@@ -1,7 +1,7 @@{- "newSubFile": "Nuevo SubArchivo",- "newFileAfter": "Nuevo archivo en el mismo nivel después",- "newFileBefore": "Nuevo archivo en el mismo nivel anterior",+ "newSubDoc": "Crear subdocumento",+ "newDocBelow": "Crear documento a continuación",+ "newDocAbove": "Crear documento arriba","fullWidth": "Ancho adaptable","fullWidthTip": "Cuando está habilitado, el área de edición se mostrará lo más amplia posible","tabLimit": "Límite de la pestaña",diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.jsonindex 2165ede418..d64178acaa 100644--- a/app/appearance/langs/fr_FR.json+++ b/app/appearance/langs/fr_FR.json@@ -1,7 +1,7 @@{- "newSubFile": "Nouveau sous-fichier",- "newFileAfter": "Nouveau fichier au même niveau après",- "newFileBefore": "Nouveau fichier au même niveau avant",+ "newSubDoc": "Créer un sous-doc",+ "newDocBelow": "Créer un document ci-dessous",+ "newDocAbove": "Créer un document ci-dessus","fullWidth": "Largeur adaptative","fullWidthTip": "Lorsqu'il est activé, la zone d'édition sera affichée aussi large que possible","tabLimit": "Nombre maximum d'onglets ouverts",diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.jsonindex ffff443a0d..343e1ab371 100644--- a/app/appearance/langs/zh_CHT.json+++ b/app/appearance/langs/zh_CHT.json@@ -1,7 +1,7 @@{- "newSubFile": "新建子文檔",- "newFileAfter": "在後新建同級文檔",- "newFileBefore": "在前新建同級文檔",+ "newSubDoc": "新建子文檔",+ "newDocBelow": "在下方新建文檔",+ "newDocAbove": "在上方新建文檔","fullWidth": "自適應寬度","fullWidthTip": "開啟後將盡可能寬地顯示編輯區","tabLimit": "頁簽打開最大數量",diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.jsonindex 0771a41033..24ba77f239 100644--- a/app/appearance/langs/zh_CN.json+++ b/app/appearance/langs/zh_CN.json@@ -1,7 +1,7 @@{- "newSubFile": "新建子文档",- "newFileAfter": "在后新建同级文档",- "newFileBefore": "在前新建同级文档",+ "newSubDoc": "新建子文档",+ "newDocBelow": "在下方新建文档",+ "newDocAbove": "在上方新建文档","fullWidth": "自适应宽度","fullWidthTip": "开启后将尽可能宽地显示编辑区","tabLimit": "页签打开最大数量",diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.tsindex df6ea4e0ab..85a1f5d791 100644--- a/app/src/menus/navigation.ts+++ b/app/src/menus/navigation.ts@@ -135,7 +135,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:if (!window.siyuan.config.readonly) {window.siyuan.menus.menu.append(new MenuItem({icon: "iconFile",- label: window.siyuan.languages.newSubFile,+ label: window.siyuan.languages.newSubDoc,click: () => {newFile(notebookId, pathString, true);}@@ -143,7 +143,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:if (window.siyuan.config.fileTree.sort === 6) {window.siyuan.menus.menu.append(new MenuItem({icon: "iconBefore",- label: window.siyuan.languages.newFileBefore,+ label: window.siyuan.languages.newDocAbove,click: () => {const paths: string[] = [];Array.from(liElement.parentElement.children).forEach((item) => {@@ -159,7 +159,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:}).element);window.siyuan.menus.menu.append(new MenuItem({icon: "iconAfter",- label: window.siyuan.languages.newFileAfter,+ label: window.siyuan.languages.newDocBelow,click: () => {const paths: string[] = [];Array.from(liElement.parentElement.children).forEach((item) => {