Merge branch 'hugo-shipping-notice' into dev

# Conflicts:
#	backend/app/api/__init__.py
#	backend/app/jobs/types.py
#	backend/app/models/__init__.py
#	backend/app/services/schedule/job_registry.py
#	docs/features/README.md
#	docs/funclist.md
#	docs/tec.md
#	frontend/src/locales/zh-CN/admin.json
This commit is contained in:
hugo committed 2026-09-07 10:15:13 +08:00
commit dac31e48bd
691 files changed
+53341 -14863

No files matched your search

+96 -33
View File
@@ -46,7 +46,8 @@
"overview": "Overview",
"linkedServices": "Linked Services",
"procurementContract": "Procurement Contract Review",
"trainingConfig": "Training Config"
"trainingConfig": "Training Config",
"integrationConnector": "Integration Connector"
},
"shippingOrderExtractionRuns": {
"eyebrow": "READ-ONLY RUN DIAGNOSTICS",
@@ -551,33 +552,6 @@
"schemaPolicyGroupHint": "Auto-creation and field derivation apply to the whole schema version; changes stay in draft until publish.",
"schemaPolicyDraftBadge": "Draft editable · save/publish pending",
"schemaPolicyPublishedBadge": "Published version (read-only)",
"derivationRulesTitle": "Field derivation rules (current schema draft)",
"derivationRulesHint": "Line-to-line derivation only; rules freeze with the published schema version.",
"derivationRulesNote": "Phase 1 supports copy_if_empty only: copy customer PO line into internal line_no when empty.",
"derivationEnabled": "Enabled",
"derivationSource": "Source field",
"derivationTarget": "Target field",
"derivationStrategy": "Strategy",
"derivationStrategyCopyIfEmpty": "Copy if empty",
"derivationSimulate": "Simulate",
"derivationSimulateTitle": "Derivation simulation",
"derivationSimulateSample": "Sample JSON (array of line objects)",
"derivationSimulateModeHistory": "Historical extraction sample",
"derivationSimulateModeInline": "Manual JSON",
"derivationSimulateHistorySample": "Select a traceable sample",
"derivationSimulateSamplesLoading": "Loading samples…",
"derivationSimulateSamplesEmpty": "No historical samples available",
"derivationSimulateSampleOption": "Extraction #{id} · {lines} lines · {status}",
"derivationSimulateSampleRequired": "Please select a historical sample",
"derivationSimulateRun": "Run simulation",
"derivationSimulateSampleInvalid": "Sample JSON must be an array of objects",
"derivationSimulateSummary": "Rule version V{version} · checksum {checksum}… · derived {derived} · skipped {skipped}",
"derivationSimulateNoMutate": "This operation does not create or modify orders.",
"derivationBefore": "Internal line_no before",
"derivationAfter": "Internal line_no after",
"derivationResult": "Result",
"derivationStatusDerived": "Derived",
"derivationStatusSkipped": "Skipped: {reason}",
"viewFieldImpact": "Impact analysis",
"assetIdentity": "Asset identity (read-only)",
"assetKindLabel": "Asset kind",
@@ -805,11 +779,11 @@
"noSourceOptions": "No fields available",
"systemFact": {
"task_no": "System task number",
"business_no": "Official business number",
"business_no": "Shipping notice number",
"warehouse_id": "Freight warehouse",
"inventory_source_code": "Inventory source code",
"export_date": "Export date",
"export_sequence": "Export row sequence"
"export_date": "Shipping notice date",
"notice_line_no": "Shipping notice line number"
},
"orderFieldOptionsEmpty": "There are no published order-template fields. Publish an Order Template Configuration version first; source fields will then appear here.",
"constantValueHint": "Writes the same value for every export, for example a fixed forwarder code.",
@@ -2785,8 +2759,7 @@
},
"events": {
"customer_auto_resolution_evaluated": "Auto-resolution evaluated",
"customer_auto_confirmed": "Customer auto-confirmed",
"customer_correction_applied": "Customer correction applied"
"customer_auto_confirmed": "Customer auto-confirmed"
},
"gate": {
"title": "Auto-confirmation quality gate",
@@ -5045,5 +5018,95 @@
"saved": "Training configuration saved",
"deleted": "Training configuration deleted"
}
},
"integrationConnector": {
"title": "Integration Connector",
"subtitle": "Configure external system clients, interface templates and response mapping, then bind them to capabilities; this is the integration config that makes auto-transfer run.",
"add": "Add",
"formHint": "Maintain JSON fields in the editor; the publish status decides whether a config is used by the Worker.",
"call": "Call",
"test": "Test Connection",
"empty": "No data",
"tabs": {
"client": "Client Instances",
"interface": "Interface Definitions",
"binding": "Bindings",
"credential": "Credential References",
"capability": "Capabilities"
},
"headers": {
"code": "Code",
"name": "Name",
"connectorType": "Type",
"environment": "Environment",
"status": "Status",
"clientInstance": "Client Instance",
"interfaceDef": "Interface Definition",
"secretRef": "Secret Ref",
"secretProvider": "Provider",
"capability": "Capability",
"write": "Write",
"idempotency": "Idempotency",
"actions": "Actions"
},
"fields": {
"code": "Code",
"name": "Name",
"connectorType": "Connector Type",
"environment": "Environment",
"credentialRef": "Credential Reference Code",
"configJson": "Connection config JSON (endpoint/timeout/default org, etc.)",
"clientInstance": "Client Instance",
"requestSpec": "Request template JSON",
"inputSchema": "Input schema JSON",
"responseMapping": "Response mapping JSON",
"outputSchema": "Output schema JSON",
"status": "Status",
"enabled": "Enabled",
"capability": "Capability",
"interfaceDef": "Interface Definition",
"mappingVersion": "Mapping Version",
"priority": "Priority",
"effectiveFrom": "Effective From",
"effectiveTo": "Effective To",
"contextSelector": "Context selector JSON (key-value, e.g. source_code=DBS-AWSBI)",
"secretRef": "Secret Ref Key",
"secretProvider": "Secret Provider",
"credentialType": "Credential Type",
"endpoint": "Endpoint",
"timeout": "Timeout (s)",
"wsdl": "WSDL URL",
"httpMethod": "HTTP Method",
"requestPath": "Request Path",
"contextSourceCode": "Source Instance Code"
},
"msg": {
"fillClient": "Please fill in code and name",
"fillInterface": "Please fill in code and select a client instance",
"fillBinding": "Please fill in capability, client instance and interface definition",
"fillCredential": "Please fill in code and secret ref",
"invalidJson": "{field} JSON is invalid",
"saved": "Saved",
"deleted": "Deleted",
"testOk": "Connection test passed"
},
"callModal": {
"title": "Call capability: {capability}",
"hint": "Debug only: manually call a registered capability; params and context are resolved by the current binding.",
"params": "Params JSON",
"paramsHint": "Fill per the capability input schema, e.g. invoice_no / from_warehouse / to_warehouse / quantity.",
"context": "Context JSON",
"contextHint": "Used for binding selector matching, e.g. source_code=DBS-AWSBI.",
"result": "Result",
"run": "Call",
"running": "Calling…"
},
"placeholders": {
"endpoint": "https://erp-api.example.com/ws",
"wsdl": "https://erp-api.example.com/wsdl",
"requestPath": "Path supports placeholders, e.g. /transfer/xxx",
"contextSourceCode": "e.g. DBS-AWSBI"
},
"advancedConfig": "Advanced config (JSON)"
}
}