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 { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
|
||||
import { useEffectEvent } from '../../hooks/common/useEffectEvent';
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import {
|
||||
@@ -593,7 +594,9 @@ export default function DataSecuritySetting() {
|
||||
const deleting = ORG_DELETE_TYPES.has(request.req_type);
|
||||
return (
|
||||
<div className='text-xs leading-5 min-w-[320px]'>
|
||||
<div className='font-medium mb-1'>OrgId: {orgId}</div>
|
||||
<div className='font-medium mb-1'>
|
||||
{I18N_TECHNICAL_TEXT.ORGID} {orgId}
|
||||
</div>
|
||||
{ORG_POLICY_FIELDS.map(([field, label]) => {
|
||||
const currentValue = formatOrgPolicyValue(field, current[field]);
|
||||
const requestedValue = formatOrgPolicyValue(
|
||||
@@ -1291,7 +1294,7 @@ export default function DataSecuritySetting() {
|
||||
<Form.Input
|
||||
field='pattern'
|
||||
label={t('正则表达式(RE2)')}
|
||||
placeholder={t('例如') + ' EMP[0-9]{6}'}
|
||||
placeholder={t('例如 EMP[0-9]{6}')}
|
||||
rules={[{ required: true, message: t('正则不能为空') }]}
|
||||
/>
|
||||
<Form.Select
|
||||
|
||||
Reference in New Issue
Block a user