From 724e495ea94cdab014dfe2f94ebcf7bf4b5b9347 Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Fri, 27 Mar 2026 19:08:55 +0800 Subject: [PATCH] =?UTF-8?q?i18n:=20=E6=B7=BB=E5=8A=A0=20updateAvailable=20?= =?UTF-8?q?=E5=92=8C=20expiryOptions=20=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/i18n/locales/en-US/core/header.json | 1 + dashboard/src/i18n/locales/en-US/features/settings.json | 7 +++++++ dashboard/src/i18n/locales/ru-RU/core/header.json | 1 + dashboard/src/i18n/locales/zh-CN/core/header.json | 1 + dashboard/src/i18n/locales/zh-CN/features/settings.json | 7 +++++++ 5 files changed, 17 insertions(+) diff --git a/dashboard/src/i18n/locales/en-US/core/header.json b/dashboard/src/i18n/locales/en-US/core/header.json index b1cd45559..2435e580d 100644 --- a/dashboard/src/i18n/locales/en-US/core/header.json +++ b/dashboard/src/i18n/locales/en-US/core/header.json @@ -4,6 +4,7 @@ "hasNewVersion": "AstrBot has a new version!", "dashboardHasNewVersion": "WebUI has a new version!" }, + "updateAvailable": "New version available", "buttons": { "update": "Update", "account": "Account", diff --git a/dashboard/src/i18n/locales/en-US/features/settings.json b/dashboard/src/i18n/locales/en-US/features/settings.json index 39eeb23d4..e96f2ffda 100644 --- a/dashboard/src/i18n/locales/en-US/features/settings.json +++ b/dashboard/src/i18n/locales/en-US/features/settings.json @@ -223,6 +223,13 @@ "365days": "365 days", "permanent": "Permanent" }, + "expiryOptions": { + "day1": "1 day", + "day7": "7 days", + "day30": "30 days", + "day90": "90 days", + "permanent": "Permanent" + }, "permanentWarning": "Permanent API keys are high risk. Store them securely and use only when necessary.", "scopes": "Scopes", "create": "Create API Key", diff --git a/dashboard/src/i18n/locales/ru-RU/core/header.json b/dashboard/src/i18n/locales/ru-RU/core/header.json index a23f3dfd3..f68d2c831 100644 --- a/dashboard/src/i18n/locales/ru-RU/core/header.json +++ b/dashboard/src/i18n/locales/ru-RU/core/header.json @@ -4,6 +4,7 @@ "hasNewVersion": "Доступна новая версия AstrBot!", "dashboardHasNewVersion": "Доступна новая версия WebUI!" }, + "updateAvailable": "Доступна новая версия", "buttons": { "update": "Обновить", "account": "Аккаунт", diff --git a/dashboard/src/i18n/locales/zh-CN/core/header.json b/dashboard/src/i18n/locales/zh-CN/core/header.json index f5165aa05..c70e65145 100644 --- a/dashboard/src/i18n/locales/zh-CN/core/header.json +++ b/dashboard/src/i18n/locales/zh-CN/core/header.json @@ -4,6 +4,7 @@ "hasNewVersion": "AstrBot 有新版本!", "dashboardHasNewVersion": "WebUI 有新版本!" }, + "updateAvailable": "发现新版本", "buttons": { "update": "更新", "account": "账户", diff --git a/dashboard/src/i18n/locales/zh-CN/features/settings.json b/dashboard/src/i18n/locales/zh-CN/features/settings.json index ee86ce6d4..a0a311450 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/settings.json +++ b/dashboard/src/i18n/locales/zh-CN/features/settings.json @@ -223,6 +223,13 @@ "365days": "365 天", "permanent": "永久" }, + "expiryOptions": { + "day1": "1 天", + "day7": "7 天", + "day30": "30 天", + "day90": "90 天", + "permanent": "永久" + }, "permanentWarning": "永久有效的 API Key 风险较高,请妥善保存并建议仅在必要场景使用。", "scopes": "权限范围", "create": "创建 API Key",