Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
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
Commit
0b87aa3a
authored
Sep 12, 2025
by
CaIon
Browse files
Options
Browse Files
Download
Plain Diff
feat(i18n): add translations for pricing terms in English
parents
c47d9fb5
b04aa780
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
web/src/components/topup/RechargeCard.jsx
+3
-2
web/src/i18n/locales/en.json
+5
-1
No files found.
web/src/components/topup/RechargeCard.jsx
View file @
0b87aa3a
...
...
@@ -353,11 +353,12 @@ const RechargeCard = ({
>
<
div
style=
{
{
textAlign
:
'center'
}
}
>
<
Typography
.
Title
heading=
{
6
}
style=
{
{
margin
:
'0 0 8px 0'
}
}
>
{
formatLargeNumber
(
preset
.
value
)
}
{
t
(
'美元额度'
)
}
<
Coins
size=
{
18
}
/>
{
formatLargeNumber
(
preset
.
value
)
}
{
hasDiscount
&&
(
<
Tag
style=
{
{
marginLeft
:
4
}
}
color=
"green"
>
{
t
(
'折'
).
includes
(
'off'
)
?
((
1
-
discount
)
*
100
).
toFixed
(
1
)
:
((
1
-
parseFloat
(
discount
)
)
*
100
).
toFixed
(
1
)
:
(
discount
*
10
).
toFixed
(
1
)
}{
t
(
'折'
)
}
</
Tag
>
)
}
...
...
web/src/i18n/locales/en.json
View file @
0b87aa3a
...
...
@@ -2080,5 +2080,9 @@
"官方"
:
"Official"
,
"模型社区需要大家的共同维护,如发现数据有误或想贡献新的模型数据,请访问:"
:
"The model community needs everyone's contribution. If you find incorrect data or want to contribute new models, please visit:"
,
"是"
:
"Yes"
,
"否"
:
"No"
"否"
:
"No"
,
"原价"
:
"Original price"
,
"优惠"
:
"Discount"
,
"折"
:
"% off"
,
"节省"
:
"Save"
}
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