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, { useState, useEffect } from 'react';
import { Modal, Table, Tag, Spin } from '@/components/ui';
@@ -140,8 +141,14 @@ const InvitedUsersModal = ({ visible, onCancel, user, t }) => {
<span>{t('邀请的用户')}</span>
{user && (
<span className='ml-2 text-gray-500 text-sm'>
{user.display_name || user.username} {t('邀请了')} {total}{' '}
{t('位用户')}
<Trans
t={t}
i18nKey='{{value}} 邀请了 {{total}} 位用户'
values={{
value: user.display_name || user.username,
total: total,
}}
/>
</span>
)}
</div>