From 7c27520d579596f14f7d4efe840cee1bc3ed8eb9 Mon Sep 17 00:00:00 2001 From: IGCrystal Date: Mon, 16 Jun 2025 22:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E7=BB=A7=E7=BB=AD=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=89=A9=E4=B8=8B=E7=BB=84=E4=BB=B6=E7=9A=84=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ExtensionCard.vue - 插件卡片组件 WaitingForRestart.vue - 重启等待组件 ReadmeDialog.vue - README对话框组件 AstrBotConfig.vue - 配置编辑器组件 ListConfigItem.vue - 列表配置项组件 ItemCardGrid.vue - 卡片网格组件 ChatPage.vue - 聊天页面的录音提示文本 ConfigPage.vue - 配置页面的状态消息 ExtensionPage.vue - 插件页面的加载和状态文本 OnlineTime.vue - 仪表板运行时间组件 --- .../src/components/shared/AstrBotConfig.vue | 11 +++-- .../src/components/shared/ExtensionCard.vue | 42 ++++++++++--------- .../src/components/shared/ItemCardGrid.vue | 21 +++++++--- .../src/components/shared/ListConfigItem.vue | 10 ++++- .../src/components/shared/ReadmeDialog.vue | 32 ++++++++++---- .../components/shared/WaitingForRestart.vue | 10 +++-- .../src/i18n/locales/en-US/core/common.json | 35 ++++++++++++++++ .../src/i18n/locales/en-US/features/chat.json | 4 +- .../locales/en-US/features/dashboard.json | 5 ++- .../locales/en-US/features/extension.json | 33 ++++++++++++++- .../src/i18n/locales/zh-CN/core/common.json | 35 ++++++++++++++++ .../src/i18n/locales/zh-CN/features/chat.json | 4 +- .../locales/zh-CN/features/dashboard.json | 5 ++- .../locales/zh-CN/features/extension.json | 33 ++++++++++++++- dashboard/src/views/ChatPage.vue | 4 +- dashboard/src/views/ConfigPage.vue | 10 ++--- dashboard/src/views/ExtensionPage.vue | 18 ++++---- .../default/components/OnlineTime.vue | 16 ++++--- 18 files changed, 259 insertions(+), 69 deletions(-) diff --git a/dashboard/src/components/shared/AstrBotConfig.vue b/dashboard/src/components/shared/AstrBotConfig.vue index 960fe3f3..104518d8 100644 --- a/dashboard/src/components/shared/AstrBotConfig.vue +++ b/dashboard/src/components/shared/AstrBotConfig.vue @@ -107,7 +107,7 @@ function saveEditedContent() { color="primary" class="editor-fullscreen-btn" @click="openEditorDialog(key, iterable, metadata[metadataKey].items[key]?.editor_theme, metadata[metadataKey].items[key]?.editor_language)" - title="全屏编辑" + :title="t('core.common.editor.fullscreen')" > mdi-fullscreen @@ -288,10 +288,10 @@ function saveEditedContent() { mdi-close - 编辑内容 - {{ currentEditingKey }} + {{ t('core.common.editor.editingTitle') }} - {{ currentEditingKey }} - 保存 + {{ t('core.common.save') }} @@ -309,12 +309,17 @@ function saveEditedContent() {