fix(i18n): 补齐九种语言的翻译并修复国际化检查
补齐页面缺译,统一动态文案的整句插值方式。
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 React, { useState } from 'react';
|
||||
import {
|
||||
Table,
|
||||
@@ -176,7 +177,11 @@ const RiskControlBanLogs = ({
|
||||
<div className='mb-3 flex items-center justify-between flex-wrap gap-2'>
|
||||
<Space>
|
||||
<Text type='tertiary' size='small'>
|
||||
{t('共')} {banLogTotal || 0} {t('条')}
|
||||
<Trans
|
||||
t={t}
|
||||
i18nKey='共 {{value}} 条'
|
||||
values={{ value: banLogTotal || 0 }}
|
||||
/>
|
||||
</Text>
|
||||
<Select
|
||||
value={banLogStatus}
|
||||
|
||||
Reference in New Issue
Block a user