refactor(frontend): 重构前端第二版

This commit is contained in:
sophie committed 2026-06-11 13:47:06 +08:00
1 parent 2631f78b00
commit 4b562cfa82
205 files changed
+15399 -12015

No files matched your search

+208
View File
@@ -0,0 +1,208 @@
{
"defaultTitle": "Chat",
"assistantLabel": "HXOPS AI Assistant",
"placeholder": "Ask anything...",
"history": "Chat History",
"noHistory": "No history",
"historyEmpty": "This conversation has no saved messages.",
"historyLoadFailed": "Failed to load conversation history.",
"newChat": "New Chat",
"rate": "Rate this response",
"send": "Send",
"agentId": "Agent ID:",
"loadingAgent": "Loading agent...",
"thinking": "Generating response...",
"disclaimer": "AI can make mistakes. Please verify important information.",
"createNewChat": "New Chat",
"shippingNoticeContinue": "Please continue shipping task {taskId}. Call get_task_status first and tell me the next step.",
"shippingNoticeActionsHint": "Choose an action:",
"shippingNoticeMissingTaskId": "Task ID not found. Complete shipping notice parsing first.",
"shippingNoticeUploadDone": "Inventory file uploaded: {fileName}.",
"shippingNoticeUploadOk": "Upload succeeded.",
"shippingNoticeUploadFailed": "Inventory upload failed.",
"shippingNoticePasteHint": "Paste inventory rows in the input box, then send.",
"shippingNoticeDecisionDone": "Action completed.",
"shippingNoticeMapping": {
"inventoryHeaders": "Inventory headers",
"headerRow": "Header row: {row}",
"sample": "Sample",
"orderDetails": "Order details",
"orderRowCount": "Order rows: {count}",
"orderSkuPreview": "SKUs (first {count}): {skus}",
"skuColumnRequired": "SKU column (required)",
"availableQtyColumnRequired": "Available qty column (required)",
"reservationIdColumnOptional": "Reservation ID column (optional)",
"selectHeader": "Select a header",
"reservationIdNotUsed": "(Do not use Reservation ID)",
"reupload": "Re-upload",
"applying": "Applying...",
"applyAndParse": "Apply mapping and parse",
"empty": "(empty)",
"unrecognized": "(unrecognized)"
},
"clearAll": "Clear All",
"clearOneRecord": "Clear This Record",
"agents": "Agents",
"noOtherAgents": "No other agents",
"noAvailableAgents": "No available agents",
"collapseAgents": "Collapse agents",
"expandAgents": "Expand agents",
"generalFeedback": "Feedback",
"language": "Language",
"langZhCn": "Simplified Chinese",
"langEn": "English",
"langZhTw": "Traditional Chinese",
"langTh": "Thai",
"logout": "Logout",
"welcomeTitle": "Hello, I am Hexin AI Digital Human",
"askAnything": "Ask me anything...",
"voiceFeature": "Voice feature",
"voiceListening": "Listening...",
"voiceStop": "Stop voice input",
"voiceNotSupported": "Voice input is not supported in this browser",
"voiceRequiresHttps": "Voice input requires HTTPS or localhost access",
"voicePermissionDenied": "Microphone permission denied. Allow it in browser settings",
"voiceNoSpeech": "No speech detected. Please try again",
"voiceAudioCapture": "Unable to access microphone",
"voiceNetworkError": "Voice recognition network error",
"voiceServiceNotAllowed": "Voice recognition service is not allowed",
"voiceRecognitionFailed": "Voice recognition failed. Please try again",
"voiceTranscribing": "Transcribing...",
"voiceRecordTooShort": "Recording too short or no speech detected",
"voiceTranscriptionFailed": "Speech recognition failed. Please try again",
"collapseBrowser": "Collapse Browser",
"openBrowser": "Open Browser",
"kb": {
"enterprise": "Enterprise Knowledge Base",
"erp": "ERP Knowledge Base"
},
"browser": "Browser",
"closeBrowser": "Close Browser",
"browserInputPlaceholder": "Enter URL, e.g. https://example.com",
"open": "Open",
"refresh": "Refresh",
"openInNewTab": "Open in new tab",
"browserHint1": "Open webpages here while chatting.",
"browserHint2": "Supports https://, localhost, and intranet IP.",
"feedbackSubmitSuccess": "Feedback submitted successfully",
"noData": "No data",
"loading": "Loading...",
"loadMore": "Load more",
"loadAll": "Load all",
"noMoreData": "No more data",
"loginOaSystem": "Login OA System",
"employeeId": "Employee ID",
"enterOaPassword": "Please enter OA password",
"confirmLogin": "Confirm login",
"currentUser": "Current User",
"dayUnit": "day",
"hourUnit": "hour",
"leaveBalanceInsufficient": "**{label} balance is insufficient.**",
"leaveBalanceTableLeaveType": "Leave Type",
"leaveBalanceTableYear": "Year",
"leaveBalanceTableAvailable": "Available",
"leaveBalanceTableUsed": "Used",
"leaveBalanceTableRemaining": "Remaining",
"leaveBalanceContactHr": "If needed, please contact HR to confirm leave data.",
"durationExceedsBalance": "{label} requested duration ({requested}) exceeds remaining balance ({remaining}), cannot submit.",
"leaveConfirmPrompt": "Please confirm the following leave information before submitting to OA.",
"oaLeaveSubmitFailed": "OA leave submission failed, please try again later.",
"leaveSubmitFailedPrefix": "Leave submission failed: {error}",
"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."
},
"feedback": {
"selectRating": "Please select a rating first",
"commentPlaceholder": "Add a comment (optional)...",
"sent": "Sent"
},
"oaPopupBlocked": "Popup blocked. Please allow popups and retry.",
"oaLoggingTitle": "Logging into OA...",
"oaLoggingBody": "Logging into OA, please wait...",
"noEmployeeId": "Cannot login OA without employee ID.",
"oaPasswordRequired": "Please enter OA password.",
"oaRequestMissing": "OA request ID is missing.",
"devComingSoon": "This feature is under development",
"previewUnavailable": "Preview is temporarily unavailable",
"invalidBrowserUrl": "Please enter a valid URL such as https://example.com or localhost:8891",
"enterBrowserUrl": "Please enter a URL first",
"queryLeaveBalance": "Checking your leave balance, please wait...",
"leaveFormIntro": "We generated the leave form for you. Fill and submit below, or ",
"oaLeaveDirectLink": "apply directly in OA",
"oaLeaveDirectHintKey": "or",
"leaveApplicantRequired": "Leave applicant is required.",
"leaveTypeRequired": "Please select leave type.",
"leaveAgentRequired": "Please select agent.",
"startTimeRequired": "Please select a valid start time.",
"endTimeRequired": "Please select a valid end time.",
"durationInvalid": "Duration must be greater than 0 hour.",
"leaveResultSubmitted": "Leave request submitted to OA. Please check:",
"confirmClearHistory": "Clear all chat history? This cannot be undone.",
"confirmDeleteHistoryItem": "Delete this chat history?",
"leaveFiller": "Filler",
"createdAt": "Created At",
"leaveType": "Leave Type",
"selectLeaveType": "Select leave type",
"leaveApplicant": "Applicant",
"selectLeaveApplicant": "Select applicant",
"pickLeaveApplicant": "Pick applicant",
"leaveAgent": "Agent",
"selectLeaveAgent": "Select agent",
"pickLeaveAgent": "Pick agent",
"startTime": "Start Time",
"endTime": "End Time",
"duration": "Duration",
"isOutOfOffice": "Out of office",
"isWorkInjury": "Work injury",
"yes": "Yes",
"no": "No",
"leaveConfirmGenerated": "Confirmation generated. You can edit and submit again.",
"submitting": "Submitting...",
"submit": "Submit",
"leaveFillerInfo": "Filler Info",
"leaveApplicantInfo": "Applicant Info",
"leaveInfo": "Leave Info",
"notSelected": "Not selected",
"leaveFillerTitle": "Filler Title",
"leaveFillerDept": "Filler Department",
"leaveFillerCompany": "Filler Company",
"leaveApplicantTitle": "Applicant Title",
"leaveApplicantDept": "Applicant Department",
"leaveApplicantCompany": "Applicant Company",
"leaveAgentTitle": "Agent Title",
"leaveAgentDept": "Agent Department",
"leaveAgentCompany": "Agent Company",
"backToEdit": "Back to edit",
"confirming": "Confirming...",
"confirmed": "Confirmed",
"confirm": "Confirm",
"oaSubmitResult": "OA submit result",
"oaSubmitFailed": "OA submit failed",
"leaveResultPrefix": "Leave request submitted to OA. View:",
"leaveResultLinkText": "[ View in OA ]",
"requestNo": "Request No",
"submitTime": "Submitted At",
"sourceDocs": "Source Documents",
"attributionParts": "Attribution Parts",
"selectWho": "Select {role}",
"oaDataConnected": "Connected to OA database view query.",
"searchByNameOrEmployeeId": "Search by name or employee ID, press Enter",
"name": "Name",
"employeeIdRequired": "Employee ID is required.",
"actions": {
"copy": "Copy",
"edit": "Edit",
"resend": "Resend",
"regenerate": "Regenerate",
"copySuccess": "Copied",
"copyFailed": "Copy failed. Please allow clipboard access or try again.",
"copyEmpty": "Nothing to copy"
}
}