<?php

return [
    'forms' => 'Forms',
    'form' => 'Form',
    'create_form' => 'Create form',
    'edit_form' => 'Edit form',
    'delete_form' => 'Delete form',
    'back_to_form' => 'Back to form',

    'recipient_email' => 'Recipient email',
    'cc' => 'CC',
    'bcc' => 'BCC',
    'multiple_emails_hint' => 'Separate multiple addresses with a comma',
    'is_active' => 'Active',
    'active_description' => 'Form is active and accepts submissions',
    'inactive' => 'Inactive',
    'select_form' => 'Select a form',

    // Fields
    'fields' => 'Fields',
    'form_fields' => 'Form fields',
    'field_label' => 'Field label',
    'placeholder_optional' => 'Placeholder (optional)',
    'required' => 'Required',
    'options_per_line' => 'Options (one per line)',
    'no_fields_added' => 'No fields added yet. Drag a field type from above to get started.',
    'remove_field_confirm' => 'Are you sure you want to remove this field?',
    'hide_label' => 'Hide label',
    'checkbox_label' => 'Checkbox label',
    'unnamed_field' => 'Unnamed field',
    'settings' => 'Settings',
    'done' => 'Done',

    // Field width
    'field_width' => 'Width',
    'width_full' => 'Full width',
    'width_half' => 'Half width',

    // Min/max
    'min_value' => 'Minimum',
    'max_value' => 'Maximum',

    // Conditions
    'condition' => 'Condition',
    'add_condition' => 'Add condition',
    'remove_condition' => 'Remove condition',
    'condition_equals' => 'Equals',
    'condition_not_equals' => 'Does not equal',
    'condition_is_empty' => 'Is empty',
    'condition_is_not_empty' => 'Is not empty',
    'condition_is_checked' => 'Is checked',
    'condition_is_not_checked' => 'Is not checked',
    'condition_value' => 'Value',
    'condition_select_value' => 'Select a value...',

    // Field types
    'field_types' => [
        'text' => 'Text',
        'textarea' => 'Textarea',
        'email' => 'Email',
        'phone' => 'Phone',
        'number' => 'Number',
        'date' => 'Date',
        'select' => 'Select',
        'checkbox' => 'Checkbox',
        'file' => 'File',
        'heading' => 'Heading',
    ],

    // Flash messages
    'form_created' => 'Form created.',
    'form_updated' => 'Form updated.',
    'form_deleted' => 'Form deleted.',
    'form_duplicated' => 'Form duplicated.',
    'submission_deleted' => 'Submission deleted.',

    // Submissions
    'submissions' => 'Submissions',
    'summary' => 'Summary',
    'ip_address' => 'IP Address',
    'submitted_at' => 'Submitted at',
    'submission' => 'Submission',
    'view_submission' => 'View',
    'back_to_submissions' => 'Back to submissions',
    'form_name' => 'Form',
    'submitted_data' => 'Submitted data',
    'no_submissions' => 'No submissions yet.',
    'resend_notification' => 'Resend notification',
    'resend' => 'Resend',
    'sending' => 'Sending...',
    'notification_resent' => 'Notification has been resent.',
    'page_url' => 'Page',
    'date_from' => 'From',
    'date_to' => 'To',

    // Duplicate
    'duplicate' => 'Duplicate',
    'copy_of' => 'Copy of :name',

    // Delete
    'delete_form_title' => 'Delete form',
    'delete_form_confirm' => 'Are you sure you want to delete this form? All submissions will also be deleted. This action cannot be undone.',
    'delete_submission_title' => 'Delete submission',
    'delete_submission_confirm' => 'Are you sure you want to delete this submission? This action cannot be undone.',
    'bulk_delete' => 'Delete selected',
    'bulk_delete_title' => 'Delete submissions',
    'bulk_delete_confirm' => 'Are you sure you want to delete :count submission(s)? This action cannot be undone.',
    'clear_filters' => 'Clear filters',

    // Tabs
    'tab_general' => 'General',
    'tab_fields' => 'Fields',
    'tab_confirmation' => 'Confirmation',

    // After submission
    'after_submission' => 'After submission',
    'success_type' => 'Action',
    'success_type_message' => 'Show message',
    'success_type_redirect' => 'Redirect to URL',
    'success_message' => 'Success message',
    'success_message_placeholder' => 'Leave empty for the default message',
    'success_redirect_url' => 'Redirect URL',

    // Auto-reply
    'auto_reply' => 'Auto-reply',
    'auto_reply_enabled' => 'Send auto-reply',
    'auto_reply_description' => 'Send a confirmation email to the submitter',
    'auto_reply_subject' => 'Subject',
    'auto_reply_subject_placeholder' => 'Leave empty for default subject',
    'auto_reply_message' => 'Message',
    'auto_reply_message_placeholder' => 'Leave empty for the default message',
    'auto_reply_default_subject' => 'Thank you for your submission',
    'auto_reply_default_message' => 'We have received your submission and will get back to you soon.',

    // Rate limiting
    'rate_limit' => 'Rate limit',
    'rate_limit_placeholder' => 'e.g. 5',
    'rate_limit_hint' => 'Maximum number of submissions per IP address per minute. Leave empty for no limit.',
    'rate_limit_exceeded' => 'Too many submissions. Please try again later.',

    // Frontend
    'thank_you' => 'Thank you!',
    'submission_received' => 'Your submission has been received. We will get back to you soon.',
    'submit' => 'Submit',
    'submitting' => 'Submitting...',
    'uploading' => 'Uploading...',
    'select_option' => 'Select an option',

    // Notification
    'notification_subject' => 'New form submission: :name',
    'notification_greeting' => 'New submission received',
    'notification_intro' => 'A new submission was received for the form ":name".',
    'uploaded_files' => 'Uploaded files',
    'submitted_at_date' => 'Submitted at: :date',
    'ip_address_value' => 'IP address: :ip',

    'file' => 'File',

    // Validation
    'validation' => [
        'field_required' => ':field is required.',
        'field_email' => ':field must be a valid email address.',
        'field_max_file' => ':field may not be larger than 10MB.',
        'field_numeric' => ':field must be a number.',
        'field_min' => ':field must be at least :min.',
        'field_max' => ':field may not be greater than :max.',
        'field_date' => ':field must be a valid date.',
    ],
];
