{
  "response.operation_success": "Operation completed successfully",
  "response.success": "Success",
  "response.operation_failed": "Operation failed",
  "response.failed_detail": "Operation failed: %s",
  "response.create_success": "Created successfully",
  "response.delete_success": "Deleted successfully",
  "response.update_success": "Updated successfully",
  "auth.not_logged_in": "Not logged in or invalid access. Please sign in.",
  "auth.token_blacklisted": "Your session was signed out elsewhere or the token is no longer valid.",
  "auth.token_expired": "Session expired. Please sign in again.",
  "auth.token_malformed": "Invalid token format.",
  "auth.token_signature_invalid": "Invalid token signature.",
  "auth.token_not_valid_yet": "Token is not active yet.",
  "auth.token_invalid": "Invalid or unreadable token.",
  "auth.token_unknown": "Authentication error.",
  "casbin.forbidden": "Insufficient permission.",
  "rate_limit.too_frequent": "Too many requests. Please try again later.",
  "rate_limit.wait_seconds": "Too many requests. Please try again in %d seconds.",
  "common.request_timeout": "Request timed out",
  "sys.error.form_backend": "Backend",
  "sys.alert.http_error_subject": "%s %s requested %s — error occurred",
  "sys.alert.http_error_body": "Request body:\n%s\nHTTP method: %s\nError:\n%s\nDuration: %s\n",
  "common.not_logged_in": "Not logged in",
  "common.fetch_success": "Loaded successfully",
  "common.update_success": "Updated successfully",
  "common.update_failed": "Update failed",
  "common.delete_success": "Deleted successfully",
  "common.delete_failed": "Deletion failed",
  "common.add_success": "Added successfully",
  "common.set_success": "Saved successfully",
  "common.save_success": "Saved successfully",
  "common.cleared": "Cleared",
  "common.remove_success": "Removed successfully",
  "common.create_success": "Created successfully",
  "common.login_success": "Signed in successfully",
  "common.register_success": "Registered successfully",
  "common.register_failed": "Registration failed",
  "common.modify_success": "Updated successfully",
  "common.set_failed": "Save failed",
  "common.modify_failed": "Update failed",
  "common.modify_failed_wrong_password": "Update failed: current password is incorrect",
  "common.get_failed": "Failed to load data",
  "common.reset_success": "Reset successfully",
  "common.reset_failed_detail": "Reset failed: %s",
  "common.cannot_delete_self": "You cannot delete your own account.",
  "sys.login.captcha_wrong": "Invalid captcha",
  "sys.login.bad_credentials": "Invalid username or password",
  "sys.login.user_disabled": "This account is disabled",
  "sys.login.token_failed": "Failed to issue token",
  "sys.login.session_setup_failed": "Failed to set login session",
  "sys.login.jwt_revoke_failed": "Failed to revoke the previous token",
  "sys.oauth.authorize_failed": "Cannot start OAuth login. Check provider settings in the admin console.",
  "sys.oauth.callback_failed": "OAuth login failed. Please try again or contact an administrator.",
  "sys.oauth.exchange_missing": "Missing exchange token",
  "sys.oauth.exchange_invalid": "Login ticket expired. Please sign in again.",
  "sys.captcha.fetch_failed": "Failed to generate captcha",
  "sys.captcha.fetch_success": "Captcha generated",
  "sys.jwt.revoke_failed": "Failed to revoke JWT",
  "sys.jwt.revoke_success": "JWT revoked successfully",
  "common.share_success": "Shared successfully",
  "common.transfer_success": "Transferred successfully",
  "common.cancelled": "Cancelled",
  "common.state_updated": "Updated",
  "rag.kb.knowledge_base_id_required": "knowledgeBaseId is required",
  "rag.kb.receive_file_failed": "Failed to receive the uploaded file",
  "rag.kb.id_required": "id is required",
  "rag.kb.id_invalid": "Invalid id format",
  "rag.kb.illegal_path": "Invalid file path",
  "rag.kb.chunk_job_submitted": "Chunking task has been queued in the background",
  "rag.kb.document_no_storage_path": "This document has no file path (not available for local download)",
  "rag.error.model_api_key_rejected": "The model provider rejected the API key (invalid, missing, or expired). Check the key in model settings.",
  "common.query_failed": "Query failed",
  "common.query_success": "Query completed",
  "common.sync_failed": "Sync failed",
  "common.ignore_failed": "Failed to ignore",
  "common.refresh_failed": "Refresh failed",
  "common.refresh_success": "Refreshed successfully",
  "common.allocate_failed": "Assignment failed",
  "common.allocate_success": "Assigned successfully",
  "common.export_success": "Exported successfully",
  "common.export_failed": "Export failed",
  "common.batch_delete_success": "Batch deleted successfully",
  "common.batch_delete_failed": "Batch deletion failed",
  "common.create_failed": "Failed to create",
  "common.upload_success": "Uploaded successfully",
  "common.edit_failed": "Edit failed",
  "common.edit_success": "Updated successfully",
  "common.import_url_failed": "Failed to import URL",
  "common.import_url_success": "URL imported successfully",
  "common.copy_failed": "Copy failed: %s",
  "common.copy_success": "Copied successfully",
  "common.authority_create_refresh_failed": "Created successfully but failed to refresh permissions: %s",
  "common.delete_failed_detail": "Deletion failed: %s",
  "common.batch_delete_failed_detail": "Batch deletion failed: %s",
  "common.query_failed_detail": "Query failed: %s",
  "common.get_failed_detail": "Failed to load: %s",
  "common.update_failed_detail": "Update failed: %s",
  "common.create_failed_detail": "Failed to create: %s",
  "common.import_failed_detail": "Import failed: %s",
  "common.add_failed_detail": "Failed to add: %s",
  "common.json_marshal_failed_detail": "JSON serialization failed: %s",
  "common.json_parse_failed_detail": "Failed to parse JSON: %s",
  "common.preview_failed_detail": "Preview failed: %s",
  "common.preview_success": "Preview generated",
  "common.pack_failed_detail": "Packaging failed: %s",
  "common.pack_success_path": "Packaged successfully. Path: %s",
  "common.init_menu_failed_detail": "Failed to initialize menu: %s",
  "common.init_api_failed_detail": "Failed to initialize API: %s",
  "common.init_dictionary_failed_detail": "Failed to initialize dictionary: %s",
  "common.llm_generate_failed_detail": "LLM generation failed: %s",
  "common.query_table_failed": "Failed to query tables",
  "common.reload_failed_detail": "Failed to reload system: %s",
  "common.reload_system_success": "System reloaded successfully",
  "common.inject_failed": "Injection failed",
  "common.inject_success": "Injected successfully",
  "common.rollback_success": "Rolled back successfully",
  "common.files_updated_success": "Files updated successfully",
  "common.set_failed_detail": "Save failed: %s",
  "common.upsert_failed_detail": "Create or update failed: %s",
  "common.upsert_success": "Saved successfully",
  "validation.template_id_required": "Template ID is required",
  "validation.dict_id_required": "Dictionary ID is required",
  "validation.dict_id_invalid": "Invalid dictionary ID",
  "validation.dict_type_required": "Dictionary type is required",
  "validation.dict_detail_id_required": "Dictionary detail ID is required",
  "validation.dict_detail_id_invalid": "Invalid dictionary detail ID",
  "validation.menu_id_required": "Menu ID is required",
  "validation.version_id_required": "Version ID is required",
  "validation.export_token_required": "Export token is required",
  "validation.export_token_invalid": "Export token is invalid or expired",
  "validation.parse_export_params_failed": "Failed to parse export parameters",
  "validation.token_type_wrong": "Invalid token type",
  "validation.api_path_method_required": "API path and HTTP method are required",
  "validation.authority_id_required": "Role ID is required",
  "validation.package_name_invalid": "Invalid package name",
  "validation.param_invalid": "Invalid parameters",
  "validation.missing_id": "Missing parameter: id",
  "sys.dictionary.not_enabled": "Dictionary does not exist or is disabled",
  "sys.initdb.config_exists": "Database is already configured",
  "sys.initdb.param_invalid": "Parameter validation failed",
  "sys.initdb.auto_create_failed": "Failed to create database automatically. Check server logs.",
  "sys.initdb.auto_create_success": "Database created successfully",
  "sys.error.trigger_ai_failed": "Failed to trigger AI: %s",
  "sys.error.submitted_to_ai": "Submitted for AI processing",
  "sys.version.public_unauth_notice": "Public version API sample response",
  "sys.version.menu_fetch_failed": "Failed to load menus: %s",
  "sys.version.api_fetch_failed": "Failed to load APIs: %s",
  "sys.version.dict_fetch_failed": "Failed to load dictionaries: %s",
  "sys.version.save_record_failed": "Failed to save version record: %s",
  "sys.version.create_release_success": "Release record created",
  "sys.version.get_record_failed": "Failed to load version record: %s",
  "sys.version.payload_invalid": "Invalid version payload",
  "sys.version.import_menu_failed": "Failed to import menus: %s",
  "sys.version.import_api_failed": "Failed to import APIs: %s",
  "sys.version.import_dict_failed": "Failed to import dictionaries: %s",
  "sys.version.import_success": "Imported successfully",
  "sys.export.file_fetch_failed": "Failed to fetch file",
  "sys.api_token.issue_failed": "Failed to issue token: %s",
  "sys.api_token.issue_success": "Token issued successfully",
  "sys.api_token.revoke_failed": "Failed to revoke",
  "sys.api_token.revoke_success": "Revoked successfully",
  "sys.mcp.create_success_path": "Created successfully. MCP tool path: %s",
  "sys.mcp.create_failed": "Failed to create",
  "sys.mcp.parse_params_failed": "Failed to parse parameters: %s",
  "sys.mcp.create_client_failed": "Failed to create MCP client: %s",
  "sys.mcp.init_connection_failed": "Failed to initialize MCP connection: %s",
  "sys.mcp.call_failed": "Tool call failed: %s",
  "sys.mcp.tool_returned_empty": "Tool returned no content",
  "sys.skills.list_tools_failed": "Failed to load tool list",
  "sys.skills.list_failed": "Failed to load skills",
  "sys.skills.detail_failed": "Failed to load skill detail",
  "sys.skills.save_failed": "Failed to save skill",
  "sys.skills.delete_failed": "Failed to delete skill: %s",
  "sys.skills.script_create_failed": "Failed to create script",
  "sys.skills.script_read_failed": "Failed to read script",
  "sys.skills.script_save_failed": "Failed to save script",
  "sys.skills.resource_create_failed": "Failed to create resource",
  "sys.skills.resource_read_failed": "Failed to read resource",
  "sys.skills.resource_save_failed": "Failed to save resource",
  "sys.skills.ref_create_failed": "Failed to create reference",
  "sys.skills.ref_read_failed": "Failed to read reference",
  "sys.skills.ref_save_failed": "Failed to save reference",
  "sys.skills.template_create_failed": "Failed to create template",
  "sys.skills.template_read_failed": "Failed to read template",
  "sys.skills.template_save_failed": "Failed to save template",
  "sys.skills.global_read_failed": "Failed to read global constraints",
  "sys.skills.global_save_failed": "Failed to save global constraints",
  "sys.skills.pack_failed_detail": "Failed to pack skill: %s",
  "sys.skills.download_failed_detail": "Failed to download online skill: %s",
  "sys.skills.download_success": "Downloaded successfully",
  "example.attachment_category_list_failed": "Failed to load categories",
  "example.upload_failed": "Upload failed",
  "example.file_read_failed": "Failed to read file",
  "example.check_md5_failed": "MD5 check failed",
  "example.find_or_create_failed": "Failed to find or create record",
  "example.breakpoint_failed": "Resumable upload failed",
  "example.create_file_record_failed": "Failed to create file record",
  "example.chunk_create_success": "Chunk created successfully",
  "example.find_failed": "Lookup failed",
  "example.find_success": "Lookup succeeded",
  "example.file_create_failed": "Failed to create file",
  "example.file_create_success": "File created successfully",
  "example.illegal_path_delete": "Invalid path; deletion denied",
  "example.cache_chunk_deleted": "Cached chunk removed successfully",
  "example.list_failed_detail": "Failed to load list: %s",
  "plugin.email.send_failed": "Failed to send email",
  "plugin.email.send_success": "Email sent successfully",
  "plugin.announcement.public_sample": "Public announcement API sample response",

  "svc.user.username_taken": "Username is already registered",
  "svc.user.wrong_password": "Incorrect password",
  "svc.user.wrong_current_password": "Current password is incorrect",
  "svc.user.role_not_assigned": "This user does not have the specified role",
  "svc.user.no_default_route_for_role": "Cannot switch to this role: no default route found",
  "svc.user.query_failed": "Failed to query user data",
  "svc.user.not_found": "User not found",

  "svc.menu.duplicate_name": "Duplicate menu name found; please use a different name",
  "svc.menu.parent_not_found": "Parent menu does not exist",
  "svc.menu.parent_occupied_as_home": "Parent menu is already set as another role's home page; release it first",
  "svc.menu.no_cross_level": "Cannot add: cross-level operation is not allowed",
  "svc.menu.has_children": "This menu has sub-menus and cannot be deleted",
  "svc.menu.not_found": "Menu record not found",
  "svc.menu.is_home_page": "A role is using this menu as its home page; it cannot be deleted",

  "svc.authority.not_found": "Role not found",
  "svc.authority.has_users": "This role still has users assigned; reassign them before deleting",
  "svc.authority.has_children": "This role has sub-roles; delete them first",
  "svc.authority.parent_not_found": "Parent role does not exist",
  "svc.authority.id_taken": "Role ID is already in use",
  "svc.authority.set_home_failed": "Failed to set role home page",
  "svc.authority.cannot_edit_admin_id": "Cannot change the admin role ID",
  "svc.authority.query_failed": "Failed to load role data",
  "svc.authority.invalid_authority_id": "The submitted role ID is not allowed",

  "svc.casbin.authority_id_required": "Role ID is required",
  "svc.casbin.rules_empty": "Permission rule list is empty",
  "svc.casbin.clear_failed": "Failed to clear existing rules",
  "svc.casbin.add_failed": "Failed to add permission rules",

  "svc.dict.has_details": "This dictionary has detail entries; delete them first",
  "svc.dict.not_found": "Dictionary not found",
  "svc.dict.type_exists": "Dictionary type already exists",
  "svc.dict.detail_value_exists": "Dictionary value already exists in this group",
  "svc.dict.children_exists": "This dictionary has sub-dictionaries; delete them first",
  "svc.dict.parent_not_found": "Parent dictionary not found",
  "svc.dict.import_invalid_json": "Invalid JSON format",
  "svc.dict.import_failed": "Dictionary import failed",
  "svc.dict.circular_ref": "Circular reference detected",

  "svc.oauth.db_not_initialized": "Database is not initialized",
  "svc.oauth.provider_exists": "This OAuth provider is already configured; use update instead",
  "svc.oauth.not_found": "OAuth provider not found",
  "svc.oauth.client_id_required": "Client ID is required",
  "svc.oauth.invalid_callback": "Invalid callback URL",
  "svc.oauth.setting_not_found": "OAuth setting not found",
  "svc.oauth.kind_required": "Kind is required",

  "svc.kb.not_found": "Knowledge base not found",
  "svc.kb.unsupported_format": "Unsupported file format: %s",
  "svc.kb.file_read_failed": "Failed to read file: %s",
  "svc.kb.query_empty": "Query content cannot be empty",
  "svc.kb.select_at_least_one": "Please select at least one knowledge base",
  "svc.kb.embedding_not_found": "Embedding model not found (ID=%d)",
  "svc.kb.video_unsupported": "Video files cannot be parsed into searchable text; please upload a transcript instead",
  "svc.kb.doc_legacy_unsupported": "Legacy .doc format is not supported; please save as .docx",
  "svc.kb.ppt_legacy_unsupported": "Legacy .ppt format is not supported; please save as .pptx",
  "svc.kb.tar_unsupported": "tar/tar.gz archives are not supported; please extract and upload individual files",
  "svc.kb.bzip2_invalid": "Not a valid bzip2 stream",
  "svc.kb.gzip_invalid": "Not a valid gzip stream",
  "svc.kb.gzip_read_failed": "Failed to read gzip content",
  "svc.kb.tar_bz2_unsupported": "tar.bz2 archives are not supported; please extract and upload individual files",
  "svc.kb.unique_filename_failed": "Failed to generate a unique filename after %d attempts: %s",
  "svc.kb.gzip_decompress_failed": "Failed to decompress gzip",
  "svc.kb.bz2_decompress_failed": "Failed to decompress bzip2",
  "svc.kb.gzip_inner_still_compressed": "Inner content is still gzip-compressed; please decompress to a single file before uploading",
  "svc.kb.bz2_inner_still_compressed": "Inner content is still bzip2-compressed; please decompress to a single file before uploading",
  "svc.kb.wps_unsupported": "WPS .wps (non-OOXML/ZIP) is not supported; newer ZIP-based files are detected as Word when possible, otherwise save as .docx",
  "svc.kb.et_unsupported": "WPS .et (non-OOXML/ZIP) is not supported; newer ZIP-based files are parsed as Excel when possible, otherwise save as .xlsx",
  "svc.kb.dps_unsupported": "WPS .dps (non-OOXML/ZIP) is not supported; newer ZIP-based files are parsed as presentation when possible, otherwise save as .pptx",
  "svc.kb.hlp_unsupported": "Windows Help .hlp files are not supported",
  "svc.kb.xlsb_unsupported": "Excel binary workbook .xlsb is not supported; please save as .xlsx",
  "svc.kb.pdf_failed_ocr_off": "PDF parsing failed (OCR disabled): %v",
  "svc.kb.pdf_and_ocr_failed": "PDF parsing failed: %v; OCR also failed: %v",
  "svc.kb.embedding_admin_not_found": "Admin embedding model not found (ID=%d)",
  "svc.kb.embedding_user_not_found": "User embedding model not found (ID=%d)",
  "svc.kb.create_embedder_failed": "Failed to create embedding model: %v",
  "svc.kb.file_storage_failed": "File storage failed: %s"
}
