Merge branch 'dev' into hugo-shipping-notice

# Conflicts:
#	backend/app/services/maintenance_chat_service.py
#	backend/tests/test_maintenance_chat_service.py
#	frontend/src/features/chat/components/ChatViewContent.vue
This commit is contained in:
hugo committed 2026-07-08 16:23:30 +08:00
commit 2ce1aca023
25 files changed
+1609 -304

No files matched your search

+41 -15
View File
@@ -2,8 +2,8 @@
"ledger": {
"notice": "This page manages the equipment ledger.",
"tabs": {
"list": "Equipment List",
"form": "Equipment Config"
"list": "Equipment Ledger",
"form": "Add/Edit"
},
"status": {
"all": "All Statuses",
@@ -79,11 +79,11 @@
},
"panel": {
"recordTitle": "Maintenance Records",
"ledgerTitle": "Ledger Config",
"ledgerTitle": "Equipment Ledger",
"adminOnly": "Admin actions: admins / maintenance admins only",
"resizeTitle": "Drag to resize",
"ledgerSubtitle": "Equipment List / Equipment Config",
"recordSubtitle": "Record List / Record Config",
"ledgerSubtitle": "Equipment ledger management",
"recordSubtitle": "Maintenance record management",
"fullscreen": "Fullscreen",
"exitFullscreen": "Exit fullscreen",
"close": "Close"
@@ -91,11 +91,12 @@
"record": {
"notice": "Maintenance records are for administrators to maintain repair requests, handling, costs, and labor hours. General queries can still be completed in chat.",
"tabs": {
"list": "Record List",
"form": "Record Config"
"list": "Maintenance Records",
"form": "Add/Edit"
},
"status": {
"all": "All Statuses",
"active": "Open",
"pending": "Pending",
"processing": "In Repair",
"done": "Completed",
@@ -119,11 +120,17 @@
"deleting": "Deleting...",
"backToList": "Back to List",
"cancel": "Cancel",
"save": "Save Record",
"saving": "Saving..."
"save": "Save",
"saving": "Saving...",
"viewAllHistory": "View All History"
},
"filters": {
"keywordPlaceholder": "Search equipment code or name"
"keywordPlaceholder": "Search equipment code or name",
"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"
},
"table": {
"deviceCode": "Equipment Code",
@@ -134,7 +141,8 @@
"repairer": "Repairer",
"operation": "Actions",
"loading": "Loading...",
"empty": "No maintenance records"
"empty": "No maintenance records",
"emptyActive": "No open records in the last year"
},
"fields": {
"deviceCode": "Equipment Code",
@@ -160,11 +168,14 @@
},
"deviceSnapshot": {
"loading": "Querying equipment ledger...",
"title": "Ledger Equipment",
"matched": "Matched",
"notFound": "Equipment not found. Check the code or register it in the ledger first.",
"position": "Position",
"department": "Department",
"responsibleUser": "Responsible Person",
"status": "Status",
"empty": "Enter an equipment code to match an equipment ledger snapshot automatically."
"empty": "Enter an equipment code to match ledger information automatically."
},
"importResult": "Import result: {total} rows, {created} created, {failed} failed.",
"importErrorRow": "Row {row}: {message}",
@@ -184,17 +195,32 @@
"saveFailed": "Failed to save maintenance record",
"deleteConfirm": "Delete the maintenance record for {deviceCode}?",
"deleted": "Maintenance record deleted",
"deleteFailed": "Failed to delete maintenance record"
"deleteFailed": "Failed to delete maintenance record",
"deviceNotFound": "The equipment does not exist, so a maintenance record cannot be added."
}
},
"chat": {
"deviceLedgerInfo": "Equipment Ledger Info",
"deviceLedgerInfo": "Equipment Info",
"recordInfo": "Equipment Maintenance Records",
"recordQueryResult": "Maintenance Record Results",
"matched": "Matched",
"recordMatched": "Maintenance records matched",
"recentRecords": "Recent maintenance records ({count})",
"returnedRecords": "{count} records returned",
"latestRepair": "Latest Repair",
"totalCount": "Total Count",
"totalCost": "Total Cost",
"viewRepairHistory": "View Repair History",
"viewRecordDetail": "View Details",
"operation": "Action",
"recordDetailTitle": "Maintenance Record Details",
"recordDetailHint": "The right-side panel shows the selected maintenance record.",
"recordDetailPermissionHint": "Query details are visible to regular users; edit, delete, and supplement actions require management permission.",
"continueFilter": "Continue Filtering",
"adminActionsHidden": "Management actions are only available to admins / maintenance managers.",
"addRepairRecord": "Add Repair Record",
"inputPlaceholder": "Ask me about equipment maintenance, e.g. query ledger info for A022700978"
"manageLedger": "Equipment Ledger",
"logRepair": "Log Repair",
"inputPlaceholder": "Ask me about equipment maintenance, e.g. query equipment info for A022700978"
}
}