mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
perf(permTranslate): 修改翻译 (#462)
* perf(permTranslate): 修改授权一些翻译 * perf(permTranslate): 修改翻译 Co-authored-by: jym503558564 <503558564@qq.com>
This commit is contained in:
@@ -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": "数据库授权",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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'],
|
||||
|
||||
@@ -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'],
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user