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 React, { useEffect, useRef, useState } from 'react';
|
||||
import {
|
||||
Modal,
|
||||
@@ -267,8 +268,11 @@ const RiskControlRulesModal = ({
|
||||
<span>
|
||||
{t('总消耗 ≤')}{' '}
|
||||
<Text type='tertiary' size='small'>
|
||||
({t('quota')}, ≈ {renderQuota(form.ban_max_total_quota, 4)},{' '}
|
||||
{t('防误伤大客户')})
|
||||
<Trans
|
||||
t={t}
|
||||
i18nKey='(quota, ≈ {{value}}, 防误伤大客户)'
|
||||
values={{ value: renderQuota(form.ban_max_total_quota, 4) }}
|
||||
/>
|
||||
</Text>
|
||||
</span>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user