From 925098944cde37f7952050727b5a9538f4a766c0 Mon Sep 17 00:00:00 2001 From: jingrow Date: Mon, 3 Nov 2025 14:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/jingrow/frontend/src/locales/zh-CN.json | 15 ++++++++++++++- .../jingrow/frontend/src/shared/stores/menu.ts | 4 ++-- .../src/views/dev/MyPublishedAgents.vue | 18 +++++++++--------- .../src/views/dev/MyPublishedNodes.vue | 18 +++++++++--------- 4 files changed, 34 insertions(+), 21 deletions(-) diff --git a/apps/jingrow/frontend/src/locales/zh-CN.json b/apps/jingrow/frontend/src/locales/zh-CN.json index 072bcfb..57e3f22 100644 --- a/apps/jingrow/frontend/src/locales/zh-CN.json +++ b/apps/jingrow/frontend/src/locales/zh-CN.json @@ -1040,5 +1040,18 @@ "Agent flow data is missing": "智能体流程数据不存在", "Installation failed": "安装失败", "Installing Agent": "正在安装智能体", - "Installing Node": "正在安装节点" + "Installing Node": "正在安装节点", + + "My Published Nodes": "已发布节点", + "My Published Agents": "已发布智能体", + "Manage your published nodes in the marketplace": "管理您在市场中发布的节点", + "Manage your published agents in the marketplace": "管理您在市场中发布的智能体", + "Node name does not exist": "节点名称不存在", + "Agent name does not exist": "智能体名称不存在", + "Are you sure you want to delete node \"{0}\"? This action cannot be undone.": "确定要删除节点 \"{0}\" 吗?此操作不可恢复。", + "Are you sure you want to delete agent \"{0}\"? This action cannot be undone.": "确定要删除智能体 \"{0}\" 吗?此操作不可恢复。", + "Node deleted successfully": "节点删除成功", + "Agent deleted successfully": "智能体删除成功", + "Confirm Delete": "确认删除", + "Delete failed": "删除失败" } diff --git a/apps/jingrow/frontend/src/shared/stores/menu.ts b/apps/jingrow/frontend/src/shared/stores/menu.ts index 10e08cb..88181fd 100644 --- a/apps/jingrow/frontend/src/shared/stores/menu.ts +++ b/apps/jingrow/frontend/src/shared/stores/menu.ts @@ -61,8 +61,8 @@ function getDefaultMenus(): AppMenuItem[] { { id: 'app-installer', key: 'AppInstaller', label: 'App Installer', icon: 'tabler:upload', type: 'route', routeName: 'AppInstaller', parentId: 'dev-group', order: 5 }, { id: 'installed-apps', key: 'InstalledApps', label: 'Installed Apps', icon: 'tabler:apps', type: 'route', routeName: 'InstalledApps', parentId: 'dev-group', order: 6 }, { id: 'my-published-apps', key: 'MyPublishedApps', label: 'My Published Apps', icon: 'tabler:cloud-upload', type: 'route', routeName: 'MyPublishedApps', parentId: 'dev-group', order: 7 }, - { id: 'my-published-nodes', key: 'MyPublishedNodes', label: '已发布节点', icon: 'carbon:add-child-node', type: 'route', routeName: 'MyPublishedNodes', parentId: 'dev-group', order: 7.1 }, - { id: 'my-published-agents', key: 'MyPublishedAgents', label: '已发布智能体', icon: 'hugeicons:robotic', type: 'route', routeName: 'MyPublishedAgents', parentId: 'dev-group', order: 7.2 }, + { id: 'my-published-nodes', key: 'MyPublishedNodes', label: 'My Published Nodes', icon: 'carbon:add-child-node', type: 'route', routeName: 'MyPublishedNodes', parentId: 'dev-group', order: 7.1 }, + { id: 'my-published-agents', key: 'MyPublishedAgents', label: 'My Published Agents', icon: 'hugeicons:robotic', type: 'route', routeName: 'MyPublishedAgents', parentId: 'dev-group', order: 7.2 }, { id: 'app-marketplace', key: 'AppMarketplace', label: 'App Marketplace', icon: 'tabler:shopping-cart', type: 'route', routeName: 'AppMarketplace', parentId: 'dev-group', order: 7.5 }, { id: 'node-marketplace', key: 'NodeMarketplace', label: 'Node Marketplace', icon: 'carbon:add-child-node', type: 'route', routeName: 'NodeMarketplace', parentId: 'dev-group', order: 8 }, { id: 'agent-marketplace', key: 'AgentMarketplace', label: 'Agent Marketplace', icon: 'hugeicons:robotic', type: 'route', routeName: 'AgentMarketplace', parentId: 'dev-group', order: 8.5 }, diff --git a/apps/jingrow/frontend/src/views/dev/MyPublishedAgents.vue b/apps/jingrow/frontend/src/views/dev/MyPublishedAgents.vue index bf7a23e..8d30540 100644 --- a/apps/jingrow/frontend/src/views/dev/MyPublishedAgents.vue +++ b/apps/jingrow/frontend/src/views/dev/MyPublishedAgents.vue @@ -3,7 +3,7 @@