From 6a827fc7b91f1b52b2ff51f4e510469702586c7c Mon Sep 17 00:00:00 2001 From: t0ng7u Date: Sat, 19 Jul 2025 02:45:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs(Table):=20simplify=20table?= =?UTF-8?q?=20description=20for=20cleaner=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/zh-cn.json | 2 +- web/src/components/layout/HeaderBar.js | 2 +- web/src/components/layout/SiderBar.js | 2 +- .../components/table/redemptions/RedemptionsDescription.jsx | 2 +- web/src/components/table/tokens/TokensDescription.jsx | 2 +- web/src/components/table/users/UsersDescription.jsx | 2 +- web/src/i18n/locales/en.json | 6 ++---- 7 files changed, 8 insertions(+), 10 deletions(-) diff --git a/i18n/zh-cn.json b/i18n/zh-cn.json index 7b57b51a..160fc0a4 100644 --- a/i18n/zh-cn.json +++ b/i18n/zh-cn.json @@ -70,7 +70,7 @@ "关于": "关于", "注销成功!": "注销成功!", "个人设置": "个人设置", - "API令牌": "API令牌", + "令牌管理": "令牌管理", "退出": "退出", "关闭侧边栏": "关闭侧边栏", "打开侧边栏": "打开侧边栏", diff --git a/web/src/components/layout/HeaderBar.js b/web/src/components/layout/HeaderBar.js index 6b365345..b3eaecd3 100644 --- a/web/src/components/layout/HeaderBar.js +++ b/web/src/components/layout/HeaderBar.js @@ -336,7 +336,7 @@ const HeaderBar = ({ onMobileMenuToggle, drawerOpen }) => { >
- {t('API令牌')} + {t('令牌管理')}
{ } }) => { : 'tableHiddle', }, { - text: t('API令牌'), + text: t('令牌管理'), itemKey: 'token', to: '/token', }, diff --git a/web/src/components/table/redemptions/RedemptionsDescription.jsx b/web/src/components/table/redemptions/RedemptionsDescription.jsx index d7db7514..7eb8ab9d 100644 --- a/web/src/components/table/redemptions/RedemptionsDescription.jsx +++ b/web/src/components/table/redemptions/RedemptionsDescription.jsx @@ -10,7 +10,7 @@ const RedemptionsDescription = ({ compactMode, setCompactMode, t }) => {
- {t('兑换码可以批量生成和分发,适合用于推广活动或批量充值。')} + {t('兑换码管理')}
{
- {t('令牌用于API访问认证,可以设置额度限制和模型权限。')} + {t('令牌管理')}
{
- {t('用户管理页面,可以查看和管理所有注册用户的信息、权限和状态。')} + {t('用户管理')}