From 26c2b829a58b3818f50b683800fa6fdac04864d4 Mon Sep 17 00:00:00 2001 From: SiYue-ZO <2835601846@qq.com> Date: Wed, 25 Mar 2026 01:00:57 +0800 Subject: [PATCH] frontend: unify restart-required copy (zh/en) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update restartRequired message from model-specific to generic config change - zh: '切换默认模型后需要重启服务才能生效' -> '配置变更后需要重启服务才能生效' - en: 'Model changes require a gateway restart' -> 'Configuration changes require a gateway restart' - Reflects unified restart detection for model/tools/config changes --- web/frontend/src/i18n/locales/en.json | 2 +- web/frontend/src/i18n/locales/zh.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/frontend/src/i18n/locales/en.json b/web/frontend/src/i18n/locales/en.json index 8e051f42e..3cdacbeee 100644 --- a/web/frontend/src/i18n/locales/en.json +++ b/web/frontend/src/i18n/locales/en.json @@ -66,7 +66,7 @@ "restarting": "Restarting Gateway...", "stopping": "Stopping Gateway..." }, - "restartRequired": "Model changes require a gateway restart to take effect." + "restartRequired": "Configuration changes require a gateway restart to take effect." } }, "common": { diff --git a/web/frontend/src/i18n/locales/zh.json b/web/frontend/src/i18n/locales/zh.json index a6c588807..22d64a190 100644 --- a/web/frontend/src/i18n/locales/zh.json +++ b/web/frontend/src/i18n/locales/zh.json @@ -66,7 +66,7 @@ "restarting": "服务重启中...", "stopping": "服务停止中..." }, - "restartRequired": "切换默认模型后需要重启服务才能生效。" + "restartRequired": "配置变更后需要重启服务才能生效。" } }, "common": {