[Core] [UI] Merge role

This commit is contained in:
qianmoQ 2024-04-16 20:01:56 +08:00
parent f00419766b
commit be6802b3f7
4 changed files with 38 additions and 42 deletions

View File

@ -1,4 +1,3 @@
import role from '@/i18n/langs/zhCn/role'
import schedule from '@/i18n/langs/en/schedule'
import dashboard from '@/i18n/langs/en/dashboard'
import dataset from '@/i18n/langs/en/dataset'
@ -16,7 +15,6 @@ import report from '@/i18n/langs/en/report'
import pipeline from '@/i18n/langs/en/pipeline'
export default {
role: role,
schedule: schedule,
dashboard: dashboard,
dataset: dataset,
@ -214,5 +212,24 @@ export default {
newPassword: 'This is mainly used to modify the new password of the user',
confirmPassword: 'This is mainly used to confirm the new password of the user'
}
},
role: {
common: {
list: 'Role List',
create: 'Create Role',
edit: 'Edit Role [ $NAME ]',
name: 'Role Name',
description: 'Role Description',
assignRole: 'Assign Role [ $NAME ]',
assignMenu: 'Assign Menu [ $NAME ]'
},
tip: {
name: 'Please enter the role name',
description: 'Please enter the role description'
},
validate: {
nameSize: 'The role name must be between 3 and 20 characters',
descriptionSize: 'The role description must be between 3 and 50 characters'
}
}
}

View File

@ -1,19 +0,0 @@
export default {
common: {
list: 'Role List',
create: 'Create Role',
edit: 'Edit Role [ $NAME ]',
name: 'Role Name',
description: 'Role Description',
assignRole: 'Assign Role [ $NAME ]',
assignMenu: 'Assign Menu [ $NAME ]'
},
tip: {
name: 'Please enter the role name',
description: 'Please enter the role description'
},
validate: {
nameSize: 'The role name must be between 3 and 20 characters',
descriptionSize: 'The role description must be between 3 and 50 characters'
}
}

View File

@ -1,4 +1,3 @@
import role from '@/i18n/langs/zhCn/role'
import schedule from '@/i18n/langs/zhCn/schedule'
import dashboard from '@/i18n/langs/zhCn/dashboard'
import dataset from '@/i18n/langs/zhCn/dataset'
@ -16,7 +15,6 @@ import report from '@/i18n/langs/zhCn/report'
import pipeline from '@/i18n/langs/zhCn/pipeline.ts'
export default {
role: role,
schedule: schedule,
dashboard: dashboard,
dataset: dataset,
@ -214,5 +212,24 @@ export default {
newPassword: '这里主要用于修改用户的新密码',
confirmPassword: '这里主要用于确认用户的新密码',
}
},
role:{
common: {
list: '权限列表',
create: '创建路由',
edit: '编辑路由 [ $NAME ]',
name: '路由名称',
description: '路由描述',
assignRole: '分配路由 [ $NAME ]',
assignMenu: '分配菜单 [ $NAME ]'
},
tip: {
name: '请输入路由名称',
description: '请输入路由描述'
},
validate: {
nameSize: '路由名称必须在3-20个字符之间',
descriptionSize: '路由描述必须在3-50个字符之间'
}
}
}

View File

@ -1,19 +0,0 @@
export default {
common: {
list: '权限列表',
create: '创建路由',
edit: '编辑路由 [ $NAME ]',
name: '路由名称',
description: '路由描述',
assignRole: '分配路由 [ $NAME ]',
assignMenu: '分配菜单 [ $NAME ]'
},
tip: {
name: '请输入路由名称',
description: '请输入路由描述'
},
validate: {
nameSize: '路由名称必须在3-20个字符之间',
descriptionSize: '路由描述必须在3-50个字符之间'
}
}