<?php

return [
    // Modal
    'product_specs'        => 'Part Numbers & Compatibility',
    'checked'              => 'Checked',
    'part_numbers'         => 'Part / OEM numbers',
    'fits_devices'         => 'Fits these devices',
    'filter_devices'       => 'Filter devices…',
    'compatible_products'  => 'Compatible products',
    'barcodes'             => 'Barcodes / GTINs',

    // Editor / nav
    'product_compatibility' => 'Product Compatibility',
    'editor'               => 'Compatibility Editor',
    'review_queue'         => 'Review Queue',
    'change_report'        => 'Change Report',
    'search_product'       => 'Search product (SKU or name)',
    'get_data'             => 'Get Data',
    'part_number'          => 'Part number',
    'type'                 => 'Type',
    'primary'              => 'Primary',
    'device_models'        => 'Device models',
    'brand'                => 'Brand',
    'series'               => 'Series',
    'model'                => 'Model',
    'add'                  => 'Add',
    'remove'               => 'Remove',
    'save'                 => 'Save',
    'saved'                => 'Compatibility data saved.',

    // Review / cleanup
    'needs_review'         => 'Needs review',
    'mark_checked'         => 'Mark as checked',
    'marked_checked'       => 'Product marked as checked.',
    'remove_custom_fields' => 'Remove custom field data',
    'remove_cf_confirm'    => 'This permanently clears the legacy custom field data for this product. It is only allowed after the product is checked. Continue?',
    'cf_removed'           => 'Legacy custom field data removed.',
    'cf_not_checked'       => 'Mark the product as checked before removing its custom field data.',
    'confidence'           => 'Confidence',
    'source'               => 'Source',

    // Report
    'old_data'             => 'Old data',
    'new_data'             => 'New data',
    'removed_data'         => 'Removed (wrong) data',
    'missing_data'         => 'Missing data',
    'run'                  => 'Run',
    'export'               => 'Export',

    // AI search queue
    'ai_search_queue'      => 'AI Search Queue',
    'offline_batches'      => 'Offline Batches',
    'queue_subtitle'       => 'Products waiting for a full AI data check (parts, devices, barcodes, description, images)',
    'queue_status'         => 'Queue status',
    'queue_empty'          => 'No products in the queue.',
    'queued_at'            => 'Queued at',
    'processed_at'         => 'Processed at',
    'attempts'             => 'Attempts',
    'last_error'           => 'Last error',
    'reason'               => 'Reason',
    'all'                  => 'All',
    'status_queued'        => 'Queued',
    'status_processing'    => 'Processing',
    'status_done'          => 'Done',
    'status_failed'        => 'Failed',
    'status_skipped'       => 'Skipped',
    'add_products'         => 'Add products',
    'add_products_help'    => 'Search and add products to the AI search queue.',
    'add_to_queue'         => 'Add to queue',
    'retry_selected'       => 'Retry selected',
    'skip_selected'        => 'Skip selected',
    'skip_confirm'         => 'Skip the selected entries? They will not be processed.',
    'backfill_missing'     => 'Backfill missing-data products',
    'backfill_help'        => 'Queue existing products that are missing part numbers, a description or an image.',
    'backfill_cap'         => 'Max products to add',
    'backfill_run'         => 'Backfill',
    'backfill_confirm'     => 'Add products with missing data to the queue?',
    'queue_all'            => 'Queue ALL products (full re-check)',
    'queue_all_help'       => 'Queues every product — including complete ones — so a run can verify existing data and flag wrong part numbers, not just fill gaps.',
    'queue_all_confirm'    => 'Queue EVERY product for a full re-check? On a large catalog this adds thousands of entries.',
    'queue_all_done'       => ':count product(s) queued for a full re-check.',
    'queue_added'          => 'Product(s) added to the AI search queue.',
    'queue_retried'        => 'Selected entries re-queued.',
    'queue_skipped'        => 'Selected entries skipped.',
    'queue_backfilled'     => ':count product(s) queued for backfill.',
    'queue_run_now'        => 'Run queue now',
    'stop'                 => 'Stop',
    'queue_card_help'      => 'Full data check (parts, devices, barcodes, description, images) via all sources + AI. Results land in the Review queue.',
    'manage_queue'         => 'Manage queue',
    'queue_recheck_label'  => 'Re-check this product with the AI search queue after saving (results appear in the Review queue)',
    'queue_auto_note'      => 'This product will be added to the AI search queue automatically after saving.',
    'queue_current_status' => 'AI queue status',

    // Review — AI data candidates
    'ai_suggestions'       => 'AI data suggestions',
    'images'               => 'Images',
    'description'          => 'Description',
    'name'                 => 'Name',
    'specifications'       => 'Specifications',
    'corrections'          => 'Corrections',
    'current'              => 'Current',
    'suggested'            => 'Suggested',
    'apply'                => 'Apply',
    'reject'               => 'Reject',
    'keep'                 => 'Keep',
    'remove_flag'          => 'Remove',
    'remove_flag_confirm'  => 'Remove the flagged value from this product?',
    'download_attach'      => 'Download & attach',
    'replace_existing'     => 'Replace existing image',
    'correction_flag'      => 'AI flags ":current" as likely wrong: :problem',
    'candidate_applied'    => 'Suggestion applied.',
    'candidate_rejected'   => 'Rejected :count suggestion(s).',
    'candidate_not_found'  => 'Suggestion not found or already decided.',
    'candidate_apply_failed' => 'Could not apply the suggestion.',
    'use_apply_image'      => 'Use the "Download & attach" button for image suggestions.',
    'image_attached'       => 'Image downloaded and attached.',
    'disabled_in_demo'     => 'Disabled in demo.',
    'bad_image_url'        => 'Invalid image URL.',
    'blocked_image_host'   => 'Image host is not allowed.',
    'image_fetch_failed'   => 'Could not download the image.',
    'bad_image_type'       => 'The URL is not a supported image type.',
    'image_too_large'      => 'Image exceeds the :kb KB limit.',

    // Settings — AI enrichment
    'ai_enrichment'            => 'AI enrichment',
    'ai_provider_configured'   => 'AI provider configured (AiCore)',
    'ai_provider_not_configured' => 'Configure the AI provider & failover chain in AI Settings.',
    'ai_settings_link'         => 'Open AI Settings',
    'ai_queue_enabled'         => 'Enable scheduled AI search queue',
    'ai_queue_enabled_help'    => 'Runs the AI search queue automatically on the schedule below. Requires the server cron (php artisan schedule:run).',
    'ai_queue_frequency'       => 'Queue frequency',
    'ai_queue_batch_size'      => 'Batch size per run',
    'ai_queue_max_attempts'    => 'Max attempts per product',
    'ai_auto_queue_on_create'  => 'Auto-queue new products on create',
    'ai_extra_search'          => 'Run extra search variants for more source text',
    'ai_image_max_kb'          => 'Max downloaded image size (KB)',
    'ai_provider_enabled'      => 'Use AI in the classic enrichment pipeline',
    'ai_provider_enabled_help' => 'Adds the AI provider (opt-in) to the classic search pipeline in addition to the aggressive queue.',
    'ai_require_searxng'       => 'Pause the queue when SearXNG is unreachable',
    'ai_require_searxng_help'  => 'If a SearXNG URL is configured but the instance is down (e.g. your PC / ngrok is off), the run holds and leaves products queued for the next attempt — instead of enriching them without SearXNG.',
    'last_scheduled_run'       => 'Last scheduled run',
    'last_run'                 => 'Last run',
    'no_scheduled_run_yet'     => 'no scheduled run recorded yet — check the server cron',
    'no_run_yet'               => 'The queue has not run yet.',
    'ai_queue_auto_seed'       => 'Auto-feed the queue when empty (check the whole catalog automatically)',
    'ai_queue_auto_seed_help'  => 'When the scheduled worker empties the queue, it pulls in the next batch of never-checked products by itself — so the cron works through your entire catalog with no manual queueing. Stops on its own once every product has been checked once.',
    'ai_queue_auto_seed_cap'   => 'Products to add each time the queue empties',
    'ai_use_model_knowledge'   => 'Let the AI use its own product knowledge (recommended for well-known catalogs)',
    'ai_use_model_knowledge_help' => 'When on, the AI fills description, brand, specs and compatible devices from its own knowledge for well-known products — even when web sources find nothing. Part numbers, barcodes and image URLs still require a real source (never invented). All results remain review-first.',
];
