Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
dbfe1fca
authored
Aug 26, 2024
by
Finley Ge
Committed by
GitHub
Aug 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fix i18n (#2516)
parent
94f3b7f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
packages/web/i18n/zh/user.json
+4
-2
projects/app/src/pages/account/components/Info/ConversionModal.tsx
+2
-2
projects/app/src/pages/account/components/Info/index.tsx
+2
-1
No files found.
packages/web/i18n/zh/user.json
View file @
dbfe1fca
...
@@ -9,14 +9,16 @@
...
@@ -9,14 +9,16 @@
"convert_success"
:
"兑换成功"
,
"convert_success"
:
"兑换成功"
,
"not_need_invoice"
:
"余额支付,无法开票"
,
"not_need_invoice"
:
"余额支付,无法开票"
,
"price"
:
"价格"
,
"price"
:
"价格"
,
"renew_plan"
:
"续费套餐"
,
"standard_valid_tip"
:
"套餐使用规则:系统优先使用更高级的套餐,原未用完的套餐将延后生效"
,
"standard_valid_tip"
:
"套餐使用规则:系统优先使用更高级的套餐,原未用完的套餐将延后生效"
,
"token_expire_1year"
:
"积分有效期一年"
,
"token_expire_1year"
:
"积分有效期一年"
,
"tokens"
:
"积分"
,
"tokens"
:
"积分"
,
"use_balance"
:
"使用余额"
,
"use_balance"
:
"使用余额"
,
"use_balance_hint"
:
"由于系统升级,原“自动续费从余额扣款”模式取消,余额充值入口关闭。您的余额可用于购买积分"
,
"use_balance_hint"
:
"由于系统升级,原“自动续费从余额扣款”模式取消,余额充值入口关闭。您的余额可用于购买积分"
,
"valid_time"
:
"生效时间"
,
"valid_time"
:
"生效时间"
,
"you_can_convert"
:
"您可兑换"
"you_can_convert"
:
"您可兑换"
,
"renew_plan"
:
"续费套餐"
,
"current_token_price"
:
"当前积分价格"
,
"yuan"
:
"元"
},
},
"bind_inform_account_error"
:
"绑定通知账号异常"
,
"bind_inform_account_error"
:
"绑定通知账号异常"
,
"bind_inform_account_success"
:
"绑定通知账号成功"
,
"bind_inform_account_success"
:
"绑定通知账号成功"
,
...
...
projects/app/src/pages/account/components/Info/ConversionModal.tsx
View file @
dbfe1fca
...
@@ -53,10 +53,10 @@ const ConversionModal = ({
...
@@ -53,10 +53,10 @@ const ConversionModal = ({
</
HStack
>
</
HStack
>
<
VStack
mt=
{
6
}
>
<
VStack
mt=
{
6
}
>
<
Box
fontSize=
{
'sm'
}
color=
"myGray.600"
fontWeight=
"500"
>
<
Box
fontSize=
{
'sm'
}
color=
"myGray.600"
fontWeight=
"500"
>
当前积分价格
{
t
(
'user:bill.current_token_price'
)
}
</
Box
>
</
Box
>
<
Box
fontSize=
{
'xl'
}
fontWeight=
{
'700'
}
color=
"myGray.900"
>
<
Box
fontSize=
{
'xl'
}
fontWeight=
{
'700'
}
color=
"myGray.900"
>
¥15/1000
{
t
(
'user:bill.tokens'
)
}
/
月
¥15/1000
{
t
(
'user:bill.tokens'
)
}
/
{
t
(
'common:common.month'
)
}
</
Box
>
</
Box
>
</
VStack
>
</
VStack
>
<
VStack
mt=
{
6
}
>
<
VStack
mt=
{
6
}
>
...
...
projects/app/src/pages/account/components/Info/index.tsx
View file @
dbfe1fca
...
@@ -303,7 +303,8 @@ const MyInfo = ({ onOpenContact }: { onOpenContact: () => void }) => {
...
@@ -303,7 +303,8 @@ const MyInfo = ({ onOpenContact }: { onOpenContact: () => void }) => {
<
Flex
alignItems=
{
'center'
}
>
<
Flex
alignItems=
{
'center'
}
>
<
Box
{
...
labelStyles
}
>
{
t
(
'common:user.team.Balance'
)
}
:
</
Box
>
<
Box
{
...
labelStyles
}
>
{
t
(
'common:user.team.Balance'
)
}
:
</
Box
>
<
Box
flex=
{
1
}
>
<
Box
flex=
{
1
}
>
<
strong
>
{
formatStorePrice2Read
(
userInfo
?.
team
?.
balance
).
toFixed
(
3
)
}
</
strong
>
元
<
strong
>
{
formatStorePrice2Read
(
userInfo
?.
team
?.
balance
).
toFixed
(
3
)
}
</
strong
>
{
' '
}
{
t
(
'user:bill.yuan'
)
}
</
Box
>
</
Box
>
{
/* TODO:暂时隐藏 */
}
{
/* TODO:暂时隐藏 */
}
{
userInfo
?.
permission
.
hasManagePer
&&
!!
standardPlan
&&
(
{
userInfo
?.
permission
.
hasManagePer
&&
!!
standardPlan
&&
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment