2025-01-06 09:13:28 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								<?php
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								// Message strings for translation
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								return [
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-24 12:08:05 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    'ERROR' => [
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'CSRF_INVALID' => 'Invalid security token. Please try again.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'INVALID_ACTION' => 'Invalid action requested.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'DEFAULT' => 'An error occurred. Please try again.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-06 09:13:28 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'LOGIN' => [
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'LOGIN_SUCCESS' => 'Login successful.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'LOGIN_FAILED' => 'Login failed. Please check your credentials.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'LOGOUT_SUCCESS' => 'Logout successful. You can log in again.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-04-13 16:06:48 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'SESSION_TIMEOUT' => 'Your session has expired. Please log in again.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-06 09:13:28 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'IP_BLACKLISTED' => 'Access denied. Your IP address is blacklisted.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'IP_NOT_WHITELISTED' => 'Access denied. Your IP address is not whitelisted.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'TOO_MANY_ATTEMPTS' => 'Too many login attempts. Please try again later.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'SECURITY' => [
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'WHITELIST_ADD_SUCCESS' => 'IP address successfully added to whitelist.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-24 12:08:05 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'WHITELIST_ADD_FAILED' => 'Failed to add IP to whitelist.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'WHITELIST_ADD_ERROR_IP' => 'Failed to add IP to whitelist. Please check the IP format.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-06 09:13:28 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'WHITELIST_REMOVE_SUCCESS' => 'IP address successfully removed from whitelist.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-24 12:08:05 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'WHITELIST_REMOVE_FAILED' => 'Failed to remove IP from whitelist.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-06 09:13:28 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'BLACKLIST_ADD_SUCCESS' => 'IP address successfully added to blacklist.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-24 12:08:05 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'BLACKLIST_ADD_FAILED' => 'Failed to add IP to blacklist.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'BLACKLIST_ADD_ERROR_IP' => 'Failed to add IP to blacklist. Please check the IP format.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-06 09:13:28 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'BLACKLIST_REMOVE_SUCCESS' => 'IP address successfully removed from blacklist.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-02-24 12:08:05 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        'BLACKLIST_REMOVE_FAILED' => 'Failed to remove IP from blacklist.',
							 | 
						
					
						
							
								
									
										
										
										
											2025-01-06 09:13:28 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'RATE_LIMIT_INFO' => 'Rate limiting is active. This helps protect against brute force attacks.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'PERMISSION_DENIED' => 'Permission denied. You do not have the required rights.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'IP_REQUIRED' => 'IP address is required.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'REGISTER' => [
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'SUCCESS' => 'Registration successful. You can log in now.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'FAILED' => 'Registration failed: %s',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'DISABLED' => 'Registration is disabled.',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    'SYSTEM' => [
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'DB_ERROR' => 'Error connecting to the database: %s',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'DB_CONNECT_ERROR' => 'Error connecting to DB: %s',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        'DB_UNKNOWN_TYPE' => 'Error: unknown database type "%s"',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    ],
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								];
							 |