From efce0c6c57b7e39336bef9324a5eb09af54531bb Mon Sep 17 00:00:00 2001 From: t0ng7u Date: Fri, 11 Jul 2025 23:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20i18n:=20add=20missing=20English?= =?UTF-8?q?=20strings=20for=20auto-disable=20switch=20in=20channel=20setti?= =?UTF-8?q?ngs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary • **en.json** – Added translation for “是否自动禁用” → “Whether to automatically disable”. – Stubbed/added key for helper text “仅当自动禁用开启时有效,关闭后不会自动禁用该渠道” (translation placeholder left for future update). Why These keys were previously untranslated, causing mixed-language UI for the “Auto Disable” toggle in the channel edit form. Filling them (or at least registering the keys) ensures consistent localization and prevents runtime fallbacks. --- web/src/i18n/locales/en.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json index 29bf9ac6..dd5acd99 100644 --- a/web/src/i18n/locales/en.json +++ b/web/src/i18n/locales/en.json @@ -421,6 +421,8 @@ "微信身份验证": "WeChat Authentication", "Turnstile 用户校验": "Turnstile User Verification", "创建新的渠道": "Create New Channel", + "是否自动禁用": "Whether to automatically disable", + "仅当自动禁用开启时有效,关闭后不会自动禁用该渠道": "Only effective when automatic disabling is enabled, after closing, the channel will not be automatically disabled", "镜像": "Mirror", "请输入镜像站地址,格式为:https://domain.com,可不填,不填则使用渠道默认值": "Please enter the mirror site address, the format is: https://domain.com, it can be left blank, if left blank, the default value of the channel will be used", "模型": "Model",