Files
syops/frontend/src/locales/en/errors.json
T

75 lines
6.4 KiB
JSON

{
"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_CASDOOR_IDENTITY_INVALID": "Casdoor did not return a stable user identity. Check the OIDC configuration.",
"AUTH_SSO_CONFIG_ERROR": "The SSO application configuration is invalid. Contact an administrator.",
"AUTH_SSO_APP_NOT_FOUND": "The target system is not configured or is disabled.",
"AUTH_SSO_IDENTITY_UNSUPPORTED": "The current session is not backed by Casdoor. Log in again and retry.",
"AUTH_SSO_ASSERTION_ISSUE_FAILED": "The peer-service login assertion could not be issued. Please retry.",
"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.",
"AGENT_HANDLER_NOT_CONFIGURED": "Agent business handler is not configured. Please contact an administrator.",
"SYSTEM_HTTP_ERROR": "Request failed.",
"WECOM_RESET_NOT_CONFIGURED": "WeCom password reset is not configured. Enable WeCom under Admin → WeCom → System Settings and fill Corp ID, Agent ID, and Secret.",
"WECOM_NOTIFY_DISABLED": "WeCom notifications are disabled. Enable them under Admin → WeCom → Notify Settings.",
"WECOM_RESET_URL_NOT_CONFIGURED": "Public base URL is not configured. Set WECOM_PUBLIC_BASE_URL in system settings.",
"AUTH_PASSWORD_RESET_RATE_LIMITED": "Too many requests. Please try again later.",
"AUTH_RESET_TOKEN_INVALID": "Reset link is invalid or expired. Please request password reset again.",
"SHIPPING_INVENTORY_SOURCE_UNRESOLVED": "Cannot determine inventory source from the shipping notice. Please confirm manually.",
"SHIPPING_INVENTORY_SOURCE_AMBIGUOUS": "Multiple inventory sources matched. Please choose the official source code.",
"SHIPPING_INVENTORY_SOURCE_INVALID": "Inventory source configuration is invalid or missing site/warehouse parameters.",
"SHIPPING_INVENTORY_SOURCE_CONFLICTED": "Inventory source adjudication conflict. Please re-confirm.",
"SHIPPING_INVENTORY_SOURCE_CONFIRMATION_REQUIRED": "Inventory source is not confirmed yet. Please complete manual confirmation first.",
"SHIPPING_INVENTORY_SOURCE_CHANGED": "Shipping routing changed. Inventory source must be re-confirmed.",
"SHIPPING_INVENTORY_IDENTITY_MISMATCH": "Inventory snapshot does not match the task inventory source. Re-fetch or upload inventory.",
"SHIPPING_INVENTORY_SOURCE_GATE_BLOCKED": "Inventory source is not ready. This step is blocked.",
"SHIPPING_INVENTORY_WAREHOUSE_ID_NOT_ALLOWED": "Callback warehouse ID is not in the allowed list.",
"SHIPPING_INVENTORY_REUSED_SNAPSHOT_CONTENT_MISMATCH": "Reused inventory snapshot content does not match the callback file.",
"SHIPPING_NOTICE_EXACT_DUPLICATE": "This file already exists in an in-progress task. Please do not submit it again.",
"SHIPPING_BATCH_IDEMPOTENCY_CONFLICT": "Batch creation request conflicted. Please refresh and try again.",
"SHIPPING_IDEMPOTENCY_KEY_INVALID": "Invalid batch idempotency key format.",
"FILE_ASSET_NOT_FOUND": "File asset not found.",
"FILE_ASSET_FORBIDDEN": "You do not have access to this file asset.",
"FILE_ASSET_UPLOAD_FAILED": "File upload failed. Please try again later.",
"FILE_ASSET_INVALID_TYPE": "Unsupported file type.",
"FILE_ASSET_SIZE_EXCEEDED": "File size exceeds the limit.",
"FILE_ASSET_EXPIRED": "File asset has expired.",
"FILE_ASSET_ALREADY_REFERENCED": "File asset is already referenced and cannot be deleted.",
"PROCUREMENT_CONTRACT_TEMPLATE_REFERENCED": "This template is referenced by review history and cannot be deleted. Disable it instead.",
"PROCUREMENT_CONTRACT_INVALID_COMPARISON_REGION_CONFIG": "The comparison region configuration is invalid. Check fields, anchors, and attachment policy.",
"PROCUREMENT_CONTRACT_COMPARISON_REGION_PREVIEW_FAILED": "Comparison regions could not be recognized from the template file.",
"FILE_ASSET_INVALID_STATUS": "File asset status does not allow this operation.",
"SHIPPING_NOTICE_INTAKE_NOT_FOUND": "Shipping notice intake not found.",
"SHIPPING_NOTICE_INTAKE_PARSE_PENDING": "Shipping notice is still parsing. Please wait before confirming the batch.",
"SHIPPING_NOTICE_INTAKE_PARSE_FAILED": "Shipping notice parse failed. Retry or remove and upload again.",
"SHIPPING_NOTICE_INTAKE_ATTACHMENTS_INCOMPLETE": "Shipping notice attachments are incomplete. Retry parse or remove and upload again.",
"SHIPPING_NOTICE_INTAKE_ALREADY_CONSUMED": "Shipping notice intake has already been consumed.",
"SHIPPING_NOTICE_INTAKE_EXPIRED": "Shipping notice intake has expired.",
"SHIPPING_NOTICE_INTAKE_INVALID_STATUS": "Current intake status does not allow this operation.",
"SHIPPING_NOTICE_DUPLICATE_RESOLUTION_REQUIRED": "A duplicate shipping notice was detected. Choose how to proceed.",
"SHIPPING_NOTICE_DUPLICATE_TARGET_NOT_FOUND": "The duplicate target task was not found.",
"SHIPPING_NOTICE_DUPLICATE_TARGET_CHANGED": "The target task status changed. Please confirm again.",
"SHIPPING_NOTICE_DUPLICATE_REASON_REQUIRED": "A reason is required to force-create a duplicate.",
"SHIPPING_NOTICE_DUPLICATE_OVERRIDE_FORBIDDEN": "You are not allowed to force-create a duplicate shipping notice.",
"SHIPPING_NOTICE_REVISION_TARGET_INVALID": "The revision target task is invalid.",
"SHIPPING_NOTICE_REVISION_ALREADY_EXISTS": "A later revision of this task already exists.",
"SHIPPING_NOTICE_REVISION_CONFLICT": "A revision of this task already exists. Open the existing revision or re-check.",
"SHIPPING_NOTICE_FINGERPRINT_UNAVAILABLE": "A reliable business fingerprint could not be generated; only file-hash dedupe applies."
}
}