fix(i18n): 补齐九语翻译并修复国际化检查
补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
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 { Trans } from 'react-i18next';
|
||||
import { useEffectEvent } from '../../../hooks/common/useEffectEvent';
|
||||
import React, { useEffect, useState, useRef } from 'react';
|
||||
import { Button, Col, Form, Row, Spin, Tag } from '@/components/ui';
|
||||
@@ -167,9 +168,15 @@ export default function SettingsDrawing(props) {
|
||||
field={'MjModeClearEnabled'}
|
||||
label={
|
||||
<>
|
||||
{t('开启之后会清除用户提示词中的')} <Tag>--fast</Tag> 、
|
||||
<Tag>--relax</Tag> {t('以及')} <Tag>--turbo</Tag>{' '}
|
||||
{t('参数')}
|
||||
<Trans
|
||||
t={t}
|
||||
i18nKey='开启之后会清除用户提示词中的 <part0>--fast</part0> 、<part1>--relax</part1> 以及 <part2>--turbo</part2> 参数'
|
||||
components={{
|
||||
part0: <Tag />,
|
||||
part1: <Tag />,
|
||||
part2: <Tag />,
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
}
|
||||
size='default'
|
||||
|
||||
Reference in New Issue
Block a user