fix: fix i18n (#2516)

This commit is contained in:
Finley Ge
2024-08-26 12:23:19 +08:00
committed by GitHub
parent 94f3b7f2d6
commit dbfe1fca31
3 changed files with 8 additions and 5 deletions

View File

@@ -9,14 +9,16 @@
"convert_success": "兑换成功",
"not_need_invoice": "余额支付,无法开票",
"price": "价格",
"renew_plan": "续费套餐",
"standard_valid_tip": "套餐使用规则:系统优先使用更高级的套餐,原未用完的套餐将延后生效",
"token_expire_1year": "积分有效期一年",
"tokens": "积分",
"use_balance": "使用余额",
"use_balance_hint": "由于系统升级,原“自动续费从余额扣款”模式取消,余额充值入口关闭。您的余额可用于购买积分",
"valid_time": "生效时间",
"you_can_convert": "您可兑换"
"you_can_convert": "您可兑换",
"renew_plan": "续费套餐",
"current_token_price": "当前积分价格",
"yuan": "元"
},
"bind_inform_account_error": "绑定通知账号异常",
"bind_inform_account_success": "绑定通知账号成功",

View File

@@ -53,10 +53,10 @@ const ConversionModal = ({
</HStack>
<VStack mt={6}>
<Box fontSize={'sm'} color="myGray.600" fontWeight="500">
{t('user:bill.current_token_price')}
</Box>
<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>
</VStack>
<VStack mt={6}>

View File

@@ -303,7 +303,8 @@ const MyInfo = ({ onOpenContact }: { onOpenContact: () => void }) => {
<Flex alignItems={'center'}>
<Box {...labelStyles}>{t('common:user.team.Balance')}:&nbsp;</Box>
<Box flex={1}>
<strong>{formatStorePrice2Read(userInfo?.team?.balance).toFixed(3)}</strong>
<strong>{formatStorePrice2Read(userInfo?.team?.balance).toFixed(3)}</strong>{' '}
{t('user:bill.yuan')}
</Box>
{/* TODO:暂时隐藏 */}
{userInfo?.permission.hasManagePer && !!standardPlan && (