fix(i18n): 补齐九语翻译并修复国际化检查

补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
zhanjunhao
2026-11-17 14:10:25 +08:00
parent 936ece78ff
commit ac9bbfd472
146 changed files with 16591 additions and 11007 deletions
@@ -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 { Trans } from 'react-i18next';
import React, { useEffect, useState, useRef } from 'react';
import {
Banner,
@@ -167,24 +168,27 @@ export default function SettingsPaymentGateway(props) {
>
<Form.Section text={t('Stripe 设置')}>
<Text>
{t('Stripe 密钥、Webhook 等设置请')}
<a
href='https://dashboard.stripe.com/developers'
target='_blank'
rel='noreferrer'
>
{t('点击此处')}
</a>
{t('进行设置,最好先在')}
<a
href='https://dashboard.stripe.com/test/developers'
target='_blank'
rel='noreferrer'
>
{t('测试环境')}
</a>
{t('进行测试。')}
<br />
<Trans
t={t}
i18nKey='Stripe 密钥、Webhook 等设置请<part0>点击此处</part0>进行设置,最好先在<part1>测试环境</part1>进行测试。<part2/>'
components={{
part0: (
<a
href='https://dashboard.stripe.com/developers'
target='_blank'
rel='noreferrer'
/>
),
part1: (
<a
href='https://dashboard.stripe.com/test/developers'
target='_blank'
rel='noreferrer'
/>
),
part2: <br />,
}}
/>
</Text>
<Banner
type='info'