perf(permTranslate): 修改翻译 (#462)

* perf(permTranslate): 修改授权一些翻译

* perf(permTranslate): 修改翻译

Co-authored-by: jym503558564 <503558564@qq.com>
This commit is contained in:
fit2bot
2020-10-29 10:49:29 +08:00
committed by GitHub
parent 74e4c3397e
commit 697b5a3d13
6 changed files with 16 additions and 7 deletions

View File

@@ -388,6 +388,9 @@
"SystemUser": "系统用户",
"User": "用户",
"UserGroups": "用户组",
"DatabaseAppPermission": "数据库授权",
"RemoteAppPermission": "远程应用授权",
"KubernetesAppPermission": "Kubernetes授权",
"addAssetToThisPermission": "添加资产",
"addDatabaseAppToThisPermission": "添加数据库应用",
"addNodeToThisPermission": "添加节点",
@@ -457,7 +460,7 @@
"CreateCommandStorage": "创建命令存储",
"CreateReplayStorage": "创建录像存储",
"Dashboard": "仪表盘",
"DatabaseApp": "数据库应用",
"DatabaseApp": "数据库",
"DatabaseAppCreate": "创建数据库应用",
"DatabaseAppDetail": "数据库详情",
"DatabaseAppPermission": "数据库授权",

View File

@@ -387,6 +387,9 @@
"SystemUser": "System user",
"User": "User",
"UserGroups": "UserGroups",
"DatabaseAppPermission": "Databases permissions",
"RemoteAppPermission": "Remote apps permissions",
"KubernetesAppPermission": "Kubernetes permissions",
"addAssetToThisPermission": "Add asset to this permission",
"addDatabaseAppToThisPermission": "Add DatabaseApp to this permission",
"addK8sAppToThisPermission": "Add KubernetesApp to this permission",

View File

@@ -42,7 +42,7 @@ const remoteAppPermissionRoutes = [
path: '',
name: 'RemoteAppPermissionList',
component: () => import('@/views/perms/RemoteAppPermission/RemoteAppPermissionList'),
meta: { title: i18n.t('route.RemoteAppPermission'), activeMenu: '/perms/remote-app-permissions' }
meta: { title: i18n.t('route.RemoteApp'), activeMenu: '/perms/remote-app-permissions' }
},
{
@@ -75,7 +75,7 @@ const databasePermissionRoutes = [
path: 'database-app-permissions',
name: 'DatabaseAppPermissionList',
component: () => import('@/views/perms/DatabaseAppPermission/DatabaseAppPermissionList'),
meta: { title: i18n.t('route.DatabaseAppPermission') }
meta: { title: i18n.t('route.DatabaseApp') }
},
{
path: 'database-app-permissions/create',
@@ -105,7 +105,7 @@ const kubernetesPermissionRoutes = [
path: 'kubernetes-app-permissions',
name: 'KubernetesAppPermissionList',
component: () => import('@/views/perms/KubernetesAppPermission/KubernetesAppPermissionList'),
meta: { title: i18n.t('route.KubernetesAppPermission') }
meta: { title: i18n.t('route.KubernetesApp') }
},
{
path: 'kubernetes-app-permissions/create',

View File

@@ -1,5 +1,5 @@
<template>
<GenericListPage :table-config="tableConfig" :header-actions="headerActions" />
<GenericListPage :table-config="tableConfig" :header-actions="headerActions" :title="title" />
</template>
<script>
@@ -12,6 +12,7 @@ export default {
},
data() {
return {
title: this.$t('perms.DatabaseAppPermission'),
tableConfig: {
url: '/api/v1/perms/database-app-permissions/',
columns: ['name', 'users_amount', 'user_groups_amount', 'database_apps_amount', 'system_users_amount', 'is_valid', 'actions'],

View File

@@ -1,5 +1,5 @@
<template>
<GenericListPage :table-config="tableConfig" :header-actions="headerActions" />
<GenericListPage :table-config="tableConfig" :header-actions="headerActions" :title="title" />
</template>
<script>
@@ -12,6 +12,7 @@ export default {
},
data() {
return {
title: this.$t('perms.KubernetesAppPermission'),
tableConfig: {
url: '/api/v1/perms/k8s-app-permissions/',
columns: ['name', 'users_amount', 'user_groups_amount', 'k8s_apps_amount', 'system_users_amount', 'is_valid', 'actions'],

View File

@@ -1,5 +1,5 @@
<template>
<GenericListPage :table-config="tableConfig" :header-actions="headerActions" />
<GenericListPage :table-config="tableConfig" :header-actions="headerActions" :title="title" />
</template>
<script>
@@ -12,6 +12,7 @@ export default {
},
data() {
return {
title: this.$t('perms.RemoteAppPermission'),
tableConfig: {
url: '/api/v1/perms/remote-app-permissions/',
columns: [