feat: improve translation
This commit is contained in:
parent
ab85deae64
commit
31794d3c1b
@ -280,7 +280,7 @@ export const roleSchema: ISchema = {
|
||||
},
|
||||
tab4: {
|
||||
type: 'void',
|
||||
title: '{{t("Settings center permissions")}}',
|
||||
title: '{{t("Plugin permissions")}}',
|
||||
'x-decorator': 'SettingCenterPermissionProvider',
|
||||
'x-component': 'Tabs.TabPane',
|
||||
'x-component-props': {},
|
||||
|
@ -419,7 +419,7 @@ export default {
|
||||
"General permissions": "General permissions",
|
||||
"Global action permissions": "Global action permissions",
|
||||
"General action permissions": "General action permissions",
|
||||
"Settings center permissions":"Settings center permissions",
|
||||
"Plugin permissions":"Plugin permissions",
|
||||
"Allow to desgin pages":"Allow to desgin pages",
|
||||
"Allow to manage plugins":"Allow to manage plugins",
|
||||
"Allow to configure plugins":"Allow to configure plugins",
|
||||
|
@ -402,7 +402,7 @@ export default {
|
||||
"General permissions": "一般設定",
|
||||
"Global action permissions": "グローバル操作権限",
|
||||
"General action permissions": "一般操作権限",
|
||||
"Settings center permissions":"中央権限の設定",
|
||||
"Plugin permissions":"中央権限の設定",
|
||||
'Allow to desgin pages':"インタフェース構成の許可",
|
||||
"Allow to manage plugins":"管理プラグインの許可",
|
||||
"Allow to configure plugins":"管理構成センターの許可",
|
||||
|
@ -497,7 +497,7 @@ export default {
|
||||
'General permissions': '通用配置',
|
||||
'Global action permissions': '全局操作权限',
|
||||
'General action permissions': '通用操作权限',
|
||||
"Settings center permissions":"配置中心权限",
|
||||
"Plugin permissions":"插件权限",
|
||||
'Allow to desgin pages':"允许界面配置",
|
||||
"Allow to manage plugins":"允许管理插件",
|
||||
"Allow to configure plugins":"允许管理配置中心",
|
||||
@ -598,7 +598,7 @@ export default {
|
||||
'Built-in': '内置',
|
||||
'Marketplace': '插件市场',
|
||||
'Coming soon...': '敬请期待...',
|
||||
'Settings center': '配置中心',
|
||||
'All plugin settings': '所有插件配置',
|
||||
'Bookmark': '书签',
|
||||
'Manage all settings': '管理所有配置',
|
||||
'Create inverse field in the target collection': '在目标数据表里创建反向关系字段',
|
||||
|
@ -90,7 +90,7 @@ PluginManager.Toolbar = (props: ToolbarProps) => {
|
||||
}}
|
||||
icon={<SettingOutlined />}
|
||||
>
|
||||
{t('Settings center')}
|
||||
{t('All plugin settings')}
|
||||
</Menu.Item>
|
||||
</Menu.SubMenu>
|
||||
)}
|
||||
|
@ -1,14 +1,11 @@
|
||||
import { AppstoreAddOutlined, SettingOutlined } from '@ant-design/icons';
|
||||
import { ISchema } from '@formily/react';
|
||||
import { uid } from '@formily/shared';
|
||||
import { Dropdown, Menu } from 'antd';
|
||||
import React, { useState, useContext } from 'react';
|
||||
import React, { useContext, useState } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useHistory } from 'react-router-dom';
|
||||
import { PluginManager } from '../plugin-manager';
|
||||
import { useCompile } from '../schema-component';
|
||||
import { ActionContext } from '../schema-component';
|
||||
import { useACLRoleContext } from '../acl/ACLProvider';
|
||||
import { PluginManager } from '../plugin-manager';
|
||||
import { ActionContext, useCompile } from '../schema-component';
|
||||
import { getPluginsTabs, SettingsCenterContext } from './index';
|
||||
|
||||
export const PluginManagerLink = () => {
|
||||
@ -74,14 +71,14 @@ export const SettingsCenterDropdown = () => {
|
||||
}}
|
||||
key="/admin/settings"
|
||||
>
|
||||
{t('Settings center')}
|
||||
{t('All plugin settings')}
|
||||
</Menu.Item>
|
||||
</Menu>
|
||||
}
|
||||
>
|
||||
<PluginManager.Toolbar.Item
|
||||
icon={<SettingOutlined />}
|
||||
// title={t('Settings center')}
|
||||
// title={t('All plugin settings')}
|
||||
></PluginManager.Toolbar.Item>
|
||||
</Dropdown>
|
||||
</ActionContext.Provider>
|
||||
|
Loading…
Reference in New Issue
Block a user