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

30 lines
1.8 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_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."
}
}