<?php

/**
 * alias => text message (English)
 */

return [
	// Validation Errors
	"incorrect_email" => "Incorrect email",
	"too_short_password" => "Password is too short",
	"different_passwords" => "Passwords do not match",
	"email_already_exists" => "Email already exists",
	"empty_field" => "Field cannot be empty",
	"unregistered_email" => "Email is not registered",
	"incorrect_password" => "Incorrect password",
	"title_too_short" => "Title is too short",
	"empty_first_name" => "First name is required",
	"empty_second_name" => "Last name is required",
	"empty_patronymic" => "Patronymic is required",
	"empty_phone_number" => "Phone number is required",
	"invalid_id" => "Invalid ID",
	"invalid_type" => "Invalid type",
	"invalid_ip" => "Invalid IP address",
	"invalid_json" => "Invalid JSON format",
	"invalid_params" => "Invalid parameters",
	"invalid_alias" => "Invalid alias",
	"invalid_state" => "Invalid state",
	"invalid_action" => "Invalid action",
	"invalid_callback" => "Invalid callback request",
	"wrong_status_name" => "Wrong status name",
	"alias_already_exists" => "Alias already exists",

	// Auth Errors
	"unauthenticated" => "Authentication required",
	"permission_denied" => "Permission denied",
	"auth_failed" => "Authentication failed",
	"session_expired" => "Session expired",
	"not_found_any_sessions" => "Login required",
	"already_logged" => "Already logged in",
	"unlogged_user" => "Login required",

	// General Errors
	"undefined_error" => "Something went wrong",
	"db_error" => "Database error",
	"server_not_available" => "Server is not available",
	"error_of_img_upload" => "Image upload error",
	"file_not_exists" => "File does not exist",
	"rate_limit" => "Too many requests, please try again later",
	"forbidden" => "Forbidden",

	// Device Errors
	"device_not_found" => "Device not found",
	"unknown_device" => "Unknown device",
	"error_of_device_auth" => "Device authentication error",
	"device_error_of_auth" => "Device authentication error",
	"device_request_fail" => "Device is not responding",
	"device_removed_offline" => "Device is not responding, removed from system only",
	"device_mode_error" => "Device mode error",

	// Script Errors
	"action_script_not_found" => "Action script not found",
	"regular_script_not_found" => "Regular script not found",
	"scope_not_found" => "Scope not found",
	"script_not_exists" => "Script does not exist",

	// Area Errors
	"area_not_exists" => "Area does not exist",
	"parent_area_not_found" => "Parent area not found",

	// Firmware Errors
	"firmware_not_found" => "Firmware not found",
	"firmware_not_compatible" => "Firmware is not compatible with device",
	"ota_failed" => "Failed to update device firmware",

	// Status Messages
	"scan_in_progress" => "Network scan in progress, please wait",
	"disagree_with_rules" => "You must agree with the publishing rules",

	// UI Labels
	"accept_removing" => "Confirm removal",
	"remove" => "Remove",
	"cancel" => "Cancel",
	"success_and_redirecting" => "Success! Redirecting...",
	"accept" => "Accept",
	"confirm" => "Confirm",
];
