feat: i18n与jetcache

This commit is contained in:
2023-11-16 10:04:27 +08:00
parent d366daeccc
commit ac856ed2f6
24 changed files with 476 additions and 114 deletions

View File

@@ -0,0 +1,88 @@
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
export default {
'lang': 'zh',
'common': {
'Layout_setting': '布局设置',
'Personal_center': '个人中心',
'Log_out': '退出登录',
'Personal_information': '个人信息',
'username': '用户姓名',
'name': '姓名',
'phone': '手机号码',
'phone2': '手机号',
'sex': '性别',
'email': '用户邮箱',
'Security_settings': '安全设置',
'Change_password': '修改密码',
'User_information': '用户资料',
'account': '账号',
'password': '密码',
'verification_code': '验证码',
'login_rm': '记住我',
'login': '登 录',
'login_ing': '登 录 中...',
'Create': '新增',
'Update': '修改',
'Delete': '删除',
'Export': '导出',
'Editors': '编辑',
'SelectAll': '全选',
'Query': '查询',
'Reset': '重置',
'Confirm': '确认',
'Cancel': '取消',
'Operate': '操作',
'Tips': '提示',
'Tip1': '确认删除选中的',
'Tip2': '条数据?',
'Tip3': '用户姓名不作为登录使用',
'Tip4': '手机号码不能重复',
'loading': '数据加载中...'
},
// 菜单
'menu': {
'home': '首页', // 首页
'SystemManagement': '系统管理',
'SystemParam': '系统参数',
'BasicData': '基础数据',
'media': '媒体', // 媒体
'data': '数据', // 数据
'docking': '对接', // 对接
'operator': '当前操作账号:' // 当前操作账号
},
'WorkOrder': {
'form': {
'WorkOrderCode': '工单编码'
},
'placeholder': {
'WorkOrderCode': '请输入工单编码'
}
},
'SysParam': {
'table': {
'code': '编码',
'name': '名称',
'values': '值',
'description': '备注'
},
'rules': {
'NotNull': '不能为空'
}
},
'monitor': {
'sys': '系统',
'day': '项目已不间断运行',
'status': '状态',
'cpu': 'CPU使用率',
'core': '核心',
'memory': '内存使用率',
'tality': '总量',
'used': '已使用',
'leisure': '空闲',
'exchange': '交换区使用率',
'disk': '磁盘使用率',
'cpu_monitoring': 'CPU使用率监控',
'memory_monitoring': '内存使用率监控'
},
...zhLocale
}