增加主题及企微
This commit is contained in:
1 parent
42e29fd747
commit
20271ada61
35 files changed
+2424
-523
No files matched your search
+268
-4
@@ -32,7 +32,9 @@ const messages = {
|
||||
internalError: 'Internal server error. Please try again later.',
|
||||
rememberMe: 'Remember me for 30 days',
|
||||
forgotPasswordDesc: 'Enter your email to reset your password',
|
||||
findPassword: 'Find Password'
|
||||
findPassword: 'Find Password',
|
||||
wecomLogin: 'Login with WeCom',
|
||||
wecomConnecting: 'Connecting to WeCom...'
|
||||
},
|
||||
landing: {
|
||||
hero: {
|
||||
@@ -154,6 +156,7 @@ const messages = {
|
||||
agents: 'Agent Management',
|
||||
announcements: 'Announcements',
|
||||
questions: 'Common Questions',
|
||||
wecom: 'WeCom',
|
||||
permissions: 'App Permissions',
|
||||
requests: 'Permission Requests',
|
||||
reports: 'Data Reports'
|
||||
@@ -338,6 +341,61 @@ const messages = {
|
||||
}
|
||||
},
|
||||
|
||||
wecom: {
|
||||
title: 'WeCom Binding Management',
|
||||
subtitle: 'Manually bind/unbind WeCom accounts and review login audit records',
|
||||
refresh: 'Refresh',
|
||||
quickBind: 'Quick Bind',
|
||||
bind: 'Bind',
|
||||
unbind: 'Unbind',
|
||||
bindingList: 'Binding List',
|
||||
boundOnly: 'Bound only',
|
||||
noData: 'No data',
|
||||
auditTitle: 'Login Audit (latest 200)',
|
||||
exportAudit: 'Export Audit',
|
||||
noAuditData: 'No audit records',
|
||||
confirmUnbind: 'Confirm unbinding this user from WeCom?',
|
||||
fields: {
|
||||
userId: 'User ID (user_id)',
|
||||
wecomUserId: 'WeCom UserId',
|
||||
wecomUnionId: 'UnionId (optional)'
|
||||
},
|
||||
headers: {
|
||||
user: 'User',
|
||||
roleStatus: 'Role / Status',
|
||||
wecomUserId: 'WeCom UserId',
|
||||
unionId: 'UnionId',
|
||||
actions: 'Actions'
|
||||
},
|
||||
auditHeaders: {
|
||||
time: 'Time',
|
||||
source: 'Source',
|
||||
user: 'User',
|
||||
status: 'Status',
|
||||
reason: 'Reason',
|
||||
ip: 'IP'
|
||||
},
|
||||
filters: {
|
||||
allSources: 'All Sources',
|
||||
allStatus: 'All Status'
|
||||
},
|
||||
sources: {
|
||||
wecom: 'WeCom',
|
||||
password: 'Password'
|
||||
},
|
||||
auditStatus: {
|
||||
success: 'Success',
|
||||
failed: 'Failed'
|
||||
},
|
||||
msg: {
|
||||
bindInputRequired: 'Please enter user_id and wecom_userid',
|
||||
bindFailed: 'Bind failed',
|
||||
bindSuccess: 'Bind succeeded',
|
||||
unbindFailed: 'Unbind failed',
|
||||
boundConflict: 'This WeCom account is already bound: {detail}'
|
||||
}
|
||||
},
|
||||
|
||||
// Permissions
|
||||
perm: {
|
||||
title: 'App Permissions',
|
||||
@@ -481,6 +539,14 @@ const messages = {
|
||||
newPassword: 'New Password',
|
||||
confirmPassword: 'Confirm Password',
|
||||
changePassword: 'Change Password'
|
||||
},
|
||||
theme: {
|
||||
label: 'Theme',
|
||||
light: 'Light',
|
||||
dark: 'Dark',
|
||||
system: 'Follow System',
|
||||
switchToLight: 'Switch to light mode',
|
||||
switchToDark: 'Switch to dark mode'
|
||||
}
|
||||
},
|
||||
'zh-CN': {
|
||||
@@ -513,7 +579,9 @@ const messages = {
|
||||
internalError: '服务器内部错误,请稍后重试。',
|
||||
rememberMe: '30天内免登录',
|
||||
forgotPasswordDesc: '输入您的邮箱以重置密码',
|
||||
findPassword: '找回密码'
|
||||
findPassword: '找回密码',
|
||||
wecomLogin: '企业微信登录',
|
||||
wecomConnecting: '正在连接企业微信...'
|
||||
},
|
||||
landing: {
|
||||
hero: {
|
||||
@@ -636,6 +704,7 @@ const messages = {
|
||||
agents: '应用管理',
|
||||
announcements: '公告管理',
|
||||
questions: '常用问题',
|
||||
wecom: '企业微信',
|
||||
permissions: '应用权限',
|
||||
requests: '权限审批',
|
||||
reports: '数据报表'
|
||||
@@ -820,6 +889,61 @@ const messages = {
|
||||
}
|
||||
},
|
||||
|
||||
wecom: {
|
||||
title: '企业微信绑定管理',
|
||||
subtitle: '手动绑定/解绑企业微信账号,并查看登录审计记录',
|
||||
refresh: '刷新',
|
||||
quickBind: '快速绑定',
|
||||
bind: '绑定',
|
||||
unbind: '解绑',
|
||||
bindingList: '绑定列表',
|
||||
boundOnly: '只看已绑定',
|
||||
noData: '暂无数据',
|
||||
auditTitle: '登录审计(最近 200 条)',
|
||||
exportAudit: '导出审计',
|
||||
noAuditData: '暂无审计记录',
|
||||
confirmUnbind: '确认解绑该用户的企业微信账号?',
|
||||
fields: {
|
||||
userId: '用户ID (user_id)',
|
||||
wecomUserId: '企业微信 UserId',
|
||||
wecomUnionId: 'UnionId (可选)'
|
||||
},
|
||||
headers: {
|
||||
user: '用户',
|
||||
roleStatus: '角色/状态',
|
||||
wecomUserId: 'WeCom UserId',
|
||||
unionId: 'UnionId',
|
||||
actions: '操作'
|
||||
},
|
||||
auditHeaders: {
|
||||
time: '时间',
|
||||
source: '来源',
|
||||
user: '用户',
|
||||
status: '状态',
|
||||
reason: '原因',
|
||||
ip: 'IP'
|
||||
},
|
||||
filters: {
|
||||
allSources: '全部来源',
|
||||
allStatus: '全部状态'
|
||||
},
|
||||
sources: {
|
||||
wecom: '企业微信',
|
||||
password: '密码'
|
||||
},
|
||||
auditStatus: {
|
||||
success: '成功',
|
||||
failed: '失败'
|
||||
},
|
||||
msg: {
|
||||
bindInputRequired: '请输入 user_id 与 wecom_userid',
|
||||
bindFailed: '绑定失败',
|
||||
bindSuccess: '绑定成功',
|
||||
unbindFailed: '解绑失败',
|
||||
boundConflict: '该企业微信账号已被绑定:{detail}'
|
||||
}
|
||||
},
|
||||
|
||||
// Permissions
|
||||
perm: {
|
||||
title: '应用权限',
|
||||
@@ -963,6 +1087,14 @@ const messages = {
|
||||
newPassword: '新密码',
|
||||
confirmPassword: '确认密码',
|
||||
changePassword: '修改密码'
|
||||
},
|
||||
theme: {
|
||||
label: '主题',
|
||||
light: '明亮',
|
||||
dark: '暗夜',
|
||||
system: '跟随系统',
|
||||
switchToLight: '切换到明亮模式',
|
||||
switchToDark: '切换到暗夜模式'
|
||||
}
|
||||
},
|
||||
'zh-TW': {
|
||||
@@ -982,7 +1114,9 @@ const messages = {
|
||||
inputError: '請輸入用戶名和密碼',
|
||||
usernameRequired: '請輸入用戶名',
|
||||
loginRequired: '請先登錄後再進入對話',
|
||||
requestFailed: '登錄請求失敗'
|
||||
requestFailed: '登錄請求失敗',
|
||||
wecomLogin: '企業微信登錄',
|
||||
wecomConnecting: '正在連接企業微信...'
|
||||
},
|
||||
landing: {
|
||||
hero: {
|
||||
@@ -1100,6 +1234,7 @@ const messages = {
|
||||
agents: '應用管理',
|
||||
announcements: '公告管理',
|
||||
questions: '常用問題',
|
||||
wecom: '企業微信',
|
||||
permissions: '應用權限',
|
||||
requests: '權限審批',
|
||||
reports: '數據報表'
|
||||
@@ -1284,6 +1419,61 @@ const messages = {
|
||||
}
|
||||
},
|
||||
|
||||
wecom: {
|
||||
title: '企業微信綁定管理',
|
||||
subtitle: '手動綁定/解綁企業微信帳號,並查看登入審計記錄',
|
||||
refresh: '刷新',
|
||||
quickBind: '快速綁定',
|
||||
bind: '綁定',
|
||||
unbind: '解綁',
|
||||
bindingList: '綁定列表',
|
||||
boundOnly: '僅看已綁定',
|
||||
noData: '暫無資料',
|
||||
auditTitle: '登入審計(最近 200 條)',
|
||||
exportAudit: '導出審計',
|
||||
noAuditData: '暫無審計記錄',
|
||||
confirmUnbind: '確認解綁該用戶的企業微信帳號?',
|
||||
fields: {
|
||||
userId: '用戶ID (user_id)',
|
||||
wecomUserId: '企業微信 UserId',
|
||||
wecomUnionId: 'UnionId (可選)'
|
||||
},
|
||||
headers: {
|
||||
user: '用戶',
|
||||
roleStatus: '角色/狀態',
|
||||
wecomUserId: 'WeCom UserId',
|
||||
unionId: 'UnionId',
|
||||
actions: '操作'
|
||||
},
|
||||
auditHeaders: {
|
||||
time: '時間',
|
||||
source: '來源',
|
||||
user: '用戶',
|
||||
status: '狀態',
|
||||
reason: '原因',
|
||||
ip: 'IP'
|
||||
},
|
||||
filters: {
|
||||
allSources: '全部來源',
|
||||
allStatus: '全部狀態'
|
||||
},
|
||||
sources: {
|
||||
wecom: '企業微信',
|
||||
password: '密碼'
|
||||
},
|
||||
auditStatus: {
|
||||
success: '成功',
|
||||
failed: '失敗'
|
||||
},
|
||||
msg: {
|
||||
bindInputRequired: '請輸入 user_id 與 wecom_userid',
|
||||
bindFailed: '綁定失敗',
|
||||
bindSuccess: '綁定成功',
|
||||
unbindFailed: '解綁失敗',
|
||||
boundConflict: '該企業微信帳號已被綁定:{detail}'
|
||||
}
|
||||
},
|
||||
|
||||
// Permissions
|
||||
perm: {
|
||||
title: '應用權限',
|
||||
@@ -1427,6 +1617,14 @@ const messages = {
|
||||
newPassword: '新密碼',
|
||||
confirmPassword: '確認密碼',
|
||||
changePassword: '修改密碼'
|
||||
},
|
||||
theme: {
|
||||
label: '主題',
|
||||
light: '明亮',
|
||||
dark: '暗夜',
|
||||
system: '跟隨系統',
|
||||
switchToLight: '切換到明亮模式',
|
||||
switchToDark: '切換到暗夜模式'
|
||||
}
|
||||
},
|
||||
'th': {
|
||||
@@ -1446,7 +1644,9 @@ const messages = {
|
||||
inputError: 'กรุณากรอกชื่อผู้ใช้และรหัสผ่าน',
|
||||
usernameRequired: 'กรุณากรอกชื่อผู้ใช้',
|
||||
loginRequired: 'กรุณาเข้าสู่ระบบก่อนเริ่มการสนทนา',
|
||||
requestFailed: 'คำขอเข้าสู่ระบบล้มเหลว'
|
||||
requestFailed: 'คำขอเข้าสู่ระบบล้มเหลว',
|
||||
wecomLogin: 'เข้าสู่ระบบด้วย WeCom',
|
||||
wecomConnecting: 'กำลังเชื่อมต่อ WeCom...'
|
||||
},
|
||||
landing: {
|
||||
hero: {
|
||||
@@ -1564,6 +1764,7 @@ const messages = {
|
||||
agents: 'การจัดการตัวแทน',
|
||||
announcements: 'การจัดการประกาศ',
|
||||
questions: 'คำถามทั่วไป',
|
||||
wecom: 'WeCom',
|
||||
permissions: 'สิทธิ์แอปพลิเคชัน',
|
||||
requests: 'คำขอสิทธิ์',
|
||||
reports: 'รายงานข้อมูล'
|
||||
@@ -1748,6 +1949,61 @@ const messages = {
|
||||
}
|
||||
},
|
||||
|
||||
wecom: {
|
||||
title: 'การจัดการการผูกบัญชี WeCom',
|
||||
subtitle: 'ผูก/ยกเลิกการผูกบัญชี WeCom แบบแมนนวล และตรวจสอบบันทึกการเข้าสู่ระบบ',
|
||||
refresh: 'รีเฟรช',
|
||||
quickBind: 'ผูกแบบรวดเร็ว',
|
||||
bind: 'ผูก',
|
||||
unbind: 'ยกเลิกการผูก',
|
||||
bindingList: 'รายการที่ผูกบัญชี',
|
||||
boundOnly: 'แสดงเฉพาะที่ผูกแล้ว',
|
||||
noData: 'ไม่มีข้อมูล',
|
||||
auditTitle: 'บันทึกการเข้าสู่ระบบ (ล่าสุด 200 รายการ)',
|
||||
exportAudit: 'ส่งออกบันทึก',
|
||||
noAuditData: 'ไม่มีบันทึกการตรวจสอบ',
|
||||
confirmUnbind: 'ยืนยันยกเลิกการผูกบัญชี WeCom ของผู้ใช้นี้หรือไม่?',
|
||||
fields: {
|
||||
userId: 'รหัสผู้ใช้ (user_id)',
|
||||
wecomUserId: 'WeCom UserId',
|
||||
wecomUnionId: 'UnionId (ไม่บังคับ)'
|
||||
},
|
||||
headers: {
|
||||
user: 'ผู้ใช้',
|
||||
roleStatus: 'บทบาท / สถานะ',
|
||||
wecomUserId: 'WeCom UserId',
|
||||
unionId: 'UnionId',
|
||||
actions: 'การกระทำ'
|
||||
},
|
||||
auditHeaders: {
|
||||
time: 'เวลา',
|
||||
source: 'แหล่งที่มา',
|
||||
user: 'ผู้ใช้',
|
||||
status: 'สถานะ',
|
||||
reason: 'เหตุผล',
|
||||
ip: 'IP'
|
||||
},
|
||||
filters: {
|
||||
allSources: 'ทุกแหล่งที่มา',
|
||||
allStatus: 'ทุกสถานะ'
|
||||
},
|
||||
sources: {
|
||||
wecom: 'WeCom',
|
||||
password: 'รหัสผ่าน'
|
||||
},
|
||||
auditStatus: {
|
||||
success: 'สำเร็จ',
|
||||
failed: 'ล้มเหลว'
|
||||
},
|
||||
msg: {
|
||||
bindInputRequired: 'กรุณากรอก user_id และ wecom_userid',
|
||||
bindFailed: 'ผูกบัญชีไม่สำเร็จ',
|
||||
bindSuccess: 'ผูกบัญชีสำเร็จ',
|
||||
unbindFailed: 'ยกเลิกการผูกไม่สำเร็จ',
|
||||
boundConflict: 'บัญชี WeCom นี้ถูกผูกไว้แล้ว: {detail}'
|
||||
}
|
||||
},
|
||||
|
||||
// Permissions
|
||||
perm: {
|
||||
title: 'สิทธิ์แอปพลิเคชัน',
|
||||
@@ -1891,6 +2147,14 @@ const messages = {
|
||||
newPassword: 'รหัสผ่านใหม่',
|
||||
confirmPassword: 'ยืนยันรหัสผ่าน',
|
||||
changePassword: 'เปลี่ยนรหัสผ่าน'
|
||||
},
|
||||
theme: {
|
||||
label: 'ธีม',
|
||||
light: 'สว่าง',
|
||||
dark: 'มืด',
|
||||
system: 'ตามระบบ',
|
||||
switchToLight: 'เปลี่ยนเป็นโหมดสว่าง',
|
||||
switchToDark: 'เปลี่ยนเป็นโหมดมืด'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user