You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

473 lines
15 KiB
JavaScript

export default {
// Common
common: {
confirm: 'Confirm',
cancel: 'Cancel',
save: 'Save',
submit: 'Submit',
reset: 'Reset',
query: 'Query',
search: 'Search',
add: 'Add',
edit: 'Edit',
delete: 'Delete',
view: 'View',
close: 'Close',
back: 'Back',
export: 'Export',
download: 'Download',
upload: 'Upload',
more: 'More',
all: 'All',
yes: 'Yes',
no: 'No',
enabled: 'Enabled',
disabled: 'Disabled',
pleaseSelect: 'Please select',
pleaseInput: 'Please input',
success: 'Success',
failed: 'Failed',
operating: 'Action',
remark: 'Remark',
time: 'Time',
today: 'Today',
yesterday: 'Yesterday',
thisWeek: 'This Week',
thisMonth: 'This Month',
thisQuarter: 'This Quarter',
thisYear: 'This Year',
customDate: 'Custom Date',
startDate: 'Start Date',
endDate: 'End Date',
language: 'Language',
},
// Login page
login: {
title: 'Welcome to Log In',
name: '康策智能CSM系统',
headerTitle: 'Kangce Smart CSM System',
userName: 'Please enter your account',
passWord: 'Please enter your password',
code: 'Please enter the verification code',
jizhu: 'Remember me',
denglu: 'Login',
copyright: 'Copyright © Shanghai Kangce Software Co., Ltd.',
hotline: 'Hotline: 021-60713139',
loginSuccess: 'Login Successful',
loginFailed: 'Login Failed',
unknownUserType: 'Unknown user type, cannot log in',
pleaseEnterUserName: 'Please enter your account',
pleaseEnterPassWord: 'Please enter your password',
languageLabel: 'Language:',
},
// Navigation menu
nav: {
workbench: 'Workbench',
submit: 'My Tickets',
points: 'My Points',
quickSubmit: 'Quick Submit',
workorders: 'Service Tickets',
reports: 'Service Reports',
hospitals: 'Hospitals',
customer: 'Customer Service',
managerPoints: 'Manager Points',
account: 'Accounts',
grades: 'Performance',
},
// Page title
title: {
workbench: 'Workbench',
submit: 'My Tickets',
points: 'My Points',
workorders: 'Service Tickets',
reports: 'Service Reports',
hospitals: 'Hospitals',
customer: 'Customer Service',
managerPoints: 'Manager Points',
account: 'Account Management',
grades: 'Performance Management',
changePassword: 'Change Password',
},
// Button text
btn: {
quickSubmit: 'Quick Submit',
view: 'View',
edit: 'Edit',
cancel: 'Cancel',
close: 'Close',
detail: 'Detail',
process: 'Process',
submit: 'Submit Ticket',
save: 'Save Changes',
cancelModal: 'Cancel',
saveChange: 'Save Changes',
query: 'Query',
reset: 'Reset',
export: 'Export',
download: 'Download',
upload: 'Upload',
generate: 'Generate',
add: 'Add',
delete: 'Delete',
addOrder: '+ New Ticket',
addHospital: '+ Add Hospital',
addAccount: '+ Add Account',
quickAddOrder: '+ Quick Submit Ticket',
back: '← Back',
preview: 'View Report',
downloadPdf: 'Download PDF Report',
confirm: 'Confirm',
downloadReport: 'Download Report',
},
// Form labels
label: {
title: 'Issue Title',
description: 'Description',
attachment: 'Attachment',
dept: 'Department',
name: 'Submitter',
priority: 'Priority',
type: 'Service Type',
oldPassword: 'Old Password',
newPassword: 'New Password',
confirmPassword: 'Confirm Password',
hospital: 'Hospital Name',
hospitalName: 'Hospital Name',
contact: 'Contact',
contactPerson: 'Contact Person',
contactDept: 'Contact Department',
contactPosition: 'Position',
contactPhone: 'Phone',
category: 'Customer Category',
signDate: 'Signing Date',
acceptDate: 'Acceptance Date',
years: 'Years',
maintenanceEndDate: 'Maintenance End Date',
manager: 'Account Manager',
acceptanceReport: 'Acceptance Report',
account: 'Account',
accountType: 'Account Type',
password: 'Password',
gender: 'Gender',
role: 'Role',
status: 'Status',
renewal: 'Renewal',
contractSigned: 'Contract Signed',
paymentPaid: 'Payment',
visited: 'Visit Status',
visitResult: 'Visit Result',
createTime: 'Created At',
colorTag: 'Color Tag',
currentPassword: 'Current Password',
},
// Form placeholder
placeholder: {
title: 'Enter issue title',
description: 'Describe the issue in detail...',
dept: 'Enter department',
name: 'Enter submitter name',
type: 'Select service type',
hospital: 'Enter hospital name',
contactPerson: 'Enter contact person',
contactDept: 'Enter contact department',
contactPosition: 'Enter position',
contactPhone: 'Enter phone',
search: 'Please input',
keyword: 'Search title/ticket no.',
account: 'Enter account',
password: 'Enter password',
newPassword: 'Enter new password (at least 6 chars)',
confirmPassword: 'Confirm new password',
currentPassword: 'Enter current password',
remark: 'Enter remark...',
},
// Messages
msg: {
pleaseInputTitle: 'Please enter the issue title',
pleaseInputDescription: 'Please enter the description',
pleaseSelectPriority: 'Please select priority',
pleaseSelectType: 'Please select service type',
pleaseSelectHospital: 'Please select hospital',
pleaseInputDept: 'Please enter department',
pleaseInputName: 'Please enter submitter name',
passwordTooShort: 'New password must be at least 6 characters!',
passwordMismatch: 'Passwords do not match!',
pleaseFillRequired: 'Please fill in required fields!',
submitSuccess: 'Ticket submitted successfully!',
editSuccess: 'Ticket updated successfully!',
cancelSuccess: 'Ticket cancelled successfully!',
closeSuccess: 'Ticket closed successfully!',
passwordChangeSuccess: 'Password changed successfully!',
languageChangeSuccess: 'Language changed successfully!',
themeChangeSuccess: 'Theme changed successfully!',
hospitalAddSuccess: 'Hospital added successfully!',
hospitalEditSuccess: 'Hospital updated successfully!',
accountAddSuccess: 'Account added successfully!',
accountEditSuccess: 'Account updated successfully!',
passwordResetSuccess: 'Password reset successfully!',
reportGenerateSuccess: 'Report generated successfully!',
confirmCancelOrder: 'Are you sure you want to cancel ticket {orderId}? This cannot be undone.',
confirmCloseOrder: 'Are you sure you want to close ticket {orderId}?',
},
// Statistics
stat: {
total: 'Total Submitted',
completed: 'Completed',
pending: 'Pending',
highPriority: 'High Priority',
totalOrders: 'Total',
pendingOrders: 'Pending',
completedOrders: 'Completed',
highPriorityOrders: 'High Priority',
high: 'High Priority',
medium: 'Medium Priority',
low: 'Low Priority',
mediumPriority: 'Medium Priority',
lowPriority: 'Low Priority',
processing: 'Processing',
},
// Table columns
table: {
id: 'Ticket No.',
priority: 'Priority',
title: 'Title',
type: 'Service Type',
status: 'Status',
time: 'Submit Time',
submitter: 'Submitter',
action: 'Action',
hospital: 'Hospital',
handler: 'Handler',
handleTime: 'Handle Time',
handleDesc: 'Handle Description',
registrar: 'Registrar',
dept: 'Department',
category: 'Category',
contact: 'Contact',
phone: 'Phone',
manager: 'Manager',
signDate: 'Sign Date',
usageYears: 'Usage Years',
maintenanceEnd: 'Maintenance End',
acceptanceReport: 'Acceptance Report',
account: 'Account',
name: 'Name',
gender: 'Gender',
role: 'Role',
createTime: 'Created',
hospitalName: 'Hospital Name',
},
// Status
status: {
pending: 'Pending',
processing: 'Processing',
completed: 'Completed',
closed: 'Closed',
active: 'Active',
inactive: 'Inactive',
normal: 'Normal',
warning: 'Warning',
urgent: 'Urgent',
expired: 'Expired',
renewed: 'Renewed',
notRenewed: 'Not Renewed',
paid: 'Paid',
notPaid: 'Unpaid',
},
// Priority
priority: {
high: '🔴 High',
medium: '🟠 Medium',
low: '🟢 Low',
},
// Type
type: {
issue: 'Issue',
consult: 'Consultation',
feature: 'Feature Request',
other: 'Other',
},
// Chart
chart: {
title: 'Ticket Trend',
submit: 'Submitted',
complete: 'Completed',
bar: 'Bar Chart',
line: 'Line Chart',
},
// Date buttons
dateBtn: {
thisMonth: 'This Month',
thisQuarter: 'This Quarter',
thisYear: 'This Year',
customDate: 'Custom Date',
},
// Theme
theme: {
blue: 'Cosmic Blue',
purple: 'Orbital Purple',
green: 'Mountain Green',
title: 'Change Theme',
},
// Language
languageSwitch: {
title: 'Change Language',
zhCN: 'Chinese (Simplified)',
zhTW: 'Chinese (Traditional)',
enUS: 'English',
},
// Modal
modal: {
detail: 'Ticket Detail',
edit: 'Edit Ticket',
submit: 'Quick Submit Ticket',
changePassword: 'Change Password',
changeTheme: 'Change Theme',
changeLanguage: 'Change Language',
addAccount: 'Add Account',
editAccount: 'Edit Account',
resetPassword: 'Reset Password',
addHospital: 'Add Hospital',
editHospital: 'Edit Hospital',
detailHospital: 'Hospital Detail',
generateReport: 'Generate Service Report',
},
// User menu
userMenu: {
changePassword: 'Change Password',
changeTheme: 'Change Theme',
changeLanguage: 'Change Language',
logout: 'Logout',
},
// Customer category
category: {
A: 'Class A (Active)',
B: 'Class B (Inactive)',
C: 'Class C (To Recover)',
AShort: 'Class A',
BShort: 'Class B',
CShort: 'Class C',
},
// Role
role: {
super: 'Super Admin',
manager: 'Account Manager',
},
// Gender
gender: {
male: 'Male',
female: 'Female',
},
// File upload
upload: {
text: 'Click or drag files here to upload',
hint: 'Files up to 50MB supported',
uploaded: 'Uploaded Files',
remove: 'Remove',
rename: 'Rename',
maxSize50M: '(max 50M)',
},
// Points page
points: {
title: '🎁 My Points',
unit: 'pts',
rewards: 'Received 15 service rewards',
detail: 'Points History',
points: 'Points',
pointsTime: 'Time',
pointsSource: 'Source',
pointsOrder: 'Ticket No.',
pointsChange: 'Points Change',
pointsDesc: 'Description',
},
// Report page
report: {
list: 'Service Reports',
generate: 'Generate Report',
view: 'View',
download: 'Download',
remark: 'Remark',
search: 'Search by hospital name',
typeAll: 'All Types',
quarterly: 'Quarterly Report',
annual: 'Annual Report',
period: 'Report Period',
quarter: 'Quarter',
year: 'Annual',
querySuccess: 'Query complete, found {count} report(s).',
},
// Order detail
orderDetail: {
submitTime: 'Submit Time',
statusChange: 'Status Change Log',
operator: 'Operator',
beforeChange: 'Before',
afterChange: 'After',
noAttachment: 'No attachments',
currentStatus: 'Current Status',
dept: 'Department',
name: 'Submitter',
handler: 'Handler',
},
// Change password
password: {
title: 'Change Password',
oldPassword: 'Old Password',
newPassword: 'New Password',
confirmPassword: 'Confirm Password',
submit: 'Submit',
cancel: 'Cancel',
success: 'Password changed',
pleaseInputOld: 'Please enter old password',
pleaseInputNew: 'Please enter new password',
pleaseInputConfirm: 'Please confirm new password',
passwordTooShort: 'Password must be at least 6 characters',
passwordMismatch: 'Passwords do not match',
oldPasswordError: 'Old password is incorrect',
accountNotFound: 'Account does not exist',
},
// Account management
account: {
hospitalAccount: 'Hospital Accounts',
adminAccount: 'Admin Accounts',
list: 'Account List',
addHospital: '+ Add Hospital Account',
addAdmin: '+ Add Admin Account',
enable: 'Enable',
disable: 'Disable',
enableSuccess: 'Account {id} enabled',
disableSuccess: 'Account {id} disabled',
resetPassword: 'Reset Password',
defaultPassword: 'After reset, password will be: 123456',
confirmReset: 'Are you sure you want to reset the password of account {id}?',
resetSuccess: 'Account {id} password has been reset to default: 123456',
pleaseInputName: 'Please enter name!',
},
// Customer service
service: {
title: 'Customer Service',
monthlyView: '📅 Monthly View',
prevMonth: '← Prev Month',
nextMonth: 'Next Month →',
phoneVisit: '📞 Phone Visit',
onSiteInspection: '🔍 On-site Inspection',
training: '📚 Training Records',
gift: '🎁 Gift Records',
expiring: 'Expiring This Month',
searchHospital: 'Search by hospital name',
noRecords: 'No records',
},
// Validation
validation: {
required: 'Required',
},
// Date range
dateRange: {
today: 'Today',
yesterday: 'Yesterday',
thisWeek: 'This Week',
thisMonth: 'This Month',
thisQuarter: 'This Quarter',
},
}