fix(i18n): 补齐九语翻译并修复国际化检查
补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
@@ -16,6 +16,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
import { Trans } from 'react-i18next';
|
||||
import React, { useState } from 'react';
|
||||
import { Form, Button, Typography, Space, Divider } from '@/components/ui';
|
||||
import { API, showError, showSuccess } from '../../../helpers';
|
||||
@@ -125,15 +126,19 @@ const SettingsPaymentWechat = ({ options, refresh }) => {
|
||||
<>
|
||||
<Title heading={5}>{t('微信支付配置')}</Title>
|
||||
<Text type='tertiary'>
|
||||
{t('配置微信支付 Native(扫码)和 H5 支付方式。请前往')}{' '}
|
||||
<a
|
||||
href='https://pay.weixin.qq.com'
|
||||
target='_blank'
|
||||
rel='noopener noreferrer'
|
||||
>
|
||||
{t('微信支付商户平台')}
|
||||
</a>{' '}
|
||||
{t('获取相关配置信息。')}
|
||||
<Trans
|
||||
t={t}
|
||||
i18nKey='配置微信支付 Native(扫码)和 H5 支付方式。请前往 <part0>微信支付商户平台</part0> 获取相关配置信息。'
|
||||
components={{
|
||||
part0: (
|
||||
<a
|
||||
href='https://pay.weixin.qq.com'
|
||||
target='_blank'
|
||||
rel='noopener noreferrer'
|
||||
/>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</Text>
|
||||
|
||||
<Divider margin='12px' />
|
||||
|
||||
Reference in New Issue
Block a user