260304调整
This commit is contained in:
1 parent
b48f1e592a
commit
a0c8721fbb
16 files changed
+1382
-291
No files matched your search
+276
-13
@@ -8,12 +8,41 @@ const messages = {
|
||||
username: 'Username',
|
||||
password: 'Password',
|
||||
submit: 'Login',
|
||||
register: 'No account? Register',
|
||||
registerLink: 'Register',
|
||||
noAccount: 'Don\'t have an account?',
|
||||
subtitle: 'Welcome back! Please enter your details.',
|
||||
placeholder: {
|
||||
username: 'Enter your username',
|
||||
password: 'Password'
|
||||
},
|
||||
failed: 'Login failed',
|
||||
inputError: 'Please enter username and password',
|
||||
usernameRequired: 'Please enter username',
|
||||
loginRequired: 'Please login first',
|
||||
requestFailed: 'Login request failed'
|
||||
requestFailed: 'Login request failed',
|
||||
forgotPassword: 'Forgot Password?',
|
||||
newPassword: 'New Password',
|
||||
passwordResetSuccess: 'Password reset successfully. Please login.',
|
||||
featuredAgents: 'Featured AI Agents',
|
||||
pleaseLoginFirst: 'Please login to access this agent.',
|
||||
userNotFound: 'User not found',
|
||||
incorrectPassword: 'Incorrect password',
|
||||
accountDisabled: 'Account is disabled',
|
||||
dbConnectionFailed: 'Database connection failed. Please check if the database service is running.',
|
||||
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'
|
||||
},
|
||||
landing: {
|
||||
hero: {
|
||||
prefix: 'Unleash the Power of',
|
||||
highlight: 'Generative AI',
|
||||
subtitle: 'Access a suite of powerful AI agents tailored for your enterprise needs. Secure, scalable, and intelligent.'
|
||||
},
|
||||
agent: {
|
||||
role: 'AI Assistant'
|
||||
}
|
||||
},
|
||||
register: {
|
||||
title: 'Register New Account',
|
||||
@@ -105,6 +134,12 @@ const messages = {
|
||||
requests: 'Requests',
|
||||
reports: 'Reports',
|
||||
save: 'Save Changes',
|
||||
add: 'Add',
|
||||
update: 'Update',
|
||||
cancel: 'Cancel',
|
||||
close: 'Close',
|
||||
edit: 'Edit',
|
||||
delete: 'Delete',
|
||||
|
||||
// Sidebar & Navigation
|
||||
nav: {
|
||||
@@ -241,6 +276,10 @@ const messages = {
|
||||
fields: {
|
||||
name: 'Name',
|
||||
type: 'Integration Type',
|
||||
types: {
|
||||
api: 'API Integration (Dify)',
|
||||
iframe: 'Iframe Embed'
|
||||
},
|
||||
appId: 'Dify App ID',
|
||||
apiKey: 'API Key',
|
||||
baseUrl: 'API Base URL (Optional)',
|
||||
@@ -334,6 +373,8 @@ const messages = {
|
||||
title: 'Data Reports: {table}',
|
||||
subtitle: 'Raw data view and statistics',
|
||||
export: 'Export Excel',
|
||||
enterFullscreen: 'Enter Fullscreen',
|
||||
exitFullscreen: 'Exit Fullscreen',
|
||||
noData: 'No data available for {table}',
|
||||
usage: 'Usage Analytics',
|
||||
byUser: 'Requests by User',
|
||||
@@ -354,6 +395,17 @@ const messages = {
|
||||
},
|
||||
|
||||
// Common Messages
|
||||
role: {
|
||||
user: 'User',
|
||||
admin: 'Admin'
|
||||
},
|
||||
status: {
|
||||
active: 'Active',
|
||||
disabled: 'Disabled',
|
||||
pending: 'Pending',
|
||||
rejected: 'Rejected',
|
||||
approved: 'Approved'
|
||||
},
|
||||
msg: {
|
||||
success: 'Operation successful',
|
||||
failed: 'Operation failed',
|
||||
@@ -361,7 +413,9 @@ const messages = {
|
||||
requestFailed: 'Request failed',
|
||||
allSaved: 'All changes are already saved to backend.',
|
||||
batchUpdateFailed: 'Batch update failed',
|
||||
enterOneField: 'Please enter at least one field to update'
|
||||
batchPermissionUpdateFailed: 'Batch permission update failed',
|
||||
enterOneField: 'Please enter at least one field to update',
|
||||
batchDeleteResult: 'Deleted {count} users.'
|
||||
}
|
||||
},
|
||||
chat: {
|
||||
@@ -373,8 +427,15 @@ const messages = {
|
||||
rate: 'Rate this response',
|
||||
send: 'Send',
|
||||
agentId: 'Agent ID:',
|
||||
loadingAgent: 'Loading agent...',
|
||||
thinking: 'Generating response...',
|
||||
disclaimer: 'AI can make mistakes. Please verify important information.',
|
||||
suggestions: {
|
||||
whatCanYouDo: 'What can you do?',
|
||||
helpWriteReport: 'Help me write a report',
|
||||
analyzeData: 'Analyze this data',
|
||||
creativeWriting: 'Creative writing'
|
||||
},
|
||||
welcome: {
|
||||
title: 'How can I help you today?',
|
||||
subtitle: 'Start a new conversation or select one from history.'
|
||||
@@ -384,20 +445,64 @@ const messages = {
|
||||
commentPlaceholder: 'Add a comment (optional)...',
|
||||
sent: 'Sent'
|
||||
}
|
||||
},
|
||||
profile: {
|
||||
title: 'Profile',
|
||||
personalInfo: 'Personal Information',
|
||||
security: 'Security',
|
||||
preferences: 'Preferences',
|
||||
edit: 'Edit',
|
||||
cancel: 'Cancel',
|
||||
saveSuccess: 'Profile saved successfully',
|
||||
passwordChanged: 'Password changed successfully',
|
||||
passwordMismatch: 'Passwords do not match',
|
||||
currentPassword: 'Current Password',
|
||||
newPassword: 'New Password',
|
||||
confirmPassword: 'Confirm Password',
|
||||
changePassword: 'Change Password'
|
||||
}
|
||||
},
|
||||
'zh-CN': {
|
||||
title: '企业 AI 网关',
|
||||
title: '企业级 AI 网关',
|
||||
login: {
|
||||
username: '用户名',
|
||||
password: '密码',
|
||||
submit: '登录',
|
||||
register: '没有账号?点击注册',
|
||||
registerLink: '点击注册',
|
||||
noAccount: '没有账号?',
|
||||
subtitle: '欢迎回来!请输入您的详细信息。',
|
||||
placeholder: {
|
||||
username: '请输入用户名',
|
||||
password: '密码'
|
||||
},
|
||||
failed: '登录失败',
|
||||
inputError: '请输入用户名和密码',
|
||||
usernameRequired: '请输入用户名',
|
||||
loginRequired: '请先登录后再进入对话',
|
||||
requestFailed: '登录请求失败'
|
||||
loginRequired: '请先登录',
|
||||
requestFailed: '登录请求失败',
|
||||
forgotPassword: '忘记密码?',
|
||||
newPassword: '新密码',
|
||||
passwordResetSuccess: '密码重置成功,请重新登录。',
|
||||
featuredAgents: '推荐 AI 应用',
|
||||
pleaseLoginFirst: '请先登录以使用此应用。',
|
||||
userNotFound: '用户不存在',
|
||||
incorrectPassword: '密码错误',
|
||||
accountDisabled: '账号已禁用',
|
||||
dbConnectionFailed: '数据库连接失败,请检查数据库服务是否运行。',
|
||||
internalError: '服务器内部错误,请稍后重试。',
|
||||
rememberMe: '30天内免登录',
|
||||
forgotPasswordDesc: '输入您的邮箱以重置密码',
|
||||
findPassword: '找回密码'
|
||||
},
|
||||
landing: {
|
||||
hero: {
|
||||
prefix: '释放',
|
||||
highlight: '生成式 AI 的力量',
|
||||
subtitle: '访问为您企业量身定制的强大 AI 助手套件。安全、可扩展、智能。'
|
||||
},
|
||||
agent: {
|
||||
role: 'AI 助手'
|
||||
}
|
||||
},
|
||||
register: {
|
||||
title: '注册新账号',
|
||||
@@ -495,6 +600,7 @@ const messages = {
|
||||
cancel: '取消',
|
||||
close: '关闭',
|
||||
edit: '编辑',
|
||||
delete: '删除',
|
||||
|
||||
// Sidebar & Navigation
|
||||
nav: {
|
||||
@@ -631,6 +737,10 @@ const messages = {
|
||||
fields: {
|
||||
name: '名称',
|
||||
type: '集成类型',
|
||||
types: {
|
||||
api: 'API 集成 (Dify)',
|
||||
iframe: 'Iframe 嵌入'
|
||||
},
|
||||
appId: 'Dify App ID',
|
||||
apiKey: 'API Key',
|
||||
baseUrl: 'API Base URL (选填)',
|
||||
@@ -724,6 +834,8 @@ const messages = {
|
||||
title: '数据报表: {table}',
|
||||
subtitle: '原始数据与统计视图',
|
||||
export: '导出 Excel',
|
||||
enterFullscreen: '进入全屏',
|
||||
exitFullscreen: '退出全屏',
|
||||
noData: '暂无数据: {table}',
|
||||
usage: '使用分析',
|
||||
byUser: '按用户统计',
|
||||
@@ -744,6 +856,17 @@ const messages = {
|
||||
},
|
||||
|
||||
// Common Messages
|
||||
role: {
|
||||
user: '普通用户',
|
||||
admin: '管理员'
|
||||
},
|
||||
status: {
|
||||
active: '启用',
|
||||
disabled: '禁用',
|
||||
pending: '待审核',
|
||||
rejected: '已拒绝',
|
||||
approved: '已通过'
|
||||
},
|
||||
msg: {
|
||||
success: '操作成功',
|
||||
failed: '操作失败',
|
||||
@@ -751,7 +874,9 @@ const messages = {
|
||||
requestFailed: '请求失败',
|
||||
allSaved: '所有更改已保存至后台',
|
||||
batchUpdateFailed: '批量更新失败',
|
||||
enterOneField: '请至少输入一个要更新的字段'
|
||||
batchPermissionUpdateFailed: '批量权限更新失败',
|
||||
enterOneField: '请至少输入一个要更新的字段',
|
||||
batchDeleteResult: '已删除 {count} 位用户。'
|
||||
}
|
||||
},
|
||||
chat: {
|
||||
@@ -763,8 +888,15 @@ const messages = {
|
||||
rate: '评价回答',
|
||||
send: '发送',
|
||||
agentId: '应用 ID:',
|
||||
loadingAgent: '正在加载应用...',
|
||||
thinking: '正在生成回答...',
|
||||
disclaimer: 'AI 可能会犯错,请核实重要信息。',
|
||||
suggestions: {
|
||||
whatCanYouDo: '你能做什么?',
|
||||
helpWriteReport: '帮我写一份报告',
|
||||
analyzeData: '分析这份数据',
|
||||
creativeWriting: '创意写作'
|
||||
},
|
||||
welcome: {
|
||||
title: '今天我能帮您做什么?',
|
||||
subtitle: '开始新对话或从历史记录中选择。'
|
||||
@@ -774,21 +906,52 @@ const messages = {
|
||||
commentPlaceholder: '添加评论(可选)...',
|
||||
sent: '已发送'
|
||||
}
|
||||
},
|
||||
profile: {
|
||||
title: '个人资料',
|
||||
personalInfo: '基本信息',
|
||||
security: '安全设置',
|
||||
preferences: '偏好设置',
|
||||
edit: '编辑',
|
||||
cancel: '取消',
|
||||
saveSuccess: '个人资料保存成功',
|
||||
passwordChanged: '密码修改成功',
|
||||
passwordMismatch: '两次输入的密码不一致',
|
||||
currentPassword: '当前密码',
|
||||
newPassword: '新密码',
|
||||
confirmPassword: '确认密码',
|
||||
changePassword: '修改密码'
|
||||
}
|
||||
},
|
||||
'zh-TW': {
|
||||
title: '企業 AI 網關',
|
||||
title: '企業級 AI 網關',
|
||||
login: {
|
||||
username: '用戶名',
|
||||
password: '密碼',
|
||||
submit: '登錄',
|
||||
register: '沒有賬號?點擊註冊',
|
||||
registerLink: '點擊註冊',
|
||||
noAccount: '沒有賬號?',
|
||||
subtitle: '歡迎回來!請輸入您的詳細信息。',
|
||||
placeholder: {
|
||||
username: '請輸入用戶名',
|
||||
password: '密碼'
|
||||
},
|
||||
failed: '登錄失敗',
|
||||
inputError: '請輸入用戶名和密碼',
|
||||
usernameRequired: '請輸入用戶名',
|
||||
loginRequired: '請先登錄後再進入對話',
|
||||
requestFailed: '登錄請求失敗'
|
||||
},
|
||||
landing: {
|
||||
hero: {
|
||||
prefix: '釋放',
|
||||
highlight: '生成式 AI 的力量',
|
||||
subtitle: '訪問為您企業量身定制的強大 AI 助手套件。安全、可擴展、智能。'
|
||||
},
|
||||
agent: {
|
||||
role: 'AI 助手'
|
||||
}
|
||||
},
|
||||
register: {
|
||||
title: '註冊新賬號',
|
||||
username: '用戶名',
|
||||
@@ -880,6 +1043,7 @@ const messages = {
|
||||
cancel: '取消',
|
||||
close: '關閉',
|
||||
edit: '編輯',
|
||||
delete: '刪除',
|
||||
|
||||
// Sidebar & Navigation
|
||||
nav: {
|
||||
@@ -1016,6 +1180,10 @@ const messages = {
|
||||
fields: {
|
||||
name: '名稱',
|
||||
type: '集成類型',
|
||||
types: {
|
||||
api: 'API 集成 (Dify)',
|
||||
iframe: 'Iframe 嵌入'
|
||||
},
|
||||
appId: 'Dify App ID',
|
||||
apiKey: 'API Key',
|
||||
baseUrl: 'API Base URL (選填)',
|
||||
@@ -1109,6 +1277,8 @@ const messages = {
|
||||
title: '數據報表: {table}',
|
||||
subtitle: '原始數據與統計視圖',
|
||||
export: '導出 Excel',
|
||||
enterFullscreen: '進入全屏',
|
||||
exitFullscreen: '退出全屏',
|
||||
noData: '暫無數據: {table}',
|
||||
usage: '使用分析',
|
||||
byUser: '按用戶統計',
|
||||
@@ -1129,6 +1299,17 @@ const messages = {
|
||||
},
|
||||
|
||||
// Common Messages
|
||||
role: {
|
||||
user: '普通用戶',
|
||||
admin: '管理員'
|
||||
},
|
||||
status: {
|
||||
active: '啟用',
|
||||
disabled: '禁用',
|
||||
pending: '待審核',
|
||||
rejected: '已拒絕',
|
||||
approved: '已通過'
|
||||
},
|
||||
msg: {
|
||||
success: '操作成功',
|
||||
failed: '操作失敗',
|
||||
@@ -1136,7 +1317,9 @@ const messages = {
|
||||
requestFailed: '請求失敗',
|
||||
allSaved: '所有更改已保存至後台',
|
||||
batchUpdateFailed: '批量更新失敗',
|
||||
enterOneField: '請至少輸入一個要更新的字段'
|
||||
batchPermissionUpdateFailed: '批量權限更新失敗',
|
||||
enterOneField: '請至少輸入一個要更新的字段',
|
||||
batchDeleteResult: '已刪除 {count} 位用戶。'
|
||||
}
|
||||
},
|
||||
chat: {
|
||||
@@ -1148,8 +1331,15 @@ const messages = {
|
||||
rate: '評價回答',
|
||||
send: '發送',
|
||||
agentId: '應用 ID:',
|
||||
loadingAgent: '正在加載應用...',
|
||||
thinking: '正在生成回答...',
|
||||
disclaimer: 'AI 可能會犯錯,請核實重要信息。',
|
||||
suggestions: {
|
||||
whatCanYouDo: '你能做什麼?',
|
||||
helpWriteReport: '幫我寫一份報告',
|
||||
analyzeData: '分析這份數據',
|
||||
creativeWriting: '創意寫作'
|
||||
},
|
||||
welcome: {
|
||||
title: '今天我能幫您做什麼?',
|
||||
subtitle: '開始新對話或從歷史記錄中選擇。'
|
||||
@@ -1159,6 +1349,21 @@ const messages = {
|
||||
commentPlaceholder: '添加評論(可選)...',
|
||||
sent: '已發送'
|
||||
}
|
||||
},
|
||||
profile: {
|
||||
title: '個人資料',
|
||||
personalInfo: '基本信息',
|
||||
security: '安全設置',
|
||||
preferences: '偏好設置',
|
||||
edit: '編輯',
|
||||
cancel: '取消',
|
||||
saveSuccess: '個人資料保存成功',
|
||||
passwordChanged: '密碼修改成功',
|
||||
passwordMismatch: '兩次輸入的密碼不一致',
|
||||
currentPassword: '當前密碼',
|
||||
newPassword: '新密碼',
|
||||
confirmPassword: '確認密碼',
|
||||
changePassword: '修改密碼'
|
||||
}
|
||||
},
|
||||
'th': {
|
||||
@@ -1167,13 +1372,29 @@ const messages = {
|
||||
username: 'ชื่อผู้ใช้',
|
||||
password: 'รหัสผ่าน',
|
||||
submit: 'เข้าสู่ระบบ',
|
||||
register: 'ไม่มีบัญชี? ลงทะเบียน',
|
||||
registerLink: 'ลงทะเบียน',
|
||||
noAccount: 'ไม่มีบัญชี?',
|
||||
subtitle: 'ยินดีต้อนรับกลับ! กรุณากรอกรายละเอียดของคุณ',
|
||||
placeholder: {
|
||||
username: 'กรอกชื่อผู้ใช้ของคุณ',
|
||||
password: 'รหัสผ่าน'
|
||||
},
|
||||
failed: 'การเข้าสู่ระบบล้มเหลว',
|
||||
inputError: 'กรุณากรอกชื่อผู้ใช้และรหัสผ่าน',
|
||||
usernameRequired: 'กรุณากรอกชื่อผู้ใช้',
|
||||
loginRequired: 'กรุณาเข้าสู่ระบบก่อนเริ่มการสนทนา',
|
||||
requestFailed: 'คำขอเข้าสู่ระบบล้มเหลว'
|
||||
},
|
||||
landing: {
|
||||
hero: {
|
||||
prefix: 'ปลดปล่อยพลังของ',
|
||||
highlight: 'Generative AI',
|
||||
subtitle: 'เข้าถึงชุดผู้ช่วย AI ที่ทรงพลังซึ่งปรับแต่งมาเพื่อความต้องการขององค์กรของคุณ ปลอดภัย ปรับขนาดได้ และชาญฉลาด'
|
||||
},
|
||||
agent: {
|
||||
role: 'ผู้ช่วย AI'
|
||||
}
|
||||
},
|
||||
register: {
|
||||
title: 'ลงทะเบียนบัญชีใหม่',
|
||||
username: 'ชื่อผู้ใช้',
|
||||
@@ -1265,6 +1486,7 @@ const messages = {
|
||||
cancel: 'ยกเลิก',
|
||||
close: 'ปิด',
|
||||
edit: 'แก้ไข',
|
||||
delete: 'ลบ',
|
||||
|
||||
// Sidebar & Navigation
|
||||
nav: {
|
||||
@@ -1401,6 +1623,10 @@ const messages = {
|
||||
fields: {
|
||||
name: 'ชื่อ',
|
||||
type: 'ประเภทการรวม',
|
||||
types: {
|
||||
api: 'การรวม API (Dify)',
|
||||
iframe: 'ฝัง Iframe'
|
||||
},
|
||||
appId: 'Dify App ID',
|
||||
apiKey: 'API Key',
|
||||
baseUrl: 'API Base URL (ไม่บังคับ)',
|
||||
@@ -1494,6 +1720,8 @@ const messages = {
|
||||
title: 'รายงานข้อมูล: {table}',
|
||||
subtitle: 'มุมมองข้อมูลดิบและสถิติ',
|
||||
export: 'ส่งออก Excel',
|
||||
enterFullscreen: 'เต็มหน้าจอ',
|
||||
exitFullscreen: 'ออกจากเต็มหน้าจอ',
|
||||
noData: 'ไม่มีข้อมูลสำหรับ {table}',
|
||||
usage: 'การวิเคราะห์การใช้งาน',
|
||||
byUser: 'ตามผู้ใช้',
|
||||
@@ -1514,6 +1742,17 @@ const messages = {
|
||||
},
|
||||
|
||||
// Common Messages
|
||||
role: {
|
||||
user: 'ผู้ใช้ทั่วไป',
|
||||
admin: 'ผู้ดูแลระบบ'
|
||||
},
|
||||
status: {
|
||||
active: 'ใช้งาน',
|
||||
disabled: 'ปิดใช้งาน',
|
||||
pending: 'รอดำเนินการ',
|
||||
rejected: 'ปฏิเสธ',
|
||||
approved: 'อนุมัติแล้ว'
|
||||
},
|
||||
msg: {
|
||||
success: 'ทำรายการสำเร็จ',
|
||||
failed: 'ทำรายการล้มเหลว',
|
||||
@@ -1521,7 +1760,9 @@ const messages = {
|
||||
requestFailed: 'คำขอล้มเหลว',
|
||||
allSaved: 'การเปลี่ยนแปลงทั้งหมดถูกบันทึกแล้ว',
|
||||
batchUpdateFailed: 'อัปเดตเป็นชุดล้มเหลว',
|
||||
enterOneField: 'กรุณากรอกข้อมูลอย่างน้อยหนึ่งช่องเพื่ออัปเดต'
|
||||
batchPermissionUpdateFailed: 'การอัปเดตสิทธิ์เป็นชุดล้มเหลว',
|
||||
enterOneField: 'กรุณากรอกข้อมูลอย่างน้อยหนึ่งช่องเพื่ออัปเดต',
|
||||
batchDeleteResult: 'ลบผู้ใช้ {count} คนแล้ว'
|
||||
}
|
||||
},
|
||||
chat: {
|
||||
@@ -1533,8 +1774,15 @@ const messages = {
|
||||
rate: 'ให้คะแนนคำตอบนี้',
|
||||
send: 'ส่ง',
|
||||
agentId: 'รหัสตัวแทน:',
|
||||
loadingAgent: 'กำลังโหลดตัวแทน...',
|
||||
thinking: 'กำลังสร้างคำตอบ...',
|
||||
disclaimer: 'AI อาจทำผิดพลาดได้ โปรดตรวจสอบข้อมูลสำคัญ',
|
||||
suggestions: {
|
||||
whatCanYouDo: 'คุณทำอะไรได้บ้าง?',
|
||||
helpWriteReport: 'ช่วยฉันเขียนรายงาน',
|
||||
analyzeData: 'วิเคราะห์ข้อมูลนี้',
|
||||
creativeWriting: 'การเขียนเชิงสร้างสรรค์'
|
||||
},
|
||||
welcome: {
|
||||
title: 'วันนี้ให้ฉันช่วยอะไรดี?',
|
||||
subtitle: 'เริ่มการสนทนาใหม่หรือเลือกจากประวัติ'
|
||||
@@ -1544,6 +1792,21 @@ const messages = {
|
||||
commentPlaceholder: 'เพิ่มความคิดเห็น (ไม่บังคับ)...',
|
||||
sent: 'ส่งแล้ว'
|
||||
}
|
||||
},
|
||||
profile: {
|
||||
title: 'โปรไฟล์',
|
||||
personalInfo: 'ข้อมูลส่วนตัว',
|
||||
security: 'ความปลอดภัย',
|
||||
preferences: 'การตั้งค่า',
|
||||
edit: 'แก้ไข',
|
||||
cancel: 'ยกเลิก',
|
||||
saveSuccess: 'บันทึกโปรไฟล์สำเร็จ',
|
||||
passwordChanged: 'เปลี่ยนรหัสผ่านสำเร็จ',
|
||||
passwordMismatch: 'รหัสผ่านไม่ตรงกัน',
|
||||
currentPassword: 'รหัสผ่านปัจจุบัน',
|
||||
newPassword: 'รหัสผ่านใหม่',
|
||||
confirmPassword: 'ยืนยันรหัสผ่าน',
|
||||
changePassword: 'เปลี่ยนรหัสผ่าน'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user