chore: update ui copy

This commit is contained in:
JustSong 2024-01-07 14:19:36 +08:00
parent 1227877718
commit fbc1e21abf
6 changed files with 13 additions and 13 deletions

View File

@ -157,7 +157,7 @@ const ProfileSection = () => {
<ListItemIcon>
<IconLogout stroke={1.5} size="1.3rem" />
</ListItemIcon>
<ListItemText primary={<Typography variant="body2">Logout</Typography>} />
<ListItemText primary={<Typography variant="body2">登出</Typography>} />
</ListItemButton>
</List>
</MainCard>

View File

@ -22,7 +22,7 @@ const panel = {
children: [
{
id: 'dashboard',
title: 'Dashboard',
title: '总览',
type: 'item',
url: '/panel/dashboard',
icon: icons.IconDashboard,
@ -40,7 +40,7 @@ const panel = {
},
{
id: 'token',
title: 'Token',
title: '令牌',
type: 'item',
url: '/panel/token',
icon: icons.IconKey,
@ -82,7 +82,7 @@ const panel = {
},
{
id: 'profile',
title: '个人设置',
title: '我的',
type: 'item',
url: '/panel/profile',
icon: icons.IconUserScan,

View File

@ -71,7 +71,7 @@ const Dashboard = () => {
<Grid item lg={4} xs={12}>
<StatisticalLineChartCard
isLoading={isLoading}
title="今日Token"
title="今日 token"
chartData={tokenChart?.chartData}
todayValue={tokenChart?.todayValue}
/>
@ -87,19 +87,19 @@ const Dashboard = () => {
<UserCard>
<Grid container spacing={gridSpacing} justifyContent="center" alignItems="center" paddingTop={'20px'}>
<Grid item xs={4}>
<Typography variant="h4"> :</Typography>
<Typography variant="h4"></Typography>
</Grid>
<Grid item xs={8}>
<Typography variant="h3"> {users?.quota ? '$' + calculateQuota(users.quota) : '未知'}</Typography>
</Grid>
<Grid item xs={4}>
<Typography variant="h4">已使用:</Typography>
<Typography variant="h4">已使用</Typography>
</Grid>
<Grid item xs={8}>
<Typography variant="h3"> {users?.used_quota ? '$' + calculateQuota(users.used_quota) : '未知'}</Typography>
</Grid>
<Grid item xs={4}>
<Typography variant="h4">调用次数:</Typography>
<Typography variant="h4">调用次数</Typography>
</Grid>
<Grid item xs={8}>
<Typography variant="h3"> {users?.request_count || '未知'}</Typography>

View File

@ -142,7 +142,7 @@ export default function Token() {
return (
<>
<Stack direction="row" alignItems="center" justifyContent="space-between" mb={5}>
<Typography variant="h4">Token</Typography>
<Typography variant="h4">令牌</Typography>
<Button
variant="contained"
@ -152,12 +152,12 @@ export default function Token() {
}}
startIcon={<IconPlus />}
>
新建Token
新建令牌
</Button>
</Stack>
<Stack mb={5}>
<Alert severity="info">
OpenAI API基础地址https://api.openai.com替换为<b>{siteInfo.server_address}</b>,复制下面的密钥即可使用
OpenAI API 基础地址 https://api.openai.com 替换为 <b>{siteInfo.server_address}</b>,复制下面的密钥即可使用
</Alert>
</Stack>
<Card>

View File

@ -51,7 +51,7 @@ const InviteCard = () => {
邀请奖励
</Typography>
<Typography variant="body" sx={{ color: theme.palette.primary.dark }}>
分享您的邀请链接邀请好友注册即可获得奖励!
分享您的邀请链接邀请好友注册即可获得奖励
</Typography>
<OutlinedInput