feat: 拆分上链与出库管理界面

This commit is contained in:
Nixevol
2026-07-16 11:50:24 +08:00
parent ebc2603815
commit fee1efc490
22 changed files with 2844 additions and 250 deletions
+117 -15
View File
@@ -55,11 +55,15 @@
"UNBOUND": "Unbound",
"INACTIVE": "Inactive",
"PENDING": "Pending",
"SUBMITTING": "Submitting",
"CONFIRMING": "Confirming",
"PROCESSING": "Processing",
"SUCCESS": "Success",
"PARTIAL": "Partial",
"FAILED": "Failed",
"UNKNOWN": "Unknown",
"SKIPPED": "Skipped",
"CANCELLED": "Cancelled",
"ONCHAIN": "On-chain",
"GENERATING": "Generating",
"DONE": "Done"
@@ -165,7 +169,8 @@
"templates": "Templates",
"artworks": "Artwork Files",
"traceCodes": "Trace Code Management",
"outbound": "Outbound & Chain",
"onchain": "On-chain Management",
"outbound": "Outbound Management",
"audit": "Content Audit",
"queryLogs": "Query Logs",
"operationLogs": "Operation Logs",
@@ -324,6 +329,7 @@
"nodes": "Timeline",
"certificates": "Certificates",
"saveDraft": "Save Draft",
"saveChanges": "Save Changes",
"submitReview": "Submit for Audit",
"submittedReview": "Submitted for audit. Changes take effect only after approval.",
"noChangeTip": "No artwork content changes to submit.",
@@ -425,8 +431,6 @@
"reconfirmOnchain": "Reconfirm",
"confirmSubmitted": "Reconfirm task submitted",
"tableFilter": "Filter",
"registerOutbound": "Outbound & On-chain",
"triggerOnchainOnly": "On-chain",
"onchainInfo": "On-chain Info",
"enableOne": "Enable",
"disableOne": "Disable",
@@ -434,15 +438,22 @@
"assignGroup": "Assign group"
},
"outbound": {
"recordsTab": "Outbound Records",
"zipTab": "ZIP Batch Import",
"batchImportTitle": "Outbound Batch Import",
"import": "Batch Import",
"outTime": "Outbound Time",
"outImage": "Outbound Photo",
"onchainSection": "On-chain Info",
"txHashTip": "Written automatically from the blockchain API response",
"moreOnchainInfo": "More On-chain Info",
"saveRecord": "Save Record",
"saveAndTriggerOnchain": "Save & Trigger On-chain",
"registerRecord": "Register Outbound",
"editRecord": "Edit Outbound Record",
"addImage": "Add Outbound Photo",
"imageCount": "{n} photo(s)",
"moveImageUp": "Move earlier",
"moveImageDown": "Move later",
"imageFormatTip": "Only JPG, JPEG, PNG, and WebP images are supported",
"imageSizeTip": "Each image must not exceed 100MB",
"deleteImageConfirm": "Delete this outbound photo?",
"selectFile": "Select File",
"importing": "Importing…",
"importResult": "Import Result",
@@ -495,7 +506,6 @@
"previewExpired": "The import preview expired or its status changed",
"duplicateTraceCode": "This trace code is duplicated in the import (first used on row {row})",
"batchNoMismatch": "Batch number does not match; the actual value is {value}",
"tooManyImages": "Each row can contain at most {count} outbound images",
"duplicateZipImage": "The ZIP contains a duplicate image path: {path}",
"imageTooLarge": "Image exceeds the 100MB limit: {path}",
"tooManyRows": "The import exceeds the {count}-row limit",
@@ -505,9 +515,9 @@
"missingHeaders": "The xlsx file is missing required headers: {value}",
"unsafeImagePath": "Image path is unsafe: {path}",
"imageOutsideDirectory": "Image must be inside the images directory: {path}",
"imageCodeDirectory": "Image must be stored under images/<12-digit trace code>/: {path}",
"orphanImageDirectory": "The image directory's trace code is not present in the xlsx file: {code}",
"unsupportedImage": "Unsupported image format: {path}",
"duplicateImage": "The same image is referenced more than once in this row: {path}",
"imageMissing": "Image not found: {path}",
"imageFormat": "Image content does not match its file extension: {path}",
"imagePixels": "Image dimensions exceed the allowed limit: {path}",
"animatedImage": "Multi-frame images are not supported: {path}",
@@ -519,8 +529,8 @@
"zipInvalidSize": "The ZIP contains an invalid file size",
"xlsxInvalidSize": "The xlsx file contains an invalid file size",
"zipEntryLimit": "The ZIP contains more than {count} entries",
"tempDiskSpace": "Insufficient temporary disk space for outbound import; at least {mb}MB is required",
"xlsxEntryLimit": "The xlsx file contains more than {count} entries",
"imageReferenceLimit": "The import contains more than {count} image references",
"incompleteRows": "Import row states are incomplete: {success} succeeded, {fail} failed, {remaining} pending, {total} total",
"previewSessionMissing": "The import preview session no longer exists",
"previewJobMismatch": "The preview task does not match this import session",
@@ -542,21 +552,105 @@
"FAILED": "Failed",
"EXPIRED": "Expired"
},
"onchainAutoTip": "On-chain hash, attestation link, and on-chain time are written automatically from the configured blockchain API response.",
"outTimeRequired": "Outbound time is required"
},
"operations": {
"filterArtwork": "Filter artwork",
"traceStatus": "Trace Code Status",
"activationFilter": "Activation",
"activated": "Activated",
"notActivated": "Not Activated",
"matchCodes": "Match Trace Codes",
"matchPlaceholder": "Enter one 12-digit trace code per line",
"startMatch": "Match",
"matchedCount": "{n} matched",
"missingCount": "{n} missing",
"duplicateCount": "{n} duplicate",
"invalidCodeCount": "{n} invalid",
"matchLimit": "Up to {n} trace codes can be matched at once",
"addSelected": "Add Selected ({n})",
"available": "Available",
"unavailable": "Unavailable",
"onchainUnavailable": "On-chain Unavailable",
"selectAllFiltered": "Select All Filtered",
"selectEligibleFilterTip": "Select all is available only for eligible status filters",
"replaceFilterSelectionTitle": "Replace Filter Selection",
"replaceFilterSelectionConfirm": "Matching trace codes will clear the current select-all-filtered selection. Continue?",
"clearSelection": "Clear Selection",
"filterSelectionSummary": "Selected all {n} eligible filtered records; {excluded} excluded",
"idSelectionSummary": "{n} selected across pages",
"batchOnchain": "On-chain ({n})",
"batchOutbound": "Batch Outbound",
"batchOutboundWithCount": "Outbound ({n})",
"batchOnchainTitle": "Batch On-chain",
"batchOnchainConfirm": "Submit {n} trace codes for on-chain processing?",
"singleOnchainConfirm": "Submit trace code {code} for on-chain processing?",
"confirmBatch": "Confirm ({n})",
"jobSubmitted": "Task submitted",
"recentJob": "The latest batch task is available",
"viewProgress": "View Progress",
"onchainProgress": "Batch On-chain Progress",
"outboundProgress": "Batch Outbound Progress",
"total": "Total",
"success": "Success",
"failed": "Failed",
"skipped": "Skipped",
"allResults": "All Results",
"processedAt": "Processed At",
"resultReason": "Result",
"proofStatus": {
"ELIGIBLE": "Eligible",
"NONE": "Not On-chain",
"PENDING": "Queued",
"SUBMITTING": "Submitting",
"CONFIRMING": "Confirming",
"ONCHAIN": "On-chain",
"FAILED": "Failed",
"UNKNOWN": "Unknown"
},
"itemStatus": {
"PENDING": "Pending",
"PROCESSING": "Processing",
"SUCCESS": "Success",
"FAILED": "Failed",
"SKIPPED": "Skipped",
"UNKNOWN": "Unknown"
},
"jobStatus": {
"PENDING": "Pending",
"PROCESSING": "Processing",
"SUCCESS": "Completed",
"PARTIAL": "Partially Completed",
"FAILED": "Failed",
"CANCELLED": "Cancelled"
},
"reason": {
"alreadyOutbound": "This trace code is already outbound",
"traceCodeUnavailable": "Disabled or abnormal trace codes cannot be submitted on-chain",
"artworkUnavailable": "The artwork is inactive or has not been approved",
"missingPrimaryImage": "The artwork does not have a valid primary image",
"alreadyOnchain": "This trace code is already on-chain",
"onchainProcessing": "This trace code is being processed on-chain"
}
},
"blockchain": {
"title": "Blockchain Attestation",
"status": "On-chain Status",
"dataHash": "Data Hash",
"txHash": "Tx Hash",
"chainName": "Chain",
"blockHeight": "Block Height",
"tokenId": "Token ID",
"contract": "Contract Address",
"onchainAt": "On-chain Time",
"explorer": "Explorer",
"openExplorer": "Open Explorer",
"trigger": "Trigger On-chain",
"triggered": "On-chain task submitted"
"triggered": "On-chain task submitted",
"retry": "Retry On-chain",
"unknownTip": "The transaction result cannot be confirmed yet. Resync it or correct the status manually.",
"resync": "Resync",
"recordTransaction": "Record Transaction Hash",
"markFailed": "Mark Failed",
"markFailedConfirm": "Mark this unknown attestation as failed? Use this only after manual verification."
},
"queryLog": {
"result": "Result",
@@ -723,7 +817,12 @@
"outboundTemplate": "Download outbound import template",
"traceExport": "Export trace codes and QR images",
"traceBatchDelete": "Batch delete trace codes",
"traceMatch": "Match trace codes",
"traceOnchain": "Trace code on-chain attestation",
"batchOnchain": "Submit batch on-chain task",
"batchOutbound": "Submit batch outbound task",
"outboundRecord": "Create or update outbound record",
"outboundImages": "Manage outbound photos",
"backupCreate": "Create backup",
"backupDelete": "Delete backup",
"backupDownload": "Download backup package",
@@ -735,6 +834,9 @@
"storageConfirm": "Switch storage config",
"blockchainRetry": "Retry blockchain proof",
"blockchainConfirm": "Query blockchain confirmation",
"blockchainResync": "Resync blockchain proof",
"blockchainRecordTransaction": "Record transaction hash manually",
"blockchainMarkFailed": "Mark on-chain task as failed",
"changePassword": "Change password",
"login": "Sign in to admin",
"upload": "Upload file"