(), {
variant: 'default'
})
@@ -101,6 +101,11 @@ const changeLanguage = async (langCode: string) => {
/* action-btn类已经处理了margin-right: 6px,不需要额外样式 */
}
+/* ChatBox变体样式 - 与Header保持一致 */
+.language-switcher--chatbox {
+ /* 继承action-btn样式,与工具栏主题按钮保持一致 */
+}
+
/* 深色模式下的悬停效果(仅对default变体) */
:deep(.v-theme--PurpleThemeDark) .language-switcher--default:hover {
background: rgba(114, 46, 209, 0.12) !important;
diff --git a/dashboard/src/components/shared/Logo.vue b/dashboard/src/components/shared/Logo.vue
index f404cf0db..90196a903 100644
--- a/dashboard/src/components/shared/Logo.vue
+++ b/dashboard/src/components/shared/Logo.vue
@@ -7,11 +7,11 @@
{{ subtitle }}
+ class="hint-text">{{ subtitle || t('core.header.accountDialog.title') }}
@@ -19,23 +19,26 @@
diff --git a/dashboard/src/i18n/locales/en-US/core/common.json b/dashboard/src/i18n/locales/en-US/core/common.json
index 62b6884af..71fc16e72 100644
--- a/dashboard/src/i18n/locales/en-US/core/common.json
+++ b/dashboard/src/i18n/locales/en-US/core/common.json
@@ -26,6 +26,7 @@
"uninstall": "Uninstall",
"update": "Update",
"language": "Language",
+ "locale": "en-US",
"type": "Type",
"press": "Press",
"longPress": "Long press",
diff --git a/dashboard/src/i18n/locales/en-US/core/header.json b/dashboard/src/i18n/locales/en-US/core/header.json
index 02f3bde66..8cb203924 100644
--- a/dashboard/src/i18n/locales/en-US/core/header.json
+++ b/dashboard/src/i18n/locales/en-US/core/header.json
@@ -1,4 +1,5 @@
{
+ "logoTitle": "AstrBot Dashboard",
"version": {
"hasNewVersion": "AstrBot has a new version!",
"dashboardHasNewVersion": "WebUI has a new version!"
diff --git a/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json b/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json
index 528de8148..69ecb72fb 100644
--- a/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json
+++ b/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json
@@ -46,7 +46,8 @@
"searchButton": "Search",
"resultsTitle": "Search Results",
"noResults": "No relevant memory content found",
- "similarity": "Relevance"
+ "similarity": "Relevance",
+ "noTextContent": "No text content"
},
"addMemory": {
"title": "Add Memory Data",
@@ -79,7 +80,8 @@
"metadataValue": "Value",
"loading": "Loading...",
"close": "Close",
- "noValue": "None"
+ "noValue": "None",
+ "unknown": "Unknown"
},
"messages": {
"searchQueryRequired": "Please enter search keywords",
@@ -89,6 +91,7 @@
"addSuccess": "Memory data added successfully!",
"addError": "Failed to add memory data",
"factDetailsError": "Failed to get memory details",
- "metadataParseError": "Unable to parse metadata"
+ "metadataParseError": "Unable to parse metadata",
+ "relationNoMemoryData": "This relation has no associated memory data"
}
}
\ No newline at end of file
diff --git a/dashboard/src/i18n/locales/zh-CN/core/common.json b/dashboard/src/i18n/locales/zh-CN/core/common.json
index 4cbb74e57..a2353da4c 100644
--- a/dashboard/src/i18n/locales/zh-CN/core/common.json
+++ b/dashboard/src/i18n/locales/zh-CN/core/common.json
@@ -26,6 +26,7 @@
"uninstall": "卸载",
"update": "更新",
"language": "语言",
+ "locale": "zh-CN",
"type": "输入",
"press": "按",
"longPress": "长按",
diff --git a/dashboard/src/i18n/locales/zh-CN/core/header.json b/dashboard/src/i18n/locales/zh-CN/core/header.json
index 638bd8777..a1d23a2ae 100644
--- a/dashboard/src/i18n/locales/zh-CN/core/header.json
+++ b/dashboard/src/i18n/locales/zh-CN/core/header.json
@@ -1,4 +1,5 @@
{
+ "logoTitle": "AstrBot 仪表盘",
"version": {
"hasNewVersion": "AstrBot 有新版本!",
"dashboardHasNewVersion": "WebUI 有新版本!"
diff --git a/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json b/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json
index 269c8f29b..0520d9dab 100644
--- a/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json
+++ b/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json
@@ -46,7 +46,8 @@
"searchButton": "搜索",
"resultsTitle": "搜索结果",
"noResults": "未找到相关记忆内容",
- "similarity": "相关度"
+ "similarity": "相关度",
+ "noTextContent": "无文本内容"
},
"addMemory": {
"title": "添加记忆数据",
@@ -79,7 +80,8 @@
"metadataValue": "值",
"loading": "加载中...",
"close": "关闭",
- "noValue": "无"
+ "noValue": "无",
+ "unknown": "未知"
},
"messages": {
"searchQueryRequired": "请输入搜索关键词",
@@ -89,6 +91,7 @@
"addSuccess": "记忆数据添加成功!",
"addError": "添加记忆数据失败",
"factDetailsError": "获取记忆详情失败",
- "metadataParseError": "无法解析元数据"
+ "metadataParseError": "无法解析元数据",
+ "relationNoMemoryData": "该关系没有关联的记忆数据"
}
}
\ No newline at end of file
diff --git a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue
index 6f6f84c46..22ac90006 100644
--- a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue
+++ b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue
@@ -442,7 +442,7 @@ commonStore.getStartTime();
-
+
{
- this.toast("获取插件市场数据失败: " + err, "error");
return Promise.reject(err);
});
},
diff --git a/dashboard/src/views/ChatBoxPage.vue b/dashboard/src/views/ChatBoxPage.vue
index 007d399e8..123b7b4a2 100644
--- a/dashboard/src/views/ChatBoxPage.vue
+++ b/dashboard/src/views/ChatBoxPage.vue
@@ -9,7 +9,7 @@ const customizer = useCustomizerStore();
diff --git a/dashboard/src/views/ChatPage.vue b/dashboard/src/views/ChatPage.vue
index 46652e6c9..e361130a8 100644
--- a/dashboard/src/views/ChatPage.vue
+++ b/dashboard/src/views/ChatPage.vue
@@ -124,6 +124,12 @@
class="fullscreen-icon">mdi-fullscreen