feat(ui):i18n (#347)

* feat(acl-ui):i18n

* feat(base-ui):i18n

* feat(cmdb-ui):i18n
This commit is contained in:
wang-liang0615
2024-01-02 17:53:07 +08:00
committed by GitHub
parent a23bdab10e
commit 11259b4067
178 changed files with 21927 additions and 19433 deletions

View File

@@ -0,0 +1,442 @@
const cs_zh = {
menu: {
person: '个人中心',
companyInfo: '公司信息',
companyStructure: '公司架构',
notice: '通知设置',
email: '邮件设置',
wx: '企业微信',
dingding: '钉钉',
feishu: '飞书',
auth: '认证设置',
role: '角色管理',
sys: '系统角色',
technician: '技术员角色',
user: '用户角色',
group: '用户分组',
duty: '值班管理',
},
companyInfo: {
spanCompany: '公司描述',
name: '公司名称',
nameValidate: '请输入名称',
description: '描述',
spanAddress: '公司地址',
country: '国家/地区',
city: '城市',
address: '地址',
postcode: '邮政编码',
spanContract: '联系方式',
spanLogo: '公司标识',
website: '网站',
phone: '电话号码',
phoneValidate: '请输入正确的电话号码',
faxCode: '传真号码',
faxCodeValidate: '请输入正确的传真号码',
email: '邮箱',
emailValidate: '请输入正确的邮箱地址',
messenger: 'Messenger地址',
domainName: '部署域名',
logo: '公司logo',
upload: '上传',
editCompanyLogo: '编辑公司logo',
editCompanyLogoSmall: '编辑公司logo缩略图',
imageSizeLimit2MB: '图片大小不超过2MB',
checkInputCorrect: '请检查输入内容是否正确',
},
companyStructure: {
batchImport: '批量导入',
batchEdit: '批量编辑',
selectFile: '选择文件',
clickDownloadImportTemplate: '点击下载《员工导入模板》',
importSuccess: '导入总数据 {allCount} 条, 导入成功',
importFailed: '导入失败',
count: '条',
email: '邮箱',
emailPlaceholder: '请输入邮箱',
emailFormatErr: '邮箱格式错误',
username: '用户名',
usernamePlaceholder: '请输入用户名',
nickname: '姓名',
nicknamePlaceholder: '请输入姓名',
password: '密码',
passwordPlaceholder: '请输入密码',
sex: '性别',
sexPlaceholder: '请选择性别',
male: '男',
female: '女',
mobile: '手机号',
mobilePlaceholder: '请输入手机号',
mobileFormatErr: '请输入正确的手机号',
positionName: '岗位',
positionNamePlaceholder: '请输入岗位',
employee: '员工',
departmentName: '部门',
currentCompany: '目前所属主体',
currentCompanyPlaceholder: '请选择目前所属主体',
dfcEntryDate: '初始入职日期',
dfcEntryDatePlaceholder: '请选择初始入职日期',
entryDate: '目前主体入职日期',
entryDatePlaceholder: '请选择目前主体入职日期',
isInternship: '正式/实习生',
isInternshipPlaceholder: '请选择正式/实习生',
internship: '实习生',
fullTime: '正式',
leaveDate: '离职日期',
leaveDatePlaceholder: '请选择离职日期',
idCard: '身份证号',
idCardPlaceholder: '请输入身份证号',
nation: '民族',
nationPlaceholder: '请选择民族',
idPlace: '籍贯',
idPlacePlaceholder: '请输入籍贯',
party: '组织关系',
partyPlaceholder: '请选择组织关系',
partyMember: '党员',
member: '团员',
masses: '群众',
householdRegistrationType: '户籍类型',
householdRegistrationTypePlaceholder: '请选择户籍类型',
town: '城镇',
agriculture: '农业',
hometown: '户口所在地',
hometownPlaceholder: '请输入户口所在地',
marry: '婚姻状况',
unmarried: '未婚',
married: '已婚',
marryPlaceholder: '请选择婚姻状况',
maxDegree: '最高学历',
maxDegreePlaceholder: '请选择最高学历',
phd: '博士',
master: '硕士',
undergraduate: '本科',
specialist: '专科',
highSchool: '高中',
technicalSecondaryOrHighSchool: '中专/高中',
juniorHighSchool: '初中',
primarySchool: '小学',
emergencyPerson: '紧急联系人',
emergencyPersonPlaceholder: '请输入紧急联系人',
emergencyPhone: '紧急联系人电话',
emergencyPhonePlaceholder: '请输入紧急联系人电话',
bankCardInfo: '银行卡',
bankCardNumber: '银行卡号',
bankCardNumberPlaceholder: '请输入银行卡号',
bankCardName: '银行',
bankCardNamePlaceholder: '请输入银行',
openingBank: '开户行',
openingBankPlaceholder: '请输入开户行',
accountOpeningLocation: '开户地',
accountOpeningLocationPlaceholder: '请输入开户地',
school: '毕业学校',
schoolPlaceholder: '请输入毕业学校',
major: '专业',
majorPlaceholder: '请输入专业',
education: '学历',
educationPlaceholder: '请选择学历',
educationalExperience: '教育经历',
graduationYear: '毕业年份',
graduationYearPlaceholder: '请选择毕业年份',
birthDate: '出生日期',
birthDatePlaceholder: '请选择出生日期',
birthPlace: '出生地',
birthPlacePlaceholder: '请输入出生地',
nationalityRegion: '国籍/地区',
nationalityRegionPlaceholder: '请选择国籍/地区',
firstEntryDate: '首次入境日期',
firstEntryDatePlaceholder: '请选择首次入境日期',
estimatedDepartureDate: '预计离境日期',
estimatedDepartureDatePlaceholder: '请选择预计离境日期',
lastLogin: '上次登录时间',
importFailedReason: '失败原因',
selectDepartment: '选择部门',
supervisor: '上级',
editDirectSupervisor: '编辑上级',
selectDirectSupervisor: '选择上级',
annualLeave: '年假',
editPosition: '编辑岗位',
editAnnualLeave: '编辑年假',
annualLeavePlaceholder: '请输入年假',
virtualAnnualLeave: '虚拟年假',
virtualAnnualLeavePlaceholder: '请输入虚拟年假',
parentingLeave: '育儿假',
leftParentingLeave: '剩余育儿假',
parentingLeavePlaceholder: '请输入育儿假',
day: '天',
resetPassword: '重置密码',
confirmPassword: '确认密码',
block: '禁用',
blockUserConfirm: '该用户将会被禁用,是否继续?',
batchBlockUserConfirm: '这些用户将会被禁用,是否继续?',
recover: '恢复',
recoverUserConfirm: '该用户将会被恢复,是否继续?',
batchRecoverUserConfirm: '这些用户将会被恢复,是否继续?',
opFailed: '操作失败',
opSuccess: '操作成功',
createSubDepartment: '创建子部门',
editDepartment: '编辑部门',
deleteDepartment: '删除部门',
downloadAll: '下载全部',
downloadSelected: '下载选中',
departmentLabel: '部门名称',
departmentLabelPlaceholder: '请输入部门名称',
parentDepartment: '上级部门',
parentDepartmentPlaceholder: '请选择上级部门',
departmentDirector: '部门负责人',
childrenInformation: '子女信息',
childrenName: '子女姓名',
childrenGender: '子女性别',
childrenBirthday: '子女出生日期',
allEmployee: '全部',
activeEmployee: '在职员工',
blockEmployee: '停用员工',
prevStep: '上一步',
nextStep: '下一步',
done: '完成',
uploadFile: '上传文件',
confirmData: '确认数据',
uploadDone: '上传完成',
dataErr: '数据有误',
createEmployee: '新建员工',
editEmployee: '编辑员工',
role: '角色',
selectDisplayColumn: '请选择需要展示的列'
},
auth: {
basic: '基本',
other: '其他',
isEnable: '是否启用',
common: '通用',
testConnect: '测试连接',
testLogin: '测试登录',
testSuccess: '测试成功',
ldap: {
serverAddress: '服务器地址',
serverAddressHelp: '例如: 192.168.1.6 或者 ldap://192.168.1.6 或者 ldap://192.168.1.6:389',
serverAddressPlaceholder: '请输入服务器地址',
domain: '域',
domainPlaceholder: '请输入域',
user: '用户',
username: '用户名称',
userPlaceholder: '请输入用户名称',
userHelp: '用户dn: cn={},ou=users,dc=xxx,dc=com {}会替换成用户名'
},
cas: {
server: '服务端地址',
serverHelp: '不包括url path例如https://xxx.com',
serverPlaceholder: '请输入cas服务器地址',
validateServer: '验证服务端地址',
validateServerHelp: '不包括url path例如https://xxx.com',
validateServerPlaceholder: '请输入验证服务端地址',
loginRoute: '登录路由',
loginRoutePlaceholder: '请输入登录路由',
logoutRoute: '注销路由',
logoutRoutePlaceholder: '请输入注销路由',
validateRoute: '验证路由',
validateRoutePlaceholder: '请输入验证路由',
afterLoginRoute: '重定向路由',
afterLoginRoutePlaceholder: '请输入重定向路由',
userMap: '用户属性映射'
},
autoRedirectLogin: '自动跳转到第三方登录页',
autoRedirectLoginHelp: '如果关闭,则会弹出跳转到第三方登录页的确认,点取消按钮会进入系统内置的登录页',
usernameOrEmail: '用户名/邮箱',
usernameOrEmailPlaceholder: '请输入用户名/邮箱',
password: '密码',
passwordPlaceholder: '请输入密码',
oauth2: {
clientId: '客户端ID',
clientIdPlaceholder: '请输入客户端ID',
clientSecret: '客户端密钥',
clientSecretPlaceholder: '请输入客户端密钥',
authorizeUrl: '授权链接',
authorizeUrlPlaceholder: '请输入授权链接',
tokenUrl: '令牌链接',
tokenUrlPlaceholder: '请输入令牌链接',
userInfo: '用户信息',
scopes: '授权范围',
scopesPlaceholder: '请输入授权范围',
}
},
duty: {
basicSetting: '基础设置',
ruleName: '标题',
ruleNamePlaceholder: '请输入标题',
principalId: '负责人',
specifyId: '指定人',
principalIdPlaceholder: '请选择负责人/单选',
remark: '备注',
remarkPlaceholder: '请输入备注',
remindTime: '值班提醒时间',
remindWay: '提醒方式',
remindPeople: '提醒人',
mainDutyPeople: '主值班人',
deputyDutyPeople: '副值班人',
dutyRule: '排班规则',
'一': '一',
'二': '二',
'三': '三',
'四': '四',
'五': '五',
'六': '六',
'日': '日',
searchPlaceholder: '请查找',
dutyTable: '值班表',
dutyMember: '值班人员',
dutyMemberPlaceholder: '请选择值班人员',
startDutyMember: '开始值班人员',
startEndDate: '起止日期',
startEndDatePlaceholder: '请选择起止日期',
dutyPeriod: '值班时段',
dutyFrequency: '值班频次',
fullDay: '全天',
specifyTime: '指定时间',
monthDayFormat: 'MM月DD日',
week: '周',
month: '月',
hour: '小时',
min: '分',
before: '提前',
fixed: '固定时间',
removeHolidays: '是否去除节假日',
offDutyReceiver: '非值班时间接收人',
offDutyReceiverPlaceholder: '请选择非值班时间接收人',
titleLimit: '请输入标题20个字符',
remarkLimit: '备注150个字符以内',
frequencyLimit: '请输入值班频次(正整数)'
},
group: {
groupName: '用户分组',
groupNamePlaceholder: '请输入用户分组',
addGroup: '新增分组',
editGroup: '编辑分组',
},
components: {
preview: '预览',
copy: '复制',
editAvatar: '编辑头像',
conditionFilter: '条件过滤',
selectPlaceholder: '请选择',
empty: '空',
and: '与',
or: '或',
equal: '等于',
notEqual: '不等于',
isEmpty: '为空',
isNotEmpty: '不为空',
compare: '比较',
moreThan: '大于',
lessThan: '小于',
operatorInPlaceholder: '以 ; 分隔',
selectEmployee: '选择员工'
},
notice: {
corpid: '企业ID',
agentid: '自建应用ID',
corpsecret: '自建应用密钥',
itsmAppId: 'ITSM应用ID',
robot: '机器人',
selectRobot: '请选择机器人',
robotConfigErrorTips: '请完整填写机器人配置',
webhookAddress: 'Webhook地址',
appKey: '应用Key',
appSecret: '应用密码',
robotCode: '机器人码',
sendServer: '发送服务器',
connectProtocol: '连接协议',
ews: 'EWS(Exchange Web服务)',
authType: '认证类型',
base: '基本',
oauth: 'OAuth',
ip: '服务器名/IP地址',
username: '用户名',
password: '密码',
email: '邮件地址',
emailType: '邮件类型',
port: '端口',
testEmailConfig: '测试邮件设置',
testRecyclingBin: '测试回收箱',
receiveEmailFailed: '接收邮件失败',
emailServiceNotConfig: '邮箱服务器未配置,请配置一个邮箱服务器',
troubleshooting: '故障诊断',
emailConfig: '邮件设置',
receiveEmailInterval: '获取邮件间隔',
startProxyServer: '启动代理服务器',
configProxyServer: '配置代理服务器',
startEmailTest: '启动邮件测试',
disableCreationOfRequestsViaEmail: '禁用通过邮件创建请求',
specifyAllowedEmails: '指定允许的邮件/域名,逗号分隔多个值',
specifyAllowedEmailsExample: '例如:user@domain.com,*@domain.com',
specifyAllowedEmailsLimit: '限制不能适用于已在会话中的请求,它将聚集到它的上级工单中',
messageConfig: '消息设置',
moveWrongMessagesToFolder: '将消息移动到错误的文件夹',
knowMore: '了解更多',
configProxySettings: '配置代理设置',
host: '主机',
isEncrypted: '是否加密',
emailTest: '邮件测试',
testSendAddress: '测试发送邮件地址',
testMailSend: '测试邮件发送',
portPlaceholder: '请输入端口',
testSendAddressPlaceholder: '请输入测试发送邮件地址',
emailSendSuccess: '已发送邮件,请查收',
title: '名称',
},
person: {
spanTitle: '个人信息',
accountAndPassword: '账号密码',
avatar: '头像',
changeAvatar: '更换头像',
email: '邮件',
wechatApp: '企业微信',
feishuApp: '飞书',
dingdingApp: '钉钉',
bindInfo: '绑定信息',
newPassword: '新密码',
confirmPassword: '确认密码',
pleaseConfirmNewPasswordSecondTime: '请再次确认新密码',
thePasswordEnteredTwiceIsInconsistent: '两次输入的密码不一致',
inputStrCountLimit20: '字符数须小于20',
inputStrCountLimit: '字符数须小于{limit}',
alert: '警告',
confirmUnbind: '确认解绑?',
unbindSuccess: '解绑成功',
bindSuccess: '绑定成功',
},
role: {
systemRole: '系统角色',
technicianRole: '技术员角色',
userRole: '用户角色',
authorizedByTheCreator: '按照创建人授权',
authorizeAccordingToRules: '按照规则授权',
expression: '表达式',
matchResults: '匹配结果',
matchResultEmpty: '无',
pleaseFillInTheCompleteRules: '请填写完整的规则',
roleName: '角色名称',
pleaseEnterRoleName: '请输入角色名称',
appName: '应用名称',
pleaseEnterAppName: '请输入应用名称',
createRole: '新建角色',
editRole: '编辑角色',
copyRole: '从 {roleName} 复制角色',
associatedEmployees: '关联员工',
inputNameOrEmail: '请输入姓名/邮箱',
remove: '移除',
confirmRemoveEmployee: '确认移除该员工?',
removeSuccess: '移除成功',
associatedSuccess: '关联成功',
roleEmployee: '角色员工',
operationPermission: '操作权限',
dataPermission: '数据权限',
confirmDeleteRole: '确认删除角色 [{roleName}]?',
deleteRoleSuccess: '删除成功',
mySelf: '本人', // Myself
mySubordinates: '本人及下属', // my subordinates
myDepartment: '本部门', // my department
myDepartmentAndSubordinateDepartments: '本部门及下属部门',
test: '测试',
selectApp: '选择应用',
}
}
export default cs_zh