From 6c31151430f20770aec776b7dd382d0585065cc4 Mon Sep 17 00:00:00 2001 From: t0ng7u Date: Tue, 24 Jun 2025 01:48:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20i18n:=20shorten=20channel=20sear?= =?UTF-8?q?ch=20placeholder=20and=20update=20i18n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced the verbose placeholder “Search channel ID, name, key and API address ...” with a concise version “Channel ID, name, key, API address” in `ChannelsTable.js` and synchronized the corresponding i18n entries. This improves readability and keeps UI text consistent across languages. --- web/src/components/table/ChannelsTable.js | 2 +- web/src/i18n/locales/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/table/ChannelsTable.js b/web/src/components/table/ChannelsTable.js index 0944147a..489846ea 100644 --- a/web/src/components/table/ChannelsTable.js +++ b/web/src/components/table/ChannelsTable.js @@ -1726,7 +1726,7 @@ const ChannelsTable = () => { } - placeholder={t('搜索渠道的 ID,名称,密钥和API地址 ...')} + placeholder={t('渠道ID,名称,密钥,API地址')} className="!rounded-full" showClear pure diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json index ade70ea5..a618ee97 100644 --- a/web/src/i18n/locales/en.json +++ b/web/src/i18n/locales/en.json @@ -139,7 +139,7 @@ "已成功开始测试所有已启用通道,请刷新页面查看结果。": "Successfully started testing all enabled channels. Please refresh page to view results.", "通道 ${name} 余额更新成功!": "Channel ${name} quota updated successfully!", "已更新完毕所有已启用通道余额!": "Updated quota for all enabled channels!", - "搜索渠道的 ID,名称,密钥和API地址 ...": "Search channel ID, name, key and Base URL...", + "渠道ID,名称,密钥,API地址": "Channel ID, name, key, Base URL", "名称": "Name", "分组": "Group", "类型": "Type",