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

补齐页面缺译,统一动态文案的整句插值方式。
This commit is contained in:
zhanjunhao
2026-11-17 14:10:25 +08:00
parent ef3f405190
commit 67969a041d
146 changed files with 16591 additions and 11007 deletions
@@ -16,6 +16,9 @@ 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 { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
import React from 'react';
import { Card, Table } from '@/components/ui';
import { renderQuota } from '../../helpers';
@@ -82,7 +85,7 @@ const UserTopupRanking = ({ data, title, icon, t, embedded = false }) => {
{text || `User ${record.user_id}`}
</span>
<span className='text-xs text-gray-400 truncate'>
ID: {record.user_id}
{I18N_TECHNICAL_TEXT.ID} {record.user_id}
</span>
</div>
),
@@ -132,7 +135,11 @@ const UserTopupRanking = ({ data, title, icon, t, embedded = false }) => {
<span className='text-brand'>{icon}</span>
<span className='font-semibold'>{title}</span>
<span className='text-xs text-gray-400 ml-2'>
{t('共')} {data.length} {t('人')}
<Trans
t={t}
i18nKey='共 {{length}} 人'
values={{ length: data.length }}
/>
</span>
</div>
)