Просмотр исходного кода

💄 i18n: shorten channel search placeholder and update i18n

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.
t0ng7u 8 месяцев назад
Родитель
Сommit
6c31151430
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      web/src/components/table/ChannelsTable.js
  2. 1 1
      web/src/i18n/locales/en.json

+ 1 - 1
web/src/components/table/ChannelsTable.js

@@ -1726,7 +1726,7 @@ const ChannelsTable = () => {
               <Form.Input
                 field="searchKeyword"
                 prefix={<IconSearch />}
-                placeholder={t('搜索渠道的 ID,名称,密钥和API地址 ...')}
+                placeholder={t('渠道ID,名称,密钥,API地址')}
                 className="!rounded-full"
                 showClear
                 pure

+ 1 - 1
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",