feat(i18n): add translations for pricing terms in English
This commit is contained in:
commit
0b87aa3a6f
@ -353,11 +353,12 @@ const RechargeCard = ({
|
|||||||
>
|
>
|
||||||
<div style={{ textAlign: 'center' }}>
|
<div style={{ textAlign: 'center' }}>
|
||||||
<Typography.Title heading={6} style={{ margin: '0 0 8px 0' }}>
|
<Typography.Title heading={6} style={{ margin: '0 0 8px 0' }}>
|
||||||
{formatLargeNumber(preset.value)} {t('美元额度')}
|
<Coins size={18} />
|
||||||
|
{formatLargeNumber(preset.value)}
|
||||||
{hasDiscount && (
|
{hasDiscount && (
|
||||||
<Tag style={{ marginLeft: 4 }} color="green">
|
<Tag style={{ marginLeft: 4 }} color="green">
|
||||||
{t('折').includes('off') ?
|
{t('折').includes('off') ?
|
||||||
((1 - discount) * 100).toFixed(1) :
|
((1 - parseFloat(discount)) * 100).toFixed(1) :
|
||||||
(discount * 10).toFixed(1)}{t('折')}
|
(discount * 10).toFixed(1)}{t('折')}
|
||||||
</Tag>
|
</Tag>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -2080,5 +2080,9 @@
|
|||||||
"官方": "Official",
|
"官方": "Official",
|
||||||
"模型社区需要大家的共同维护,如发现数据有误或想贡献新的模型数据,请访问:": "The model community needs everyone's contribution. If you find incorrect data or want to contribute new models, please visit:",
|
"模型社区需要大家的共同维护,如发现数据有误或想贡献新的模型数据,请访问:": "The model community needs everyone's contribution. If you find incorrect data or want to contribute new models, please visit:",
|
||||||
"是": "Yes",
|
"是": "Yes",
|
||||||
"否": "No"
|
"否": "No",
|
||||||
|
"原价": "Original price",
|
||||||
|
"优惠": "Discount",
|
||||||
|
"折": "% off",
|
||||||
|
"节省": "Save"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user