fix(i18n): 补齐九语翻译并修复国际化检查
补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
@@ -16,6 +16,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, useMemo, useState } from 'react';
|
||||
import { Button, Card, Empty, Tag, Typography } from 'antd';
|
||||
import { Cable, LockKeyhole } from 'lucide-react';
|
||||
@@ -183,11 +184,16 @@ const OrgMyConnectors = ({ orgId }) => {
|
||||
<div className='org-capability-confirmation'>
|
||||
<LockKeyhole size={14} aria-hidden='true' />
|
||||
<Typography.Text type='secondary'>
|
||||
{t('确认策略')}:{' '}
|
||||
{t(
|
||||
confirmationLabels[item.grant.confirmation_policy] ||
|
||||
item.grant.confirmation_policy,
|
||||
)}
|
||||
<Trans
|
||||
t={t}
|
||||
i18nKey='确认策略: {{label}}'
|
||||
values={{
|
||||
label: t(
|
||||
confirmationLabels[item.grant.confirmation_policy] ||
|
||||
item.grant.confirmation_policy,
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</Typography.Text>
|
||||
</div>
|
||||
<div className='org-capability-card-footer'>
|
||||
|
||||
Reference in New Issue
Block a user