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

+768
View File
@@ -0,0 +1,768 @@
{
"title": "Admin Console",
"subtitle": "System Configuration & Management",
"dashboard": "Dashboard",
"agents": "Agents",
"permissions": "App Permissions",
"requests": "Requests",
"reports": "Reports",
"save": "Save Changes",
"add": "Add",
"update": "Update",
"cancel": "Cancel",
"close": "Close",
"edit": "Edit",
"delete": "Delete",
"nav": {
"dashboard": "Dashboard",
"approvals": "User Approvals",
"users": "User Maintenance",
"departments": "Departments",
"agents": "Agent Management",
"knowledgeBase": "Knowledge Base",
"announcements": "Announcements",
"questions": "Common Questions",
"wecom": "WeCom",
"permissions": "App Permissions",
"requests": "Permission Requests",
"reports": "Data Reports",
"schedules": "Schedule Management"
},
"dash": {
"activeAgents": "Active Agents",
"totalUsers": "Total Users",
"totalConversations": "Total Conversations",
"avgRating": "Average Rating",
"new": "new"
},
"approval": {
"title": "User Approvals",
"subtitle": "Review and approve new user registrations",
"addUser": "Add User",
"noPending": "No pending approvals",
"approve": "Approve",
"reject": "Reject",
"confirmApprove": "Are you sure you want to approve this user?",
"confirmReject": "Are you sure you want to reject this user? This will delete the record.",
"headers": {
"username": "Username",
"nameId": "Name/ID",
"contact": "Contact",
"role": "Role",
"actions": "Actions"
}
},
"user": {
"title": "User Maintenance",
"subtitle": "Manage user information and status",
"manageDepts": "Manage Departments",
"cleanRejected": "Clean Rejected",
"batchDelete": "Batch Delete",
"batchEdit": "Batch Edit",
"batchPermission": "Batch Permission",
"addUser": "Add User",
"filterUsername": "Filter Username",
"filterEmail": "Filter Email",
"filterRole": "Filter Role",
"allDepts": "All Departments",
"hideRejected": "Hide Rejected",
"noUsers": "No users found",
"editUser": "Edit User",
"createUser": "Create New User",
"headers": {
"user": "User",
"role": "Role",
"dept": "Dept",
"status": "Status",
"actions": "Actions"
},
"fields": {
"realName": "Real Name",
"employeeId": "Employee ID",
"phone": "Phone Number",
"allowedAgents": "Allowed Agents",
"username": "Username",
"email": "Email",
"department": "Department",
"role": "Role",
"password": "Password",
"passwordHint": "(leave blank to keep)",
"noAgents": "No agents available."
},
"confirmClean": "Are you sure you want to delete all REJECTED users?",
"confirmBatchDelete": "Are you sure you want to delete {count} users?",
"msgs": {
"realNameRequired": "Real name is required",
"employeeIdRequired": "Employee ID is required",
"phoneRequired": "Phone number is required",
"usernameRequired": "Username is required",
"emailRequired": "Email is required",
"passwordRequired": "Password is required for new users",
"invalidEmail": "Invalid email format",
"created": "User created successfully",
"updated": "User updated successfully",
"deleted": "User deleted successfully",
"batchUpdateSuccess": "Batch update successful",
"batchDeleteSuccess": "Deleted {count} users"
}
},
"dept": {
"title": "Department Management",
"subtitle": "Manage organization structure",
"edit": "Edit Department",
"add": "Add New Department",
"noDepts": "No departments configured.",
"headers": {
"name": "Name",
"code": "Code",
"company": "Company",
"actions": "Actions"
},
"fields": {
"name": "Name",
"namePlaceholder": "e.g. IT Department",
"code": "Code",
"codePlaceholder": "e.g. DEPT-001",
"company": "Company",
"companyPlaceholder": "e.g. HQ",
"description": "Description",
"descriptionPlaceholder": "Department description..."
},
"confirmDelete": "Delete this department?",
"msg": {
"nameRequired": "Name is required"
}
},
"agent": {
"title": "Agent Configuration",
"subtitle": "Manage AI assistants and their integrations",
"new": "New Agent",
"edit": "Edit Agent",
"create": "Create New Agent",
"noAgents": "No agents configured yet",
"headers": {
"name": "Name",
"type": "Type",
"config": "Configuration",
"status": "Status",
"actions": "Actions"
},
"fields": {
"name": "Name",
"namePlaceholder": "e.g. HR Assistant",
"type": "Integration Type",
"types": {
"api": "API Integration (Dify)",
"iframe": "Iframe Embed"
},
"appId": "Dify App ID",
"apiKey": "API Key",
"baseUrl": "API Base URL (Optional)",
"baseUrlPlaceholder": "Default: Dify Config",
"iframeUrl": "Iframe URL",
"description": "Description",
"descPlaceholder": "Briefly describe what this agent does..."
},
"confirmDelete": "Are you sure you want to delete this agent?",
"manageAccess": "Manage Access",
"test": "Test",
"delete": "Delete Agent",
"idLabel": "ID",
"urlLabel": "URL",
"testModalTitle": "Agent Test",
"testModalAgent": "Agent",
"testedAt": "Test Time",
"testing": "Testing...",
"retest": "Retest",
"testingInProgress": "Running test, please wait...",
"requestUrl": "Request URL",
"outputInfo": "Output Information",
"analysis": "Final Analysis",
"testDone": "Test completed.",
"testFailed": "Test failed.",
"testFailedRequestException": "Test failed: request exception occurred.",
"networkError": "Network error"
},
"question": {
"title": "Common Questions",
"subtitle": "Manage global quick questions for all users",
"edit": "Edit Question",
"add": "Add New Question",
"noData": "No common questions configured.",
"headers": {
"title": "Title",
"agent": "Agent",
"order": "Order",
"actions": "Actions"
},
"fields": {
"title": "Title",
"titlePlaceholder": "e.g. Write Report",
"targetAgent": "Target Agent",
"sortOrder": "Sort Order",
"content": "Question Content",
"contentPlaceholder": "Enter the prompt content..."
},
"confirmDelete": "Are you sure?",
"msg": {
"fillAll": "Please fill all fields"
}
},
"announcement": {
"title": "Announcement Management",
"subtitle": "Publish company announcements for all users",
"add": "Publish Announcement",
"publish": "Publish",
"noData": "No announcements yet",
"confirmDelete": "Are you sure to delete this announcement?",
"fields": {
"title": "Title",
"content": "Content"
},
"msg": {
"fillAll": "Please fill all fields"
}
},
"wecom": {
"title": "WeCom Binding Management",
"subtitle": "Manually bind/unbind WeCom accounts and review login audit records",
"systemSettings": "WeCom System Settings",
"integrationCopyTitle": "WeCom Console Copy Helper",
"integrationCopyDesc": "Copy these values directly into WeCom console fields.",
"integrationCopySecretsNote": "Token and EncodingAESKey are empty until you set them above (or in env) and save. They must match the WeCom console; use Generate if you want random values, then paste the same values into WeCom.",
"publicBasePlaceholder": "https://your-public-domain.com",
"generateAddresses": "Generate URLs",
"generateToken": "Generate",
"generateEncodingKey": "Generate",
"copy": "Copy",
"refresh": "Refresh",
"quickBind": "Quick Bind",
"bind": "Bind",
"unbind": "Unbind",
"bindingList": "Binding List",
"boundOnly": "Bound only",
"noData": "No data",
"auditTitle": "Login Audit (latest 200)",
"notifySettings": "Notify Settings",
"notifyEnabled": "Enable WeCom event notifications",
"notifyBaseUrl": "Deep link base URL (e.g. https://ai.company.com)",
"notifyEvents": "Enabled events (comma separated)",
"notifyMetrics": "Delivery Metrics (30 days)",
"metricTotal": "Total",
"metricSuccessRate": "Send success",
"metricOpenedRate": "Opened rate",
"metricWindowDays": "Window(days)",
"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)",
"enabled": "Enable WeCom login",
"autoCreateUser": "Auto create local user",
"corpId": "Corp ID",
"agentId": "Agent ID",
"secret": "App Secret",
"redirectUri": "OAuth Redirect URI",
"matchRules": "Match Rules",
"matchOperator": "Match Operator",
"firstLoginBindMode": "First login bind mode",
"firstLoginInputFields": "First login input fields",
"employeeIdSource": "Employee ID Source",
"mobileNormalize": "Normalize mobile number",
"publicBaseUrl": "Public HTTPS base (extranet)"
},
"bindModes": {
"match_rules": "Match automatically",
"input_verify": "Ask user to verify"
},
"copyFields": {
"publicBaseUrl": "Public base URL",
"callbackUrl": "Callback URL",
"callbackToken": "Token",
"encodingAesKey": "EncodingAESKey",
"oauthRedirectUri": "OAuth Redirect URI",
"homepageUrl": "Application Homepage URL",
"trustedDomain": "Trusted Domain",
"authorizeApi": "Authorize API (GET)",
"loginApi": "Login API (POST)"
},
"tips": {
"enabled": "Master switch for WeCom OAuth login.",
"autoCreateUser": "If no local user matches, automatically create one.",
"corpId": "From WeCom app credentials.",
"agentId": "Self-built app AgentId in WeCom.",
"secret": "App secret used to get access token.",
"redirectUri": "Must match WeCom trusted callback URL.",
"matchRules": "Supported values: employee_id,mobile,email.",
"matchOperator": "AND = all fields required, OR = any field matched.",
"firstLoginBindMode": "match_rules = use WeCom profile to auto-match. input_verify = ask the user to enter one allowed field on first login.",
"firstLoginInputFields": "Allowed fields for first-login verification, comma separated. Supported: employee_id,mobile,email.",
"employeeIdSource": "userid or extattr:<name>.",
"mobileNormalize": "Normalize 86/0086 and symbols before matching.",
"callbackToken": "Used to verify callback signatures.",
"encodingAesKey": "Used for encrypted callback mode.",
"callbackUrl": "WeCom callback receiver URL for messages/events.",
"homepageUrl": "Application homepage opened in WeCom.",
"trustedDomain": "OAuth trusted domain configured in WeCom.",
"publicBaseUrl": "HTTPS origin reachable from the internet (WeCom servers). Used to build callback and OAuth URLs. Priority: this field → notify base URL → current request host."
},
"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"
},
"auditMessages": {
"loginSuccess": "Login succeeded",
"matchAttrMissing": "Missing required match field: {field}",
"matchAmbiguous": "Matched multiple local accounts",
"bindRequired": "No local account can be linked",
"bindInputRequired": "Waiting for the user to verify a local account field",
"bindInputNotFound": "No local account matched the user-entered verification value",
"bindInputAmbiguous": "The user-entered verification value matched multiple local accounts",
"bindConflict": "This WeCom account is already linked to another local account",
"notInScope": "Member is outside the app visibility scope or not in this enterprise",
"invalidState": "Invalid or expired login state",
"missingCode": "Callback is missing code",
"accountDisabled": "Local account is disabled",
"authFailed": "WeCom authorization failed: {detail}",
"userFetchFailed": "Failed to fetch WeCom member profile: {detail}",
"exception": "Exception: {detail}"
},
"auditMeta": {
"rules": "Rules: {rules}",
"result": "Result: {result}",
"errorCode": "Code: {code}"
},
"auditResults": {
"already_bound": "Logged in through an already bound WeCom account",
"matched_and_bound": "Matched and bound the local account by rules",
"auto_created": "Auto-created and bound a new local account",
"input_verified_and_bound": "Verified one field on first login and bound the local account"
},
"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}",
"copySuccess": "Copied",
"copyFailed": "Copy failed",
"publicBaseRequired": "Enter a valid public HTTPS domain or host (e.g. https://ai.company.com)."
}
},
"perm": {
"title": "App Permissions",
"subtitle": "Manage user access to agents via grid",
"batchAssign": "Batch Assign",
"importCsv": "Import CSV",
"exportCsv": "Export CSV",
"filterName": "Filter by Name/Username",
"filterDept": "Filter by Department",
"allRoles": "All Roles",
"headers": {
"user": "User",
"dept": "Dept"
},
"batchModal": {
"title": "Batch Assign Permissions",
"selected": "Selected: {count} users",
"action": "Action",
"add": "Add (Grant Access)",
"remove": "Remove (Revoke Access)",
"set": "Set (Overwrite)",
"selectAgents": "Select Agents",
"apply": "Apply Changes"
},
"agentModal": {
"title": "Manage Access",
"agent": "Agent:",
"save": "Save Changes"
},
"msg": {
"selectAgent": "Please select at least one agent",
"updateSuccess": "Permissions updated successfully"
}
},
"request": {
"title": "Permission Requests",
"subtitle": "Review user requests for agent access",
"noPending": "No pending requests",
"headers": {
"userId": "User ID",
"targetAgent": "Target Agent",
"reason": "Reason",
"status": "Status",
"actions": "Actions"
},
"approve": "Approve",
"reject": "Reject"
},
"report": {
"title": "Data Reports: {table}",
"subtitle": "Raw data view and statistics",
"export": "Export Excel",
"columnSettings": "Column Settings",
"showSelection": "Show Selection",
"hideSelection": "Hide Selection",
"deleting": "Deleting...",
"deleteSelected": "Delete Selected ({count})",
"tableSettings": "Table Settings",
"resetLayout": "Reset Layout",
"wrapText": "Wrap Text",
"wrapMaxHeightPx": "Max Wrap Height (px)",
"advancedSortRules": "Advanced Sort Rules (priority order)",
"addRule": "Add Rule",
"noAdvancedSort": "No advanced sort rules. Header click sorting will be used.",
"sortAsc": "Ascending",
"sortDesc": "Descending",
"moveUp": "Move Up",
"moveDown": "Move Down",
"remove": "Remove",
"filterPlaceholder": "Filter...",
"totalRows": "Total: {total}",
"showingRange": "Showing: {start}-{end} / {total}",
"paginationSummary": "Total {total} rows, page {page} / {pages}",
"perPage": "Per page",
"itemsUnit": "rows",
"prevPage": "Prev",
"nextPage": "Next",
"enterFullscreen": "Enter Fullscreen",
"exitFullscreen": "Exit Fullscreen",
"noData": "No data available for {table}",
"usage": "Usage Analytics",
"byUser": "Requests by User",
"byAgent": "Requests by Agent",
"columns": {
"id": "ID",
"user_id": "User ID",
"username": "Username",
"real_name": "Real Name",
"email": "Email",
"phone_number": "Phone",
"department": "Department",
"employee_id": "Employee ID",
"role": "Role",
"status": "Status",
"is_active": "Is Active",
"language": "Language",
"default_agent_id": "Default Agent ID",
"default_agent": "Default Agent",
"created_at": "Created At",
"updated_at": "Updated At",
"last_login": "Last Login",
"last_login_at": "Last Login At",
"app_id": "App ID",
"dify_app_id": "Dify App ID",
"dify_api_key": "Dify API Key",
"api_base_url": "API Base URL",
"agent_id": "Agent ID",
"agent_name": "Agent Name",
"conversation_id": "Conversation ID",
"attribution_parts": "Attribution Parts",
"session_id": "Session ID",
"message_id": "Message ID",
"question": "Question",
"query": "Query",
"answer": "Answer",
"retriever_resources": "Retriever Resources",
"response": "Response",
"content": "Content",
"description": "Description",
"extra_config": "Extra Config",
"icon_url": "Icon URL",
"feedback": "Feedback",
"rating": "Rating",
"comment": "Comment",
"model": "Model",
"tokens": "Tokens",
"tokens_used": "Tokens Used",
"tokens_prompt": "Prompt Tokens",
"tokens_completion": "Completion Tokens",
"total_tokens": "Total Tokens",
"latency_ms": "Latency (ms)",
"latency": "Latency",
"cost": "Cost",
"ip": "IP",
"user_agent": "User Agent",
"source": "Source",
"type": "Type",
"title": "Title",
"name": "Name",
"code": "Code",
"company": "Company",
"theme_preference": "Theme Preference",
"password_hash": "Password Hash",
"reset_token": "Reset Token",
"reset_token_expiry": "Reset Token Expiry",
"feedback_module": "Feedback Module",
"feedback_type": "Feedback Type",
"source_page": "Source Page"
},
"tables": {
"users": "Users",
"chat_logs": "Chat Logs",
"general_feedbacks": "Feedback",
"feedbacks": "Answer Rating",
"departments": "Departments",
"agents": "Agents",
"permission_requests": "Permission Requests"
},
"feedbackValues": {
"types": {
"feature_suggestion": "Feature Suggestion",
"issue_feedback": "Issue Feedback",
"experience_optimization": "Experience Optimization"
},
"modules": {
"knowledge_base": "Knowledge Base",
"general": "General",
"workflow": "Workflow",
"account_permission": "Account & Permissions"
},
"pages": {
"workspace": "Workspace",
"chat": "Chat",
"unknown": "Unknown"
}
}
},
"batchEdit": {
"title": "Batch Edit Users",
"selected": "Selected: {count} users",
"update": "Update Users",
"fields": {
"dept": "Department",
"role": "Role",
"status": "Status",
"keepUnchanged": "Keep Unchanged"
}
},
"schedule": {
"overviewTitle": "Schedule Management Overview",
"workbenchTitle": "Schedule Management Workbench",
"overviewSubtitle": "Click a schedule card to open the workbench.",
"workbenchSubtitle": "Schedule list on the left, run records on the right.",
"refresh": "Refresh schedules",
"stats": {
"total": "Total schedules",
"enabled": "Enabled",
"disabled": "Disabled",
"running": "Running"
},
"sectionOverview": "Schedule Management Overview",
"switchByCard": "Switch by card",
"addTitle": "Add schedule",
"addHint": "Click the button to fill in schedule fields in a dialog.",
"addButton": "Add schedule",
"emptyList": "No schedules yet. Create one first.",
"loading": "Loading...",
"enabled": "Enabled",
"disabled": "Disabled",
"scheduleNo": "No.",
"config": "Config",
"owner": "Owner",
"lastRun": "Last run",
"nextRun": "Next run",
"noSelection": "No schedule selected",
"selectedHint": "Selected schedule · Last run {time}",
"runBatches": "Run batches",
"totalProcessed": "Total processed",
"totalSuccess": "Total success",
"totalFailed": "Total failed",
"listTitle": "Schedule list",
"recordsTitle": "{name} · Run records",
"recordsSubtitle": "Run record details are shown below.",
"noSelectionHint": "Select a schedule from the list on the left first.",
"filterStart": "Start",
"filterEnd": "End",
"query": "Search",
"reset": "Reset",
"queryingRuns": "Loading records...",
"noRunRecords": "No run records yet.",
"runLogs": "Run logs",
"stepsCount": "{count} steps",
"viewDetail": "View details",
"resizeColumn": "Drag to resize {label} column",
"notified": "Notified",
"notifyError": "Error",
"download": "Download",
"log": "Log",
"actions": {
"edit": "Edit",
"start": "Start",
"pause": "Pause",
"run": "Run",
"test": "Test",
"delete": "Delete"
},
"columns": {
"runNo": "Run ID",
"startedAt": "Started at",
"finishedAt": "Finished at",
"status": "Status",
"totalCount": "Processed",
"successCount": "Success",
"failedCount": "Failed",
"wecomNotified": "WeCom notify",
"detail": "Detail",
"log": "Log"
},
"form": {
"editTitle": "Edit schedule",
"createTitle": "Add schedule",
"name": "Schedule name",
"namePlaceholder": "e.g. RoHS auto review schedule",
"owner": "Schedule owner",
"noUsers": "No users available",
"selectOwner": "Select an owner",
"dataSourceConfig": "Data source & execution config",
"databaseDirect": "Database",
"externalApi": "External API",
"querying": "Querying...",
"testQuery": "Test query",
"expandConfig": "Expand config",
"collapseConfig": "Collapse config",
"dataSourceSection": "Data source config",
"waitSeconds": "Wait time (seconds)",
"noAgents": "No agents available",
"agentDisabled": "Disabled",
"cronTitle": "Cron visual editor",
"cronHint": "Cron expression is generated automatically from the frequency you choose.",
"everyMinutes": "Every N minutes",
"hourly": "Hourly",
"daily": "Daily",
"weekly": "Weekly",
"minuteInterval": "Minute interval",
"minuteOfHour": "Minute of hour",
"hour": "Hour",
"minute": "Minute",
"weekday": "Weekday",
"cronPreview": "Cron preview",
"nextRun": "Next run",
"notifyEnabled": "Enable notifications",
"selectNotifyUsers": "Select notification recipients...",
"kbSyncEnabled": "Sync result Excel to knowledge base",
"kbSyncHint": "After successful or partially successful runs, the generated Excel will be added to the selected knowledge base group.",
"kbGroup": "Knowledge base group",
"selectKbGroup": "Select knowledge base group...",
"noKbGroups": "No knowledge base groups available",
"enableOnCreate": "Enable after creation",
"cancel": "Cancel",
"saving": "Saving...",
"saveChanges": "Save changes",
"createSchedule": "Create schedule"
},
"testRun": {
"title": "Test run — {name}",
"subtitle": "Edit WHERE clause, limit rows, run quickly and inspect each step",
"close": "Close",
"running": "Running...",
"start": "Start test run",
"waitingHint": "Dify calls may take a while, please wait...",
"total": "Total",
"success": "Success",
"failed": "Failed",
"skipped": "Skipped",
"limitSummary": "Limit {limit} rows | Dify Agent ID: {agentId}",
"noAgent": "None",
"stepLogs": "Step logs",
"viewSql": "View execution SQL",
"errors": "Errors ({count})",
"queryResult": "Query result",
"resultSummary": "{total} total, showing {showing}",
"viewGeneratedSql": "View generated SQL",
"writeToKb": "Write to knowledge base",
"writeToKbHint": "After a successful or partially successful test run, sync the Excel result to the schedule knowledge base group.",
"noKbGroupHint": "Enable knowledge base sync and select a group in schedule settings first.",
"kbSyncNoStatus": "Knowledge base sync was requested but no status was returned. Check backend logs or schedule KB settings."
},
"status": {
"all": "All",
"success": "Success",
"partialFailed": "Partial Success",
"failed": "Failed",
"running": "Running",
"queued": "Queued"
},
"weekday": {
"mon": "Mon",
"tue": "Tue",
"wed": "Wed",
"thu": "Thu",
"fri": "Fri",
"sat": "Sat",
"sun": "Sun"
},
"step": {
"fetchSrm": "Fetch external system data",
"callDify": "Call Dify service",
"writebackSrm": "Write back to external system data",
"callInternalApi": "Call internal API",
"preDify": "Dify pre-processing"
},
"kbSync": {
"title": "Knowledge base sync",
"status": "Status",
"document": "Document ID"
},
"deleteDialogTitle": "Delete Schedule",
"deleteConfirmMessage": "Confirm deleting schedule \"{name}\"?",
"msg": {
"testRunFailed": "Test run failed",
"testQueryFailed": "Test query failed",
"configRequired": "At least one of Dify Agent, SQL config, or external API is required.",
"headerLabelsJsonInvalid": "header_labels JSON format is invalid.",
"apiHeadersJsonInvalid": "API Headers JSON format is invalid.",
"runNowFailed": "Manual run failed",
"downloadExcelFailed": "Failed to download Excel",
"deleteFailed": "Delete schedule failed"
}
},
"role": {
"user": "User",
"admin": "Admin",
"guest": "Guest"
},
"status": {
"active": "Active",
"disabled": "Disabled",
"pending": "Pending",
"rejected": "Rejected",
"approved": "Approved"
},
"msg": {
"success": "Operation successful",
"failed": "Operation failed",
"saved": "Saved successfully",
"requestFailed": "Request failed",
"allSaved": "All changes are already saved to backend.",
"batchUpdateFailed": "Batch update failed",
"batchPermissionUpdateFailed": "Batch permission update failed",
"enterOneField": "Please enter at least one field to update",
"batchDeleteResult": "Deleted {count} users."
}
}
+162
View File
@@ -0,0 +1,162 @@
{
"title": "Enterprise AI Gateway",
"login": {
"username": "Username",
"password": "Password",
"submit": "Login",
"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",
"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",
"announcements": "Announcements",
"passwordResetEmailSent": "如果账号存在,重置链接已发送到您的邮箱。",
"passwordResetRequestFailed": "请求密码重置失败",
"casdoorLogin": "Login with Casdoor",
"casdoorErrors": {
"invalidCredentials": "Incorrect username or password",
"codeExpired": "Login session expired, please sign in again",
"stateExpired": "Login session expired, please try again",
"accessDenied": "Login was cancelled or denied",
"configError": "Authentication service is unavailable. Please contact the administrator.",
"authFailed": "Authentication failed, please try again",
"passwordPolicy": "New password does not meet security requirements",
"setPasswordFailed": "Failed to change password. Please try again or contact the administrator.",
"incorrectCurrentPassword": "Current password is incorrect",
"userNotInIdp": "Your account has not been registered in the authentication system. Please contact the administrator to sync your account before changing your password."
},
"casdoorDialogTitles": {
"userNotFound": "No local account matched",
"userNotInIdp": "Account not registered in authentication system",
"accountDisabled": "Account is disabled",
"sessionExpired": "Login session expired",
"configError": "Authentication service error",
"accessDenied": "Login was not completed",
"loginFailed": "Login failed"
},
"casdoorDialogDetails": {
"contactAdmin": "If the problem persists, please contact the administrator.",
"retryLogin": "Please close this dialog and sign in again."
},
"wecomLogin": "Login with WeCom",
"wecomConnecting": "Connecting to WeCom...",
"wecomStartFailed": "Failed to start WeCom login",
"wecomInvalidState": "Invalid WeCom login state",
"wecomStateExpired": "WeCom login session expired, please try again.",
"wecomBindRequired": "Current WeCom account is not bound to a local user, please contact admin.",
"wecomAccountDisabled": "Account is disabled, please contact admin.",
"wecomLoginFailed": "WeCom login failed",
"wecomMatchAmbiguous": "Multiple local users matched this WeCom account. Please contact admin.",
"wecomMatchAttrMissing": "Required account attributes are missing in WeCom. Please contact admin.",
"wecomRetry": "Retry WeCom Login",
"wecomTechnicalInfo": "Technical info: {detail}",
"wecomBindPromptTitle": "Verify and bind your local account",
"wecomBindPromptDesc": "This is your first WeCom login for {name}. Enter one allowed field below to bind your local account.",
"wecomBindField": "Verification field",
"wecomBindValue": "Verification value",
"wecomBindValuePlaceholder": "Enter your {field}",
"wecomBindPromptHint": "The value must exactly match an existing local account. After success, this WeCom account will be bound automatically.",
"wecomBindSubmit": "Verify and sign in",
"wecomBindInputNotFound": "No local account matched the value you entered.",
"wecomBindInputAmbiguous": "The value you entered matched multiple local accounts. Please contact the administrator.",
"wecomBindSessionExpired": "This WeCom binding session expired. Please restart WeCom login.",
"wecomBindConflict": "This WeCom account is already bound to another local account.",
"wecomBindFieldNotAllowed": "The selected verification field is not allowed.",
"wecomBindValueRequired": "Please enter a verification value.",
"wecomFieldLabels": {
"employee_id": "employee ID",
"mobile": "mobile number",
"email": "email",
"match_rules": "match rules"
},
"wecomRuleJoin": {
"and": "and",
"or": "or"
},
"wecomFieldGuides": {
"employee_id": "Ask the administrator to verify the employee ID source configuration and make sure this member can return an employee ID.",
"mobile": "Ask the administrator to fill in the mobile number in the WeCom directory, or adjust the matching rules to stop requiring mobile.",
"email": "Ask the administrator to maintain the email field in the WeCom directory, or adjust the matching rules.",
"default": "Ask the administrator to verify the WeCom directory fields and the current matching rules."
},
"wecomDialogTitles": {
"matchAttrMissing": "WeCom profile is incomplete",
"matchAmbiguous": "Multiple local accounts matched",
"bindRequired": "No local account can be linked",
"bindInputRequired": "Verification is required before binding",
"bindConflict": "This WeCom account is already linked elsewhere",
"notInScope": "This member is not authorized for the app",
"stateExpired": "WeCom login expired",
"accountDisabled": "Local account is disabled",
"loginFailed": "WeCom login failed"
},
"wecomDialogSummaries": {
"matchAttrMissing": "WeCom did not return \"{field}\", so the system cannot match your local account automatically.",
"matchAmbiguous": "This WeCom account matched multiple local accounts, so the system cannot decide which one to sign in.",
"matchAmbiguousWithCount": "This WeCom account matched {count} local accounts, so the system cannot decide which one to sign in.",
"bindRequired": "WeCom authentication succeeded, but no local account matched the current rules.",
"bindInputRequired": "WeCom authentication succeeded. Please verify one local account field to complete the first binding.",
"bindConflict": "This WeCom account is already bound to another local account.",
"notInScope": "This member is outside the app visibility scope, or is not a member of this enterprise."
},
"wecomDialogDetails": {
"currentRules": "Current matching rules: {rules}",
"bindFallback": "If you already have a local account, ask the administrator to bind this WeCom account manually.",
"ambiguousAction": "Ask the administrator to clean duplicated employee ID/mobile/email data, or tighten the matching rules.",
"bindRequiredAction": "Ask the administrator to create or bind the local account first, or enable auto-create users.",
"bindInputRequiredAction": "Enter your employee ID, mobile number, or email on the next step to bind this WeCom account to your existing local account.",
"bindConflictAction": "Ask the administrator to unbind the old account before binding this WeCom account again.",
"notInScopeAction": "Ask the administrator to add this member or the member’s department into the WeCom app visibility scope.",
"retryLogin": "Start a new WeCom login and try again.",
"contactAdmin": "Please contact the administrator for assistance."
}
},
"landing": {
"hero": {
"prefix": "Hexin Precision",
"highlight": "AI Agent Application Platform",
"subtitle": "In the world of AI, we hope you enjoy your work and live happily."
},
"agent": {
"role": "AI Assistant"
}
},
"register": {
"title": "Register New Account",
"username": "Username",
"password": "Password",
"email": "Email",
"cancel": "Cancel",
"submit": "Register",
"success": "Registration submitted, please wait for approval",
"failed": "Registration failed",
"inputError": "Please enter username and password",
"requestFailed": "Request failed",
"emailRequired": "Email is required",
"fields": {
"realName": "Real Name",
"employeeId": "Employee ID",
"phone": "Phone Number"
}
}
}
+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"
}
}
+23
View File
@@ -0,0 +1,23 @@
{
"generic": "Request failed.",
"codes": {
"AUTH_UNAUTHORIZED": "Please log in first.",
"AUTH_INCORRECT_PASSWORD": "Incorrect password",
"AUTH_INCORRECT_CURRENT_PASSWORD": "Incorrect current password",
"AUTH_USER_NOT_FOUND": "User not found",
"AUTH_ACCOUNT_DISABLED": "Account is disabled",
"AUTH_FORBIDDEN": "You do not have permission to perform this action.",
"RESOURCE_NOT_FOUND": "The requested resource was not found.",
"RESOURCE_CONFLICT": "Request conflict. Please refresh and try again.",
"VALIDATION_INVALID_PARAM": "Invalid request parameters.",
"USER_USERNAME_REQUIRED": "Username is required.",
"USER_USERNAME_EXISTS": "Username already exists.",
"USER_EMAIL_INVALID": "Invalid email format.",
"USER_EMAIL_EXISTS": "Email already exists.",
"USER_EMPLOYEE_ID_EXISTS": "Employee ID already exists.",
"USER_PHONE_EXISTS": "Phone number already exists.",
"USER_UNIQUENESS_CONFLICT": "Data uniqueness conflict.",
"SYSTEM_INTERNAL_ERROR": "Internal server error. Please try again later.",
"SYSTEM_HTTP_ERROR": "Request failed."
}
}
+196
View File
@@ -0,0 +1,196 @@
{
"title": "AI Workspace",
"brandTitle": "Hexin AI Workspace",
"languageLabel": "Language",
"userTitle": "{username}'s AI Workspace",
"subtitle": "Choose an agent or click a quick question to start",
"search": "Search agents...",
"unknownAgent": "Unknown Agent",
"quickQuestions": {
"title": "Quick Questions",
"tip": "You can also add quick questions on each agent card",
"noData": "No quick questions yet, add them on agent cards below.",
"addTitle": "Enter title for quick question (e.g. Daily Report):",
"addQuestion": "Enter the full question to send to AI:",
"confirmDelete": "Are you sure to delete this quick question?",
"add": "Add Quick Question",
"edit": "Edit Quick Question",
"addNew": "Add New Quick Question",
"deleteDialog": {
"title": "Are you sure you want to delete?",
"message": "When clicked the OK button, this dialog will be closed after 1 second"
},
"fields": {
"title": "Title",
"titlePlaceholder": "e.g. Daily Report",
"targetAgent": "Target Agent",
"selectAgent": "Select an agent",
"content": "Question Content",
"contentPlaceholder": "Enter the full question or prompt..."
},
"msg": {
"fillAll": "Please fill all fields",
"saveFailed": "Failed to save quick question"
},
"noDefined": "No quick questions defined."
},
"embedded": {
"title": "Embedded Agents",
"noData": "No embedded agents configured.",
"noUrl": "No iframe URL configured"
},
"announcements": {
"title": "Company Announcements",
"noData": "No announcements yet."
},
"favorites": "Favorites",
"myAgents": "My Agents",
"availableAgents": "Available Agents",
"noAgents": "No agents available",
"noPublicAgents": "No public agents available, please contact admin.",
"requestPermission": "Request Access",
"startChat": "Start Conversation",
"startChatShort": "Start Chat",
"logout": "Logout",
"save": "Save",
"cancel": "Cancel",
"report": {
"title": "My Report",
"noData": "No data available",
"totalCalls": "Total Calls",
"recentCalls": "Recent 7 Days",
"lastCallTime": "Last Call Time",
"lastAgent": "Last Agent",
"lastQuestion": "Last Question",
"lastAnswer": "Last Answer",
"lastScore": "Last Score",
"lastComment": "Last Comment"
},
"permission": {
"denied": "You do not have permission, please request access.",
"reason": "Reason for request",
"submit": "Submit Request"
},
"wecomEntryNotice": "Opened from WeCom message. Related context is ready.",
"lang": {
"zhCN": "Simplified Chinese",
"zhTW": "Traditional Chinese"
},
"mobileTabs": {
"me": "Me",
"history": "History",
"applications": "Applications"
},
"nav": {
"profile": "Profile",
"admin": "Admin Console",
"applications": "Applications",
"knowledgeBase": "Knowledge Base",
"scheduleRuns": "Schedule Runs",
"shippingNotice": "Shipping Notice",
"feedback": "Feedback",
"updates": "Recent Updates",
"backToChat": "Back to Chat",
"logout": "Logout"
},
"history": {
"empty": "No chat history yet",
"untitled": "Untitled Conversation"
},
"schedule": {
"title": "Schedule Runs",
"refresh": "Refresh",
"search": "Search",
"reset": "Reset",
"loading": "Loading...",
"empty": "No schedule runs",
"download": "Download",
"noPendingData": "No pending data",
"filters": {
"name": "Schedule Name",
"namePlaceholder": "Enter schedule name",
"start": "Start Time",
"end": "End Time",
"status": "Status"
},
"columns": {
"name": "Schedule Name",
"runNo": "Run No.",
"triggerType": "Trigger",
"start": "Start Time",
"end": "End Time",
"duration": "Duration",
"status": "Status",
"total": "Total",
"success": "Success",
"failed": "Failed",
"detail": "Detail"
},
"trigger": {
"manual": "Manual",
"test": "Test",
"timed": "Scheduled"
},
"status": {
"all": "All",
"success": "Success",
"partialFailed": "Partial Success",
"failed": "Failed",
"running": "Running",
"queued": "Queued"
},
"msg": {
"downloadExcelFailed": "Failed to download Excel"
}
},
"shippingNotice": {
"title": "Shipping Notice Tasks",
"subtitle": "Read-only view. Continue processing in Chat.",
"refresh": "Refresh",
"search": "Search",
"loading": "Loading...",
"empty": "No shipping tasks yet",
"selectCase": "Select a task to view details",
"loadFailed": "Failed to load task",
"openChat": "Continue in Chat",
"download": "Download Excel",
"lines": "Shipment lines",
"qty": "Qty",
"columns": {
"sku": "SKU"
},
"events": "Event log",
"filters": {
"status": "Status"
},
"fields": {
"status": "Process status",
"match": "Match status",
"shipTo": "Ship to",
"freightRef": "Freight ref no."
},
"status": {
"all": "All",
"created": "Created",
"waitingInventory": "Waiting inventory",
"inventoryReady": "Inventory ready",
"matched": "Matched",
"waitingUpload": "Waiting upload",
"uploaded": "Uploaded",
"uploadFailed": "Upload failed"
}
},
"profile": {
"msg": {
"loadFailed": "Failed to load profile",
"saveFailed": "Failed to save profile",
"saved": "Profile saved",
"changePasswordFailed": "Failed to change password"
}
},
"msg": {
"casdoorNotMatchedContactAdmin": "Casdoor login succeeded, but no local account matched. Please contact the administrator.",
"casdoorNotMatchedNeedLocalUser": "Casdoor login succeeded, but no local account matched. Ask the administrator to create a local user with the same username or email.",
"localAccountDisabled": "This local account is disabled. Please contact the administrator."
}
}