Merge branch 'hugo-shipping-notice' into dev

# Conflicts:
#	backend/app/services/shipping_notice/receipt_report_notification.py
This commit is contained in:
hugo committed 2026-09-23 01:09:28 +08:00
commit 876a7ade7d
212 files changed
+12056 -2889

No files matched your search

+144 -29
View File
@@ -635,7 +635,9 @@
"pathSectionConfigured": "Configured",
"pathSectionNotConfigured": "Not configured",
"parsingProfiles": "Inventory Parsing",
"parsingProfilesHelp": "Maintain inventory file structures, field mappings, and order-field match keys shared by inventory sites.",
"parsingProfilesHelp": "Maintain reusable file parsing rules: inventory parsing targets the inventory field catalog and order match keys; receipt movement targets the standard movement fields (read-only contract).",
"inventoryParsing": { "code": "Inventory Parsing Code", "name": "Inventory Parsing Name", "sampleFile": "Inventory Sample File", "sampleFileHint": "Upload an Excel or CSV file. The system reads worksheets, headers, and a small sample for plan confirmation.", "sampleRequired": "Upload an inventory sample file and complete structure recognition first.", "sourceHeader": "Inventory File Header", "fieldMappings": "Inventory Standard Field Mappings", "analysisPreview": "Inventory Analysis Preview" },
"movementParsing": { "code": "Movement Parsing Code", "name": "Movement Parsing Name", "sampleFile": "Receipt Sample File", "sampleFileHint": "Upload an Excel or CSV file. The system reads worksheets, headers, and a small sample for movement parsing confirmation.", "sampleRequired": "Upload a receipt movement sample file and complete structure recognition first.", "sourceHeader": "Movement File Header", "fieldMappings": "Standard Movement Field Mappings", "analysisPreview": "Movement Analysis Preview" },
"inventoryMapping": "Inventory Parsing",
"inventoryMappingPlans": "Parsing Rules",
"inventoryFields": "Inventory Field Catalog",
@@ -690,6 +692,21 @@
"inventorySampleAnalysing": "Analysing inventory file structure...",
"inventorySampleRequired": "Upload an inventory sample file and complete structure recognition first.",
"parsingProfileName": "Inventory Parsing Name",
"parsingPurposeLabel": "Rule Purpose",
"parsingPurposeHint": "Purpose cannot be changed after creation: inventory parsing uses the inventory field catalog, receipt movement uses the standard movement fields (read-only contract).",
"parsingPurpose": { "inventory": "Inventory Parsing", "movement": "Receipt Movement" },
"movementMappingHint": "Standard movement fields are a read-only business contract (✱ required, 🔑 match identity). Just pick the report header alias for each field.",
"movementRequiredMark": "Required",
"movementIdentityMark": "Match identity",
"movementStandardField": "Standard Movement Field",
"movementBindingLabel": "Movement Parsing Rule",
"movementBindingNone": "Not bound",
"movementBindingHint": "With a published movement rule bound, precheck reuses archived receipt files; when unbound, precheck will not trigger a fetch (fail-closed).",
"movementFields": {
"doc_no": "Doc No.", "line_no": "Line No.", "in_out_flag": "In/Out Flag", "material_code": "Material Code",
"material_name": "Material Name", "warehouse_code": "Warehouse", "storage_code": "Storage Bin", "lot_no": "Lot No.",
"quantity": "Quantity", "movement_date": "Movement Date"
},
"inventoryAnalysisFailed": "Inventory file structure recognition failed.",
"inventoryAnalysisPreview": "Recognition Preview",
"inventoryAnalysisSummary": "Found {candidate_count} candidate headers with {sample_row_count} sample rows and suggested {valid_inventory_field_suggestions} inventory fields.",
@@ -826,8 +843,7 @@
"exports": "Export Records",
"exportsHelp": "Read-only inventory export results. Retries and manual exports are not initiated here.",
"externalMappings": "Warehouse Mapping",
"mappingsHelp": "Map a freight warehouse, or a source default, to an external system warehouse code.",
"defaultMapping": "Source Default Mapping",
"mappingsHelp": "Map an inventory source to external system warehouse and in-transit warehouse codes; freight warehouse is optional and used as the receipt-warehouse matching key.",
"loadFailed": "Failed to load shipping inventory configuration",
"createNew": "New",
"saving": "Saving...",
@@ -1036,12 +1052,13 @@
"publishedImmutable": "Published rules are retained as immutable audit definitions. Create and publish a new rule instead.",
"source": "Inventory Source",
"chooseSource": "Select an inventory source",
"freightWarehouse": "Freight Warehouse (optional)",
"freightWarehouse": "Freight Warehouse",
"externalSystem": "Target system",
"externalOrganization": "Target organization (optional)",
"externalSite": "Target site (optional)",
"externalWarehouseCode": "Target warehouse code",
"externalWarehouseName": "Target warehouse name",
"inTransitWarehouseCode": "In-transit warehouse code",
"snapshotStatus": "Snapshot Status",
"snapshotFile": "Snapshot file",
"expiresAt": "Valid until",
@@ -5141,7 +5158,6 @@
"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",
@@ -5152,6 +5168,48 @@
"credential": "Credential References",
"capability": "Capabilities"
},
"statusLabels": {
"draft": "Draft",
"published": "Published",
"retired": "Retired",
"active": "Active",
"rotating": "Rotating",
"db": "UI-managed (encrypted)",
"env": "Environment variable"
},
"envLabels": {
"dev": "Dev",
"test": "Test",
"prod": "Prod"
},
"capabilityLabels": {
"in_transit_transfer": {
"create_transfer": "Create transfer",
"query_inventory": "In-transit inventory query",
"verify_duplicate": "Duplicate check"
}
},
"writeLabels": { "yes": "Yes", "no": "No" },
"idempotencyLabels": { "none": "None", "invoice": "Idempotent by document no." },
"credentialTypeLabels": {
"password": "Username + Password",
"token": "Token",
"api_key": "API Key"
},
"lifecycle": {
"publish": "Publish",
"unpublish": "Unpublish",
"retire": "Retire",
"reopen": "Reopen draft"
},
"formHints": {
"client": "The code is the unique identifier referenced by interface definitions and bindings; it cannot be changed after saving.",
"interface": "The code can be auto-generated; the JSON contract is the interface itself and is maintained in the editors; only a published interface is picked up by binding resolution.",
"binding": "Bindings decide which client and interface a capability routes to per environment/source; only published bindings are called automatically.",
"credential": "In db mode, credentials are maintained in the UI and encrypted server-side; in env mode only the environment variable key is stored and the value is injected by the environment.",
"credentialImmutable": "These fields are locked after creation; to change them, create a new credential reference and point the client instance at it.",
"capability": "Registered platform capabilities (read-only); try them here."
},
"headers": {
"code": "Code",
"name": "Name",
@@ -5159,13 +5217,16 @@
"environment": "Environment",
"status": "Status",
"clientInstance": "Client Instance",
"interfaceDef": "Interface Definition",
"secretRef": "Secret Ref",
"secretProvider": "Provider",
"interfaceDef": "Interface",
"secretRef": "Secret Reference",
"secretProvider": "Source",
"account": "Account",
"capability": "Capability",
"write": "Write",
"idempotency": "Idempotency",
"actions": "Actions"
"actions": "Actions",
"endpoint": "Endpoint",
"testStatus": "Connection Test"
},
"fields": {
"code": "Code",
@@ -5173,49 +5234,83 @@
"connectorType": "Connector Type",
"environment": "Environment",
"credentialRef": "Credential Reference Code",
"configJson": "Connection config JSON (endpoint/timeout/default org, etc.)",
"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",
"requestSpec": "Request Template JSON",
"inputSchema": "Input Schema JSON",
"responseMapping": "Response Mapping JSON",
"outputSchema": "Output Schema JSON",
"status": "Status",
"enabled": "Enabled",
"enabledHint": "When off, capability calls through this instance are rejected (treated as no binding); connection tests still run.",
"enabledFooterHint": "Applied when saved",
"credentialEnabledHint": "When off, calls referencing this credential fail immediately (treated as a missing credential); connection tests still run.",
"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",
"contextSelector": "Advanced Routing Conditions JSON",
"contextSelectorHint": "All key-value pairs must be contained in the call context to match; callers currently send no routing context, so leave it empty for the default binding.",
"paramMapping": "Parameter Mapping JSON",
"paramMappingHint": "Translation rules from domain params to interface params (e.g. erp_org to organization, condition template); leave empty for same-name passthrough.",
"bindingClientHint": "Derived and locked from the selected interface definition; not editable separately.",
"secretRef": "Secret Reference Key",
"secretProvider": "Secret Source",
"credentialType": "Credential Type",
"endpoint": "Endpoint",
"timeout": "Timeout (s)",
"wsdl": "WSDL URL",
"httpMethod": "HTTP Method",
"requestPath": "Request Path",
"contextSourceCode": "Source Instance Code"
"username": "Username",
"password": "Password",
"visibleField": "non-secret",
"codeHint": "Auto-generated from name when left blank; lowercase letters, digits and hyphens only; immutable after saving.",
"codeHintInterface": "Auto-generated as \"client code - name\" when left empty; immutable after saving.",
"connectorTypeHint": "Determined by the selected client instance; cannot be changed here.",
"statusHint": "New definitions start as draft; update via the list buttons (Publish / Unpublish / Retire / Reopen draft).",
"credentialNone": "None (anonymous)",
"credentialRefHint": "Reference a centrally managed credential (password stored encrypted); rotate the password by updating the credential only."
},
"credentialFields": {
"username": "Username",
"password": "Password",
"token": "Token",
"api_key": "API Key"
},
"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",
"fillClient": "Please fill in the name",
"fillInterface": "Please select a client instance (the code can be auto-generated)",
"fillBinding": "Please fill in the capability, client instance and interface definition",
"fillCredential": "Please fill in the code and the secret reference",
"fillCredentialDb": "Please fill in the code and the required credential fields: {fields}",
"credentialTypeMissing": "Credential type list not loaded, please refresh and retry",
"credentialPlaceholdersHint": "Template placeholders provided by this credential:",
"invalidJson": "{field} is not valid JSON",
"unsavedConfirm": "You have unsaved changes. Close anyway?",
"saved": "Saved",
"deleted": "Deleted",
"testOk": "Connection test passed"
"testOk": "Connection test passed",
"codeInvalid": "Code allows lowercase letters, digits and hyphens only, and must start with a letter or digit",
"deleteConfirm": "Delete client instance \"{name}\" ({code})? Interface definitions and bindings referencing it will break.",
"toggleFailed": "Failed to toggle enabled state",
"testFailed": "Connection failed ({code})",
"testing": "Testing…",
"statusUpdated": "Status updated",
"statusUpdateFailed": "Failed to update status",
"retireInterfaceConfirm": "Retiring invalidates all bindings referencing this interface; reopen it as draft to publish again. Retire anyway?",
"retireBindingConfirm": "Retiring takes this binding out of automatic calls; reopen it as draft to publish again. Retire anyway?"
},
"callModal": {
"title": "Call capability: {capability}",
"hint": "Debug only: manually call a registered capability; params and context are resolved by the current binding.",
"hint": "For debugging only: manually call a registered capability; params and context are resolved via current bindings.",
"params": "Params JSON",
"paramsHint": "Fill per the capability input schema, e.g. invoice_no / from_warehouse / to_warehouse / quantity.",
"paramsHint": "Fill in 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",
"result": "Call Result",
"run": "Call",
"running": "Calling…"
},
@@ -5223,8 +5318,28 @@
"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"
"passwordKeep": "Leave blank to keep the current password"
},
"advancedConfig": "Advanced config (JSON)"
"advancedConfig": "Advanced Config (JSON)",
"formatJson": "Format",
"invalidJsonHint": "Invalid JSON — fix it before saving",
"testOkBadge": "Connected",
"testFailBadge": "Failed",
"testDetailToggle": "Click to expand/collapse details",
"advancedHints": {
"withKeys": "Config keys currently in effect: {keys}. Other keys are stored as-is but have no effect yet.",
"none": "This connector type has no extra config keys in effect; content is stored as-is for future use."
},
"sections": {
"basic": "Basic Info",
"connection": "Connection",
"advanced": "Advanced",
"contract": "Interface contract (JSON)",
"credentialValues": "Credential Values"
},
"connectorTypes": {
"rest": "REST API",
"soap": "SOAP Service"
}
}
}