From d4a42de814e5c4a0c65ef9430746c894ab019381 Mon Sep 17 00:00:00 2001 From: Kuingsmile <96409857+Kuingsmile@users.noreply.github.com> Date: Tue, 26 Aug 2025 10:08:53 +0800 Subject: [PATCH] :sparkles: Feature(custom): optimize some setting description --- src/components/dashboard/UpdateManagerCard.vue | 2 +- src/i18n/locales/en.json | 2 +- src/i18n/locales/zh.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/dashboard/UpdateManagerCard.vue b/src/components/dashboard/UpdateManagerCard.vue index 68858b6..d7a08c0 100644 --- a/src/components/dashboard/UpdateManagerCard.vue +++ b/src/components/dashboard/UpdateManagerCard.vue @@ -204,7 +204,7 @@ const checkForUpdates = async () => { } } catch (err: any) { console.error('Failed to check for updates:', err) - error.value = err.message || t('update.checkError') + error.value = t('update.checkError') + String(err ? `: ${err}` : '') } finally { checking.value = false } diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index e36877e..c98beb5 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -160,7 +160,7 @@ "startup": { "autoLaunch": { "title": "Auto-launch on startup", - "description": "Automatically start OpenList service when the application launches" + "description": "Automatically start OpenList core when the computer starts" } }, "admin": { diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 387cf20..5b2510b 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -160,7 +160,7 @@ "startup": { "autoLaunch": { "title": "开机自启", - "description": "应用程序启动时自动启动 OpenList 服务" + "description": "开机自动启动 OpenList 核心" } }, "admin": {