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

补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
zhanjunhao
2026-11-17 14:10:25 +08:00
parent ef93825c07
commit e7a7541b2b
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 { useEffectEvent } from '../../../../hooks/common/useEffectEvent';
import React, { useEffect, useState } from 'react';
import {
@@ -124,7 +125,11 @@ const MissingModelsModal = ({ visible, onClose, onConfigureModel, t }) => {
{t('未配置的模型列表')}
</Typography.Text>
<Typography.Text type='tertiary' size='small'>
{t('共')} {missingModels.length} {t('个未配置模型')}
<Trans
t={t}
i18nKey='共 {{length}} 个未配置模型'
values={{ length: missingModels.length }}
/>
</Typography.Text>
</div>
</div>