fix(i18n): 补齐九种语言的翻译并修复国际化检查
补齐页面缺译,统一动态文案的整句插值方式。
This commit is contained in:
@@ -17,6 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
|
||||
import { Receipt as ActionReceipt } from '@/components/common/icons/ActionIcons';
|
||||
import React, { useRef } from 'react';
|
||||
import {
|
||||
@@ -259,7 +260,9 @@ const RechargeCard = ({
|
||||
return disabled &&
|
||||
minTopupVal > Number(topUpCount || 0) ? (
|
||||
<Tooltip
|
||||
content={t('最低充值') + ' ' + minTopupVal}
|
||||
content={t('最低充值 {{minTopupVal}}', {
|
||||
minTopupVal: minTopupVal,
|
||||
})}
|
||||
key={payMethod.type}
|
||||
>
|
||||
{buttonEl}
|
||||
@@ -296,7 +299,8 @@ const RechargeCard = ({
|
||||
|
||||
return (
|
||||
<span className='text-xs font-normal px-2 py-0.5 bg-gray-100 dark:bg-gray-700 rounded-full text-gray-500'>
|
||||
1 $ ≈ {rate.toFixed(2)} {symbol}
|
||||
{I18N_TECHNICAL_TEXT.USD_EXCHANGE_PREFIX}{' '}
|
||||
{rate.toFixed(2)} {symbol}
|
||||
</span>
|
||||
);
|
||||
})()}
|
||||
@@ -415,7 +419,7 @@ const RechargeCard = ({
|
||||
<Form.Slot
|
||||
label={
|
||||
<span className='text-base font-semibold text-gray-700 dark:text-gray-200'>
|
||||
Creem {t('套餐')}
|
||||
{I18N_TECHNICAL_TEXT.CREEM} {t('套餐')}
|
||||
</span>
|
||||
}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user