<?php

return [
    'menu' => 'Promotions',

    // List
    'list_title' => 'Promotions',
    'list_subtitle' => 'Manage automatically-applied discount rules',
    'tables_columns_code' => 'Code',
    'tables_columns_type' => 'Type',
    'tables_columns_amount' => 'Discount',
    'tables_columns_target' => 'Target',
    'tables_columns_usage' => 'Usage',
    'tables_columns_status' => 'Status',
    'tables_columns_dates' => 'Dates',
    'tables_columns_actions' => 'Actions',

    // Buttons
    'buttons_create' => 'New Promotion',
    'buttons_back' => 'Back',
    'buttons_cancel' => 'Cancel',
    'buttons_save' => 'Save',
    'buttons_delete' => 'Delete',
    'buttons_edit' => 'Edit',
    'buttons_activate' => 'Activate',
    'buttons_deactivate' => 'Deactivate',

    // Confirm
    'confirmations_delete' => 'Delete Promotion',
    'confirmations_delete_warning' => 'Are you sure you want to delete this promotion? This action cannot be undone.',

    // Types
    'types_percentage' => 'Percentage',
    'types_fixed' => 'Fixed Amount',

    // Target types
    'target_types_all' => 'All Products',
    'target_types_specific_products' => 'Specific Products',
    'target_types_specific_groups' => 'Specific Groups',

    // Filters
    'filters_all_types' => 'All Types',
    'filters_all_statuses' => 'All Statuses',

    // Statuses
    'statuses_active' => 'Active',
    'statuses_inactive' => 'Inactive',
    'statuses_expired' => 'Expired',
    'statuses_not_started' => 'Not Started',
    'statuses_limit_reached' => 'Limit Reached',

    // Page titles
    'create_title' => 'New Promotion',
    'create_subtitle' => 'Create a new automatically-applied discount rule',
    'edit_title' => 'Edit Promotion',
    'show_title' => 'Promotion Detail',
    'show_subtitle' => 'Promotion information',

    // Form sections
    'fields_general' => 'General',
    'fields_advanced' => 'Advanced Restrictions',
    'target_title' => 'Targeting',
    'advanced_description' => 'These restrictions control who the promotion applies to and which order types it covers.',

    // Fields
    'fields_code' => 'Promotion Code',
    'fields_description' => 'Description',
    'fields_status' => 'Status',
    'fields_type' => 'Promotion Type',
    'fields_currency' => 'Currency',
    'fields_amount' => 'Discount Value',
    'fields_limit' => 'Total Usage Limit',
    'fields_usage_limit_per_client' => 'Per-Client Limit',
    'fields_cycles' => 'Billing Cycles',
    'fields_start_date' => 'Start Date',
    'fields_end_date' => 'End Date',
    'fields_is_combinable' => 'Combinable with other discounts',
    'fields_only_new_client' => 'New clients only',
    'fields_only_existing_client' => 'Existing clients only',
    'fields_only_once_client' => 'Once per client',
    'fields_only_new_orders' => 'New orders only',
    'fields_allow_renewal' => 'Valid on renewals',
    'fields_allow_upgrades' => 'Valid on upgrades',
    'fields_applies_to' => 'Applies To (applies_to)',
    'fields_requires_for' => 'Requires For (requires_for)',
    'target_type' => 'Target Type',
    'target_products' => 'Target Products',
    'target_groups' => 'Target Groups',

    // Help
    'help_code' => 'Uppercase letters, digits, hyphen and underscore only. Unlike coupons, it is applied automatically.',
    'help_amount' => '0-100 for percentage, currency value for fixed amount.',
    'help_cycles' => 'Number of billing cycles the discount applies to (empty = unlimited).',
    'help_target_type' => 'Choose which products/groups the promotion applies to.',
    'help_target_products' => 'Select multiple products with Ctrl/Cmd.',
    'help_target_groups' => 'Select multiple groups with Ctrl/Cmd.',
    'help_applies_to' => 'Optional precondition definition (free text).',
    'help_requires_for' => 'Optional precondition definition (free text).',

    // Placeholders
    'placeholders_select_currency' => 'Select currency',
    'placeholders_unlimited' => 'Unlimited',

    // Messages
    'messages_created' => 'Promotion created successfully.',
    'messages_updated' => 'Promotion updated successfully.',
    'messages_deleted' => 'Promotion deleted successfully.',
    'messages_create_error' => 'An error occurred while creating the promotion.',
    'messages_update_error' => 'An error occurred while updating the promotion.',
    'messages_delete_error' => 'An error occurred while deleting the promotion.',
    'messages_status_updated' => 'Promotion status updated.',

    'yes' => 'Yes',
    'no' => 'No',
];
