<?php
return [
    // Messages
    'msg_image_deleted' => 'Image deleted successfully!',
    'msg_vote_site_deleted' => 'Vote site deleted successfully!',
    'msg_vote_site_saved' => 'Vote site saved successfully!',
    'msg_no_vote_sites' => 'No vote sites available.',

    // Errors
    'err_invalid_csrf' => 'Invalid CSRF token.',
    'err_permission_denied' => 'Permission denied.',
    'err_vote_site_not_found' => 'Vote site not found.',
    'err_database' => 'Database error: ',
    'err_fix_errors' => 'Please fix the following errors:',
    'err_site_name_required' => 'Site name is required.',
    'err_site_name_too_long' => 'Site name must not exceed 50 characters.',
    'err_invalid_image_url' => 'Button image URL too long.',
    'err_invalid_cooldown' => 'Cooldown hours must be between 1 and 999.',
    'err_invalid_reward' => 'Reward points must be between 1 and 255.',
    'err_callback_secret_too_long' => 'Callback secret must not exceed 64 characters.',
    'err_invalid_image_type' => 'Only JPEG, PNG, and GIF images are allowed.',
    'err_image_too_large' => 'Image size must not exceed 1MB.',
    'err_image_upload_failed' => 'Image upload failed: ',
    'err_callback_file_name_required' => 'Callback File Name is required.',
    'err_invalid_callback_file_name' => 'Callback File Name must be alphanumeric with underscores or hyphens.',
    'err_callback_file_name_too_long' => 'Callback File Name must not exceed 50 characters.',
    'err_callback_file_name_exists' => 'Callback File Name already exists.',
    'err_siteid_required' => 'Site ID is required.',
    'err_siteid_too_long' => 'Site ID must not exceed 255 characters.',
    'err_url_format_required' => 'Vote URL Format is required.',
    'err_invalid_url_format' => 'Invalid URL format.',
    'err_url_format_too_long' => 'URL format must not exceed 255 characters.',

    // Form Labels and Placeholders
    'page_title_manage_vote_sites' => 'Manage Vote Sites',
    'label_site_name' => 'Site Name',
    'placeholder_site_name' => 'Enter site name',
    'label_button_image' => 'Upload Button Image',
    'label_button_image_url' => 'Button Image URL (Optional)',
    'placeholder_button_image_url' => 'Enter button image URL (optional)',
    'label_image_url_info' => 'Enter an image URL if you prefer not to upload an image. Leave empty to clear the image.',
    'placeholder_button_image' => 'Upload a JPEG, PNG, or GIF image (max 1MB).',
    'label_cooldown_hours' => 'Cooldown Hours',
    'placeholder_cooldown_hours' => 'Enter cooldown hours',
    'label_reward_points' => 'Reward Points',
    'placeholder_reward_points' => 'Enter reward points',
    'label_uses_callback' => 'Uses Callback',
    'label_callback_secret' => 'Callback Secret',
    'placeholder_callback_secret' => 'Enter callback secret (optional)',
    'option_no' => 'No',
    'option_yes' => 'Yes',
    'btn_save_vote_site' => 'Save Vote Site',
    'btn_reset' => 'Reset Form',
    'btn_delete_image' => 'Delete Image',
    'btn_choose_file' => 'Choose File',
    'btn_edit' => 'Edit',
    'btn_delete' => 'Delete',
    'confirm_delete_image' => 'Are you sure you want to delete this image?',
    'confirm_delete' => 'Are you sure you want to delete this vote site?',
    'label_no_image' => 'No Image',
    'label_actions' => 'Actions',
    'label_callback_file_name' => 'Callback File Name',
    'placeholder_callback_file_name' => 'Callback file (e.g., arenaTop100)',
    'label_callback_file_name_info' => 'Name for identifying the voting site in callbacks (e.g., gtop100, top100arena).',
    'label_siteid' => 'Site ID',
    'placeholder_siteid' => 'Enter server ID on the voting site',
    'label_siteid_info' => 'Your server’s unique ID on the voting site (e.g., SahtoutServer, 12345).',
    'label_url_format' => 'Vote URL Format',
    'placeholder_url_format' => 'e.g., https://site.com/vote/{siteid}/{userid}',
    'label_url_format_info' => 'Use {siteid}, {userid}, or {username} as placeholders.',
];
?>