feat(i18n): 将前端用户可见中文硬编码改为四语言

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
sophieandCursor committed 2026-07-30 14:39:16 +08:00
1 parent dce915ea30
commit ac7b53a523
105 files changed
+2928 -647

No files matched your search

+55 -3
View File
@@ -15,6 +15,7 @@
"delete": "Delete",
"nav": {
"dashboard": "Dashboard",
"overview": "Overview",
"approvals": "User Approvals",
"users": "User Maintenance",
"departments": "Departments",
@@ -67,6 +68,36 @@
}
},
"platformApps": {
"subtitle": "Manage onboarding guides for apps (video, PDF, and more)",
"selectAgent": "Select app:",
"addGuide": "Add Guide",
"editGuide": "Edit Guide",
"selectAgentFirst": "Please select an app first",
"emptyGuides": "No onboarding guides for this app yet",
"colType": "Type",
"colFileName": "Guide Name",
"colAgent": "Agent App",
"colFileSize": "File Size",
"colSort": "Order",
"colStatus": "Status",
"colActions": "Actions",
"statusEnabled": "Enabled",
"statusDisabled": "Disabled",
"confirmDelete": "Delete this guide? This cannot be undone.",
"uploadFile": "Upload File",
"uploading": "Uploading...",
"uploadReady": "File uploaded and ready",
"uploadFailed": "Upload failed",
"fileName": "Guide Name",
"fileNamePlaceholder": "e.g. HR Assistant User Guide",
"remark": "Remarks",
"remarkPlaceholder": "Brief description...",
"sortOrder": "Sort Weight",
"sortOrderHint": "Smaller numbers appear first",
"status": "Status",
"enable": "Enable",
"disable": "Disable",
"save": "Save",
"guideUsage": "Guide Usage",
"generalGuide": "General Guide",
"trainingVideo": "Employee Training Video",
@@ -211,6 +242,11 @@
"api": "API Integration (Dify)",
"iframe": "Iframe Embed"
},
"difyAppType": "Dify App Type",
"difyAppTypes": {
"chatflow": "Chatflow",
"workflow": "Workflow"
},
"appId": "Dify App ID",
"apiKey": "API Key",
"apiKeyCreatePlaceholder": "Required when creating",
@@ -386,7 +422,19 @@
"uncategorized": "Uncategorized",
"memberCount": "{count} child apps",
"normalListHint": "This app only"
}
},
"suggestedQuestions": {
"title": "Suggested Questions",
"add": "Add Question",
"stylePlain": "Plain",
"styleStyled": "Styled",
"empty": "No suggested questions yet. Click “Add Question” to sync them to this Agent’s Chat welcome page.",
"questionPlaceholder": "Enter a question, e.g. How many leave days do I have left?",
"groupPlaceholderStyled": "Optional group title, e.g. Attendance & Leave",
"groupPlaceholderPlain": "No group needed for plain style"
},
"createSuccess": "App created successfully",
"updateSuccess": "App updated successfully"
},
"question": {
"title": "Common Questions",
@@ -547,7 +595,10 @@
"nav": {
"settings": "Settings",
"bindings": "Bindings",
"audits": "Login Audits"
"audits": "Login Audits",
"settingsPage": "WeCom Settings",
"bindingsPage": "WeCom Bindings",
"auditsPage": "WeCom Audits"
},
"overview": {
"bound": "Bound userids",
@@ -1477,6 +1528,7 @@
"regionPreviewRecognized": "Body region recognized",
"regionPreviewIncomplete": "Anchors are incomplete; reviews will safely fall back",
"regionPreviewFailed": "Region recognition preview failed",
"regionSaved": "Comparison region configuration saved"
"regionSaved": "Comparison region configuration saved",
"defaultTemplateName": "Standard Procurement Contract"
}
}
+313 -2
View File
@@ -463,6 +463,7 @@
"oaRequestMissing": "OA request ID is missing.",
"devComingSoon": "This feature is under development",
"previewUnavailable": "Preview is temporarily unavailable",
"sourcePreviewLinkMissing": "No previewable link is available for this source file yet",
"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...",
@@ -532,7 +533,9 @@
"networkDisconnectedEmpty": "Connection lost before a reply was received. Please try again.",
"partialInterrupted": "The reply was interrupted. The content above may be incomplete—please ask again.",
"upstreamDisconnected": "The AI service connection was interrupted. Please try again.",
"generic": "The request failed. Please try again."
"generic": "The request failed. Please try again.",
"contextTooLong": "This conversation context is too long for the model to continue. Start a new chat and query the asset ID again.",
"workflowFailed": "Workflow execution failed. Please try again later."
},
"actions": {
"copy": "Copy",
@@ -977,7 +980,37 @@
"answer": "true",
"explanation": "Product requirements must cover both regulations and customer requirements."
}
]
],
"stepExamTitle": "Step 3: Exam",
"stepResultTitle": "Step 4: Results",
"scoreShort": "{score} pts",
"passScoreShort": "{passScore} pts",
"currentScoreLabel": "Score:",
"passLineLabel": "Pass line:",
"yourAnswerLabel": "Your answer:",
"correctAnswerLabel": "Correct answer:",
"wrongFeedbackShort": "Incorrect",
"finishAndViewResult": "Finish exam and view results",
"passTitleShort": "Congrats, you passed!",
"failTitleShort": "Sorry, you did not pass",
"wrongCountShort": "Wrong",
"syncedToHr": "Score synced to HR",
"clickPlayVideo": "Click to play video",
"agentDescription": "I am your onboarding training assistant. I will guide you through video learning, knowledge review, exam questions, and results in the same chat.",
"defaultQuestions": {
"employee": [
"What will this employee training cover?",
"What steps are required to complete training?",
"What are the pass rules for employee training?",
"What should I know before starting the exam?"
],
"hr": [
"How many people are in training now?",
"What is the current training pass rate?",
"Which employees have not finished training?",
"I want this month training score statistics"
]
}
},
"procurementContract": {
"modeCompare": "Contract Compare",
@@ -1100,5 +1133,283 @@
"attachmentAdded": "The returned contract adds {count} attachment page(s)",
"attachmentRemoved": "The returned contract removes {count} attachment page(s)",
"attachmentContentIgnored": "Attachment content is excluded from differences"
},
"learningWindow": "Learning Guide",
"guide": {
"collapseToc": "Collapse TOC",
"expandToc": "Expand TOC",
"selectHint": "Select a guide from the left to view"
},
"exitShort": "Exit",
"recommendedQuestion": "Suggested question",
"faqGroup": "FAQ",
"toolRun": {
"fallbackTitle": "Task progress",
"batch": "Batch: {runNo}",
"status": "Status: {status}",
"errorMessage": "Error: {message}",
"waitingStart": "Waiting for the check task to start...",
"currentStep": "Current stage: {step}",
"currentRow": "Current record: {rowId}",
"stepStarted": "Stage started: {time}",
"downloadExcel": "Download Excel",
"downloading": "Downloading...",
"downloadFailed": "Failed to download Excel",
"downloadFailedStatus": "Download failed: {status}",
"progress": "Progress {percent}%",
"startedAt": "Started: {time}",
"finishedAt": "Finished: {time}",
"total": "Total",
"processed": "Processed",
"success": "Succeeded",
"failed": "Failed",
"skipped": "Skipped",
"qualified": "Qualified",
"unqualified": "Unqualified",
"manual": "Manual review",
"kbSyncError": "Knowledge base sync error: {message}",
"waitingHint": "Live progress will appear here once the check starts.",
"statusRunning": "Running",
"statusSuccess": "Completed",
"statusPartialFailed": "Partially failed",
"statusFailed": "Failed",
"statusCancelled": "Cancelled",
"statusWaiting": "Waiting",
"kbSynced": "Knowledge base synced",
"kbSyncFailed": "Knowledge base sync failed",
"kbSyncing": "Syncing knowledge base",
"kbNotSynced": "Knowledge base not synced",
"kbUnknown": "Knowledge base: {status}",
"kbStatusUnknown": "Unknown",
"queryFailed": "Failed to load task progress",
"lockWaiting": "A task is running. Please wait until it finishes.",
"runNotFound": "No related check task found. Refresh later or check schedule run records."
},
"assetColumns": {
"id": "No.",
"assetId": "Asset ID",
"assetName": "Asset name",
"currencyAmount": "Amount (local currency)",
"specification": "Specification",
"accountPeriod": "Ledger",
"custodianPerson": "Custodian",
"custodianPersonFull": "Custodian name",
"custodianDept": "Custodian dept",
"custodianDeptFull": "Custodian department",
"image": "Image",
"storageLocation": "Storage location",
"assetStatus": "Asset status",
"residualValue": "Residual value",
"supplier": "Supplier",
"vendorAlias": "Vendor",
"assetNature": "Asset nature",
"quantity": "Quantity",
"unit": "Unit",
"acquisitionDate": "Acquisition date",
"acquisitionDateAlias": "Acquired on",
"accountingDate": "Posted date",
"createdAt": "Created at",
"updatedAt": "Updated at",
"snapshotTime": "Snapshot time",
"empty": "N/A",
"view": "View"
},
"assetHistory": {
"title": "Asset history",
"currentAsset": "Current asset: {name}",
"searching": "Searching shared-drive history files...",
"empty": "No matching history files found",
"modifiedAt": "Modified: {time}",
"sizeKb": "Size: {size} KB",
"matchReason": "Match: {reason}",
"viewFile": "View history",
"searchingToast": "Searching asset history. Please wait...",
"missingIdentifier": "This asset is missing an ID or name for history search",
"notFound": "No history file found for asset {name}. Contact an admin if one should exist.",
"queryFailed": "History lookup failed: {message}",
"searchFailed": "Failed to search asset history",
"shareNotConfigured": "Asset history folder is not configured. Contact an admin.",
"shareUnreachable": "Asset history share is unreachable. Ask an admin to check mount and permissions.",
"shareInvalid": "Asset history folder config is invalid. Ask an admin to review the share path."
},
"assetImage": {
"searchingToast": "Searching asset images. Please wait...",
"missingIdentifier": "This asset is missing an ID or name for image search",
"notFound": "No image found for asset {name}. Ask an admin to upload one.",
"queryFailed": "Image lookup failed: {message}",
"searchFailed": "Failed to search fixed-asset images",
"libraryNotConfigured": "Fixed-asset image library is not configured. Contact an admin.",
"noPhotoUploaded": "No photo has been uploaded by the device admin yet~"
},
"queryPreview": {
"title": "Full query result preview",
"viewAll": "View full preview",
"viewAllWithTotal": "View full preview ({total} rows)",
"agentNotReady": "The current agent is not ready. Please try again shortly.",
"loadFailed": "Failed to load the full preview",
"summary": "{total} rows · page {page} / {pages}",
"prev": "Previous",
"next": "Next",
"empty": "No preview data"
},
"attachmentsUi": {
"title": "Attachments",
"uploadLocal": "Upload local file",
"pasteUrl": "Paste URL",
"urlPlaceholder": "Paste attachment URL (http/https)",
"add": "Add",
"cancel": "Cancel",
"limitReached": "Attachment limit reached ({limit})",
"unsupportedType": "Unsupported attachment type: {name}",
"typeNotAllowed": "This app does not allow uploading this attachment type: {type}",
"tooLarge": "Attachment too large (max {limit}MB): {name}",
"typeLimitReached": "Limit reached for this attachment type ({limit})",
"httpOnly": "Only http/https URLs are supported",
"urlNotSupported": "This app does not support URL attachments",
"unsupportedUrlType": "Unsupported URL attachment type",
"urlTypeNotAllowed": "This app does not allow this URL attachment type: {type}",
"processFailed": "Failed to process attachment: {message}{suffix}"
},
"leave": {
"types": {
"401": "Maternity leave (days)",
"402": "Paternity leave (days)",
"403": "Marriage leave (days)",
"405": "Hospital sick leave (hours)",
"406": "Work injury leave (days)",
"408": "Parental leave (hours)",
"005": "Personal leave (hours)",
"006": "Sick leave (hours)",
"007": "Bereavement leave (days)",
"010": "Annual leave (days)",
"021": "Business trip (hours)",
"025": "Comp time (hours)",
"ZZ01": "Home leave (hours)",
"ZZ04": "Personal leave (manager hours)",
"ZZ05": "Sick leave (manager hours)",
"ZZ07": "Bereavement leave (manager days)",
"ZZ08": "Maternity leave (manager days)",
"ZZ09": "Paternity leave (manager days)",
"ZZ10": "Marriage leave (manager days)",
"035": "Other leave (hours)"
}
},
"shippingNoticeMenu": {
"upload": {
"label": "Select inventory file",
"message": "I want to upload inventory Excel"
},
"paste": {
"label": "Paste inventory",
"message": "I paste a small inventory table"
},
"retry_rpa": {
"label": "Fetch inventory again",
"message": "Fetch inventory again"
},
"confirm": {
"label": "Confirm",
"message": "Confirm"
},
"reparse": {
"label": "Re-parse",
"message": "Re-parse"
},
"reject": {
"label": "Reject",
"message": "Reject"
}
},
"shippingNoticeTurn": {
"createBatchSingle": "Upload shipping notice: {fileName}",
"createBatchMulti": "Upload {count} shipping notices",
"attachmentFallback": "attachment",
"confirmBatchSingle": "Confirm create: {intakeNo}",
"confirmBatchMulti": "Confirm create: {count} shipping notices",
"uploadInventory": "Upload inventory file: {fileName}",
"replaceNotice": "Re-upload shipping notice: {fileName}",
"applyMapping": "Apply inventory column mapping (task {taskId})",
"withTaskId": "{text}\nTask ID: {taskId}"
},
"shippingNoticeToast": {
"noBatchToSwitch": "No batch available to switch",
"batchOnlyOneTask": "Current batch has only 1 task; no switch needed",
"taskNotFoundToSwitch": "Target task not found",
"alreadyLastTask": "Already on the last task",
"alreadyFirstTask": "Already on the first task",
"alreadyOnCurrentTask": "Already on the current task",
"switchTaskFailed": "Failed to switch task",
"fileProcessFailed": "File processing failed",
"localAttachmentOnly": "Only local attachments can trigger the auto flow",
"oneFileOnlyAutoFirst": "Only one file is supported at a time; processing the first file",
"missingTaskIdUploadInventory": "Task ID not found. Upload an inventory file first",
"missingTaskIdPreviousSteps": "Task ID not found. Complete the previous steps first",
"missingTaskIdParseMatch": "Task ID not found. Complete parsing and inventory matching first",
"downloadExcelFailed": "Failed to download Excel",
"autoCreateTaskFailed": "Failed to auto-create shipping task",
"schemaPreviewMissing": "Header preview not found. Re-upload the inventory file, then click “Edit mapping”",
"mappingFormIntro": "Use the dropdowns to map inventory columns (must pick from headers).",
"selectSkuAndQty": "Select SKU column and available quantity column first",
"applyMappingFailed": "Failed to apply mapping",
"updateParseFailed": "Failed to update parse result",
"addLineFailed": "Failed to add order line",
"deleteLineFailed": "Failed to delete order line",
"auditCommentHeaderEdit": "Chat order table revision",
"auditCommentLineAdd": "Chat order table add line",
"auditCommentLineDelete": "Chat order table delete line",
"manualUploadedDefault": "I have finished uploading in the freight system",
"markManualUploadFailed": "Failed to mark manual upload",
"actionFallback": "Action",
"operationFailed": "Operation failed"
},
"shippingNoticeSanitize": {
"retriggeredInventory": "Inventory fetch retriggered.",
"triggeredInventory": "Inventory fetch triggered.",
"inventoryInProgress": "Inventory fetch in progress.",
"manualRetry": "manual retry",
"backToAlignConfirm": "Back to inventory field confirmation. Check the detected column names, then continue; edit the mapping if needed.",
"checkColumnsContinue": "Check the detected inventory column names, then continue; edit the mapping if needed.",
"confirmHeadersFromSample": "Confirm field mapping from inventory headers and sample rows.",
"uploadInCurrentChat": "upload in the current chat",
"currentChat": "current chat",
"toCurrentChatPrefix": "to the current chat",
"currentSystem": "current system",
"taskIdLabel": "Task ID: ",
"taskIdWord": "Task ID",
"createTask": "create task",
"getTaskStatus": "get task status",
"parseNotice": "parse shipping notice",
"submitDecision": "submit decision",
"matchInventory": "match inventory",
"generateExcel": "generate shipping Excel",
"uploadFreight": "upload to freight system",
"applyInventoryMapping": "apply inventory field mapping",
"getSchemaPreview": "read inventory header preview",
"schemaPreview": "inventory header preview",
"mapJson": "field mapping",
"sampleRows": "sample rows",
"retryRpa": "fetch inventory again",
"retryUpload": "retry freight upload",
"structured": "structured content",
"rawText": "notice text"
},
"shippingNoticeDecisionFormat": {
"headerAtRow": "Headers on row {row}: {headers}",
"currentHeaders": "Current headers: {headers}",
"suggestedMapping": "Suggested column mapping:",
"adjustHint": "To adjust, say which column to change (e.g. available_qty → Qty Available).",
"reuploadHint": "Or click “Select inventory file” to re-upload.",
"nextMatch": "Next: match inventory to shipping demand.",
"reuploadOrPaste": "Please re-upload or paste inventory Excel.",
"taskIdLine": "Task ID: {taskId}"
},
"shippingNoticeFieldAlignment": {
"unrecognized": "(unrecognized)",
"unrecognizedOptional": "(unrecognized / optional)",
"matchRule": "Match rule: {rule}",
"tableTitle": "Field alignment:",
"tableHeaderSystem": "System field",
"tableHeaderInventory": "Inventory column",
"hints": "Notes:"
}
}
+5
View File
@@ -8,6 +8,11 @@
"refresh": "Refresh",
"yes": "Yes",
"no": "No",
"app": {
"title": "Hexin AI Workspace",
"shortTitle": "AI Workspace",
"remoteLogout": "You have signed out in another tab"
},
"sso": {
"authorizing": "Opening the external system",
"authorizingHint": "Completing secure single sign-on. Please wait.",
+2 -1
View File
@@ -21,7 +21,8 @@
},
"msg": {
"fillContent": "Please enter feedback content",
"submitFailed": "Failed to submit feedback"
"submitFailed": "Failed to submit feedback",
"submitSuccess": "Feedback submitted successfully"
},
"cancel": "Cancel",
"submitting": "Submitting...",
+7
View File
@@ -4,6 +4,13 @@
"downloading": "Downloading...",
"tooLarge": "The file is too large for online preview. Please click Download File above to get the original file.",
"previewFailed": "Preview failed: ",
"imageCounter": "{current} / {total}",
"zoomOut": "Zoom out",
"zoomIn": "Zoom in",
"resetZoom": "Reset zoom",
"prevImage": "Previous image",
"nextImage": "Next image",
"unsupportedRawPreview": "This raw file cannot be previewed directly; automatic download was blocked.",
"msg": {
"downloadFailed": "Download failed: {reason}",
"unknownError": "Unknown error"
+14 -3
View File
@@ -1,4 +1,4 @@
{
{
"kbDifySettings": {
"title": "Dify Settings",
"subtitle": "Manage Dify connection and default sync parameters for the knowledge base module.",
@@ -391,8 +391,19 @@
"markdownFailedRetry": "Clean failed, no Markdown yet. Please re-clean.",
"markdownProcessing": "Document is being cleaned, no Markdown yet.",
"markdownPendingClean": "Document pending clean, no Markdown yet.",
"markdownNotGenerated": "No Markdown generated for this document yet."
"markdownNotGenerated": "No Markdown generated for this document yet.",
"createGroupFailed": "Failed to create knowledge base group",
"saveDifySettingsFailed": "Failed to save Dify settings",
"executeJobFailed": "Failed to run job",
"updateDocumentFailed": "Failed to update document",
"apiNotReady": "Knowledge base API is not ready. Please try again later",
"fileTooLarge": "File is too large for the current upload limit. Ask an admin to raise the limit, then retry",
"uploadPathFileFailed": "Failed to upload path file",
"markPathFileFailedStatusFailed": "Failed to record path file failure status",
"submitPathUploadFailed": "Failed to submit path upload job",
"submitCleanFailed": "Failed to submit clean job",
"updateGroupFailed": "Failed to update knowledge base group",
"deleteGroupFailed": "Failed to delete knowledge base group"
}
}
}
+5
View File
@@ -122,16 +122,20 @@
"cancel": "Cancel",
"save": "Save",
"saving": "Saving...",
"clear": "Clear",
"saveAs": "Save as {status}",
"viewAllHistory": "View All History"
},
"filters": {
"keywordPlaceholder": "Search equipment code or name",
"recentKeywordPlaceholder": "Filter by code, fault, or repairer",
"defaultHint": "By default, only open records (pending or in repair) from the last year are shown. Choose All Statuses and All Time to browse full history.",
"timeRangeLabel": "Report Date",
"timeRange3m": "Last 3 Months",
"timeRange1y": "Last Year",
"timeRangeAll": "All Time"
},
"recentTitle": "Recent Maintenance Records",
"table": {
"deviceCode": "Equipment Code",
"deviceName": "Equipment Name",
@@ -192,6 +196,7 @@
"required": "Equipment code, report date, and fault description are required",
"updated": "Maintenance record updated",
"created": "Maintenance record added",
"saved": "Maintenance record saved",
"saveFailed": "Failed to save maintenance record",
"deleteConfirm": "Delete the maintenance record for {deviceCode}?",
"deleted": "Maintenance record deleted",
+8
View File
@@ -58,6 +58,7 @@
"uncategorized": "Knowledge Base Q&A"
},
"noAgents": "No agents available",
"noFavorites": "No favorites yet",
"noPublicAgents": "No public agents available, please contact admin.",
"requestPermission": "Request Access",
"startChat": "Start Conversation",
@@ -102,8 +103,15 @@
"feedback": "Feedback",
"updates": "Recent Updates",
"backToChat": "Back to Chat",
"backShort": "Back",
"logout": "Logout"
},
"kb": {
"accessDenied": "Administrator access is required to open the knowledge base."
},
"routes": {
"history": "Chat History"
},
"history": {
"empty": "No chat history yet",
"untitled": "Untitled Conversation"