diff --git a/packages/core/client/src/acl/Configuration/schemas/roles.ts b/packages/core/client/src/acl/Configuration/schemas/roles.ts index 16d84baec..0f2cbbdb8 100644 --- a/packages/core/client/src/acl/Configuration/schemas/roles.ts +++ b/packages/core/client/src/acl/Configuration/schemas/roles.ts @@ -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': {}, diff --git a/packages/core/client/src/locale/en_US.ts b/packages/core/client/src/locale/en_US.ts index e0a90ed0e..97d17e59a 100644 --- a/packages/core/client/src/locale/en_US.ts +++ b/packages/core/client/src/locale/en_US.ts @@ -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", diff --git a/packages/core/client/src/locale/ja_JP.ts b/packages/core/client/src/locale/ja_JP.ts index ec9da84a1..4a3d558bf 100644 --- a/packages/core/client/src/locale/ja_JP.ts +++ b/packages/core/client/src/locale/ja_JP.ts @@ -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":"管理構成センターの許可", diff --git a/packages/core/client/src/locale/zh_CN.ts b/packages/core/client/src/locale/zh_CN.ts index e02b64547..c8c717d17 100644 --- a/packages/core/client/src/locale/zh_CN.ts +++ b/packages/core/client/src/locale/zh_CN.ts @@ -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': '在目标数据表里创建反向关系字段', diff --git a/packages/core/client/src/plugin-manager/PluginManager.tsx b/packages/core/client/src/plugin-manager/PluginManager.tsx index c149c4cd4..262e26191 100644 --- a/packages/core/client/src/plugin-manager/PluginManager.tsx +++ b/packages/core/client/src/plugin-manager/PluginManager.tsx @@ -90,7 +90,7 @@ PluginManager.Toolbar = (props: ToolbarProps) => { }} icon={} > - {t('Settings center')} + {t('All plugin settings')} )} diff --git a/packages/core/client/src/pm/PluginManagerLink.tsx b/packages/core/client/src/pm/PluginManagerLink.tsx index 60b0e25c5..bf06c0332 100644 --- a/packages/core/client/src/pm/PluginManagerLink.tsx +++ b/packages/core/client/src/pm/PluginManagerLink.tsx @@ -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')} } > } - // title={t('Settings center')} + // title={t('All plugin settings')} >