<?php
/**
 * ╔══════════════════════════════════════════════════════════════════════════════╗
 * ║  PANEL_ADMINA — Multi-language strings for Admin Panel                      ║
 * ╠══════════════════════════════════════════════════════════════════════════════╣
 * ║  ALL user-visible admin panel text lives here.                              ║
 * ║  Keyed by WordPress locale (e.g. 'pl_PL', 'de_DE').                        ║
 * ║  Fallback: 'en_US' → English (via WordPress __() — extractable by make-pot)║
 * ╚══════════════════════════════════════════════════════════════════════════════╝
 */

if ( ! defined( 'ABSPATH' ) ) exit;

// Plik ladowany wylacznie wewnatrz WordPressa (gate ABSPATH powyzej), wiec
// __(), _e(), esc_html__(), esc_attr__() i determine_locale() sa zawsze
// dostepne z rdzenia. Wczesniejsze polyfille dla standalone-lintera usunieto
// — redefiniowanie funkcji rdzenia narusza wytyczne WP.org (PrefixAllGlobals).

/**
 * Get admin panel translations for the current locale.
 *
 * English strings are wrapped in __() so WordPress make-pot can extract them
 * for translate.wordpress.org. Non-English locales are provided as built-in
 * fallbacks (merged over English) for languages not yet on GlotPress.
 *
 * @return array Associative array of translation strings
 */
function parcselect_admin_i18n() {
    static $strings = null;
    if ( $strings !== null ) return $strings;

    $locale = determine_locale();

    // ════════════════════════════════════════════════════
    // ENGLISH — wrapped in __() so make-pot can find them
    // ════════════════════════════════════════════════════
    $en = array(
        // Tabs
        'tab_activator'    => __( 'Activator', 'parcel-selector' ),
        'tab_testing'      => __( 'Testing', 'parcel-selector' ),
        'tab_maps'         => __( 'Maps', 'parcel-selector' ),
        'tab_appearance'   => __( 'Appearance', 'parcel-selector' ),
        'tab_behavior'     => __( 'Behavior', 'parcel-selector' ),
        'tab_settings'     => __( 'Settings', 'parcel-selector' ),
        'tab_contact'      => __( 'Contact', 'parcel-selector' ),
        // Header
        'panel_title'      => __( 'ParcelSelector.com', 'parcel-selector' ),
        'panel_subtitle'   => __( 'International parcel locker selector for WooCommerce', 'parcel-selector' ),
        // Testing tab
        'test_title'       => __( 'API Connection Test', 'parcel-selector' ),
        'test_desc'        => __( 'Test the connection to our server API.', 'parcel-selector' ),
        'test_btn_run'     => __( 'Run Test', 'parcel-selector' ),
        'test_btn_test'    => __( 'Test API Connection', 'parcel-selector' ),
        'test_status_ok'   => __( 'Connection successful!', 'parcel-selector' ),
        'test_status_fail' => __( 'Connection failed. Check your server configuration.', 'parcel-selector' ),
        'test_check'       => __( 'Check', 'parcel-selector' ),
        'test_status'      => __( 'Status', 'parcel-selector' ),
        'test_details'     => __( 'Details', 'parcel-selector' ),
        'test_api_title'   => __( 'Server Connection', 'parcel-selector' ),
        'test_api_desc'    => __( 'Test the connection to parcelselector.com server.', 'parcel-selector' ),
        'test_dev_tools'   => __( 'Development Tools', 'parcel-selector' ),
        'test_dev_desc'    => __( 'These tools are for testing only. Do not use in production.', 'parcel-selector' ),
        'test_reset_title' => __( 'Reset Activation', 'parcel-selector' ),
        'test_reset_desc'  => __( 'Removes all plugin options from the database. Plugin settings will be reset to defaults.', 'parcel-selector' ),
        'test_reset_btn'   => __( 'Reset Activation', 'parcel-selector' ),
        'test_reset_wait'  => __( 'Resetting...', 'parcel-selector' ),
        'test_reset_done'  => __( 'Activation reset successfully!', 'parcel-selector' ),
        // Maps tab
        'map_title'        => __( 'Country Configuration', 'parcel-selector' ),
        'map_desc'         => __( 'Enable or disable countries. Drag to reorder.', 'parcel-selector' ),
        'map_lockers'      => __( 'lockers', 'parcel-selector' ),
        'map_enabled'      => __( 'Enabled', 'parcel-selector' ),
        'map_disabled'     => __( 'Disabled', 'parcel-selector' ),
        'map_engine_desc'  => __( 'Select the map engine used on cart and checkout pages.', 'parcel-selector' ),
        'map_active'       => __( 'Active', 'parcel-selector' ),
        'map_select'       => __( 'Select', 'parcel-selector' ),
        'map_preview'      => __( 'Live Preview', 'parcel-selector' ),
        'map_preview_classic' => __( 'Classic Preview', 'parcel-selector' ),
        'map_save_engine'  => __( 'Save map engine', 'parcel-selector' ),
        'map_drag_hint'    => __( 'Drag to change order', 'parcel-selector' ),
        'map_saas_note'    => __( 'Pickup point data is delivered from the parcelselector.com server. Always up to date, no local storage needed.', 'parcel-selector' ),
        'map_selected'     => __( 'Selected countries', 'parcel-selector' ),
        // Appearance tab
        'app_title'        => __( 'Appearance Settings', 'parcel-selector' ),
        'app_desc'         => __( 'Customize the look and feel of the parcel selector.', 'parcel-selector' ),
        'app_coming_soon'  => __( 'Color schemes coming soon — 2 presets planned.', 'parcel-selector' ),
        'app_color_scheme' => __( 'Color Scheme', 'parcel-selector' ),
        'app_light_theme'  => __( 'Light Theme', 'parcel-selector' ),
        'app_light_desc'   => __( 'Clean white background with yellow-orange accents. Default and recommended.', 'parcel-selector' ),
        'app_dark_theme'   => __( 'Dark Theme', 'parcel-selector' ),
        'app_dark_desc'    => __( 'Dark background with bright accents. Easier on the eyes at night.', 'parcel-selector' ),
        'app_logo'         => __( 'Logo', 'parcel-selector' ),
        'app_show_logo'    => __( 'Show logo in cart/checkout', 'parcel-selector' ),
        'app_logo_note'    => __( 'Change this setting in the Settings tab.', 'parcel-selector' ),
        'app_logo_url'     => __( 'Logo URL', 'parcel-selector' ),
        'app_order_layout' => __( 'Order Summary Layout', 'parcel-selector' ),
        'app_edit_in_settings' => __( 'Edit these values in the Settings tab:', 'parcel-selector' ),
        // Behavior tab
        'beh_title'        => __( 'Behavior Settings', 'parcel-selector' ),
        'beh_desc'         => __( 'Configure how the popup, map, and checkout interact.', 'parcel-selector' ),
        'beh_coming_soon'  => __( 'Detailed behavior settings will be added here.', 'parcel-selector' ),
        'beh_shipping_price'   => __( 'Shipping Price & Delivery', 'parcel-selector' ),
        'beh_ship_free'        => __( 'Free Shipping', 'parcel-selector' ),
        'beh_ship_free_label'  => __( 'Enable free shipping (overrides price below)', 'parcel-selector' ),
        'beh_ship_price'       => __( 'Shipping Price', 'parcel-selector' ),
        'beh_ship_price_desc'  => __( 'Default shipping cost. Used if the WooCommerce zone method has no price set. Ignored when Free Shipping is checked.', 'parcel-selector' ),
        'beh_ship_delivery'    => __( 'Estimated Delivery Time', 'parcel-selector' ),
        'beh_ship_delivery_ph' => __( 'e.g. 1-2 business days', 'parcel-selector' ),
        'beh_ship_delivery_desc' => __( 'Shown in order details and emails. Leave empty to hide.', 'parcel-selector' ),
        'beh_ship_note'        => __( 'Additional Order Note', 'parcel-selector' ),
        'beh_ship_note_ph'     => __( 'Optional text shown in order details (e.g. packing instructions).', 'parcel-selector' ),
        'beh_ship_note_desc'   => __( 'Extra text appended to order details. Leave empty to hide.', 'parcel-selector' ),
        'beh_shipping'     => __( 'Shipping Address', 'parcel-selector' ),
        'beh_save_as_shipping'      => __( 'Save locker as shipping address', 'parcel-selector' ),
        'beh_save_as_shipping_desc' => __( 'When enabled, the selected parcel locker address is saved as the WooCommerce shipping address.', 'parcel-selector' ),
        'beh_weight'       => __( 'Weight Limits', 'parcel-selector' ),
        'beh_weight_enabled' => __( 'Weight limit enabled', 'parcel-selector' ),
        'beh_weight_max'   => __( 'Max weight', 'parcel-selector' ),
        'beh_weight_action'   => __( 'When exceeded', 'parcel-selector' ),
        'beh_weight_hide'     => __( 'Hide locker option', 'parcel-selector' ),
        'beh_weight_disable'  => __( 'Disable locker option', 'parcel-selector' ),
        'beh_dimensions'   => __( 'Dimension Limits', 'parcel-selector' ),
        'beh_dim_enabled'  => __( 'Dimension limit enabled', 'parcel-selector' ),
        'beh_checkout'     => __( 'Checkout Mode', 'parcel-selector' ),
        'beh_classic_checkout' => __( 'Restore classic cart/checkout', 'parcel-selector' ),
        'beh_classic_desc' => __( 'Use WooCommerce shortcode-based cart and checkout instead of block-based.', 'parcel-selector' ),
        // Settings tab
        'set_title'        => __( 'General Settings', 'parcel-selector' ),
        'set_desc'         => __( 'Core WooCommerce integration settings. Uses the WordPress Settings API.', 'parcel-selector' ),
        'set_import_export' => __( 'Import / Export Settings', 'parcel-selector' ),
        'set_import_export_desc' => __( 'Download or upload plugin settings as a JSON file.', 'parcel-selector' ),
        'set_export_btn'   => __( 'Download settings.json', 'parcel-selector' ),
        'set_import_btn'   => __( 'Choose file...', 'parcel-selector' ),
        'set_import_hint'  => __( 'Upload a previously exported JSON file to restore settings.', 'parcel-selector' ),
        'set_export_failed' => __( 'Export failed', 'parcel-selector' ),
        'set_import_invalid' => __( 'Invalid JSON file.', 'parcel-selector' ),
        'set_import_success' => __( 'Settings imported successfully!', 'parcel-selector' ),
        // Contact tab
        'con_title'        => __( 'Contact Us', 'parcel-selector' ),
        'con_desc'         => __( 'Get in touch with the ParcelSelector.com team.', 'parcel-selector' ),
        'con_email'        => __( 'Email', 'parcel-selector' ),
        'con_email_title'  => __( 'Email Us', 'parcel-selector' ),
        'con_email_desc'   => __( 'Send us an email and we will get back to you.', 'parcel-selector' ),
        'con_web_title'    => __( 'Website', 'parcel-selector' ),
        'con_web_desc'     => __( 'Visit our website for more information.', 'parcel-selector' ),
        'con_support_title' => __( 'Support', 'parcel-selector' ),
        'con_support_desc' => __( 'Need help? Check our support portal.', 'parcel-selector' ),
        'con_support_btn'  => __( 'Open Support', 'parcel-selector' ),
        'con_info_title'   => __( 'System Information', 'parcel-selector' ),
        'con_message'      => __( 'Message', 'parcel-selector' ),
        'con_btn_send'     => __( 'Send Message', 'parcel-selector' ),
        'con_placeholder'  => __( 'Describe your issue or question...', 'parcel-selector' ),
        'con_coming_soon'  => __( 'Direct messaging via our API coming soon.', 'parcel-selector' ),
        'con_form_title'   => __( 'Send us a message', 'parcel-selector' ),
        'con_name'         => __( 'Your name', 'parcel-selector' ),
        'con_phone'        => __( 'Phone', 'parcel-selector' ),
        'con_category'     => __( 'Category', 'parcel-selector' ),
        'con_cat_general'  => __( 'General question', 'parcel-selector' ),
        'con_cat_bug'      => __( 'Bug report', 'parcel-selector' ),
        'con_cat_feature'  => __( 'Feature request', 'parcel-selector' ),
        'con_cat_billing'  => __( 'Billing', 'parcel-selector' ),
        'con_cat_technical' => __( 'Technical support', 'parcel-selector' ),
        'con_cat_other'    => __( 'Other', 'parcel-selector' ),
        'con_subject'      => __( 'Subject', 'parcel-selector' ),
        'con_subject_ph'   => __( 'Brief summary of your question', 'parcel-selector' ),
        'con_chars'        => __( 'characters', 'parcel-selector' ),
        'con_err_name'     => __( 'Please enter your name.', 'parcel-selector' ),
        'con_err_email'    => __( 'Please enter a valid email.', 'parcel-selector' ),
        'con_err_short'    => __( 'Message must be at least 10 characters.', 'parcel-selector' ),
        'con_err_long'     => __( 'Message must be under 5000 characters.', 'parcel-selector' ),
        'con_success'      => __( 'Message sent! We will reply within 24 hours.', 'parcel-selector' ),
        // Admin JS notices & Geocoding
        'notice_settings_saved' => __( 'Settings saved successfully!', 'parcel-selector' ),
        'notice_error'     => __( 'An error occurred.', 'parcel-selector' ),
        'js_active'        => __( 'Active', 'parcel-selector' ),
        'js_click_to_select' => __( 'Click to select', 'parcel-selector' ),
        'js_geocode_enter_address' => __( 'Enter at least a street or city.', 'parcel-selector' ),
        'js_geocode_searching' => __( 'Searching...', 'parcel-selector' ),
        'js_geocode_fetch_btn' => __( '📍 Fetch from address', 'parcel-selector' ),
        'js_geocode_found' => __( '✅ Found:', 'parcel-selector' ),
        'js_geocode_not_found' => __( '❌ Not found. Check address or enter coordinates manually.', 'parcel-selector' ),
        'js_geocode_error' => __( 'Connection error. Try later or enter coordinates manually.', 'parcel-selector' ),
        'js_test_connection_btn' => __( '🔌 Test connection', 'parcel-selector' ),
        'js_checking'      => __( 'Checking...', 'parcel-selector' ),
        'js_check_updates_link' => __( 'Check for updates', 'parcel-selector' ),
        'js_update_available' => __( '⚠️ Update available:', 'parcel-selector' ),
        'js_up_to_date'    => __( 'You have the latest version', 'parcel-selector' ),
        'js_reset_confirm_title' => __( 'Reset local plugin data?', 'parcel-selector' ),
        'js_reset_confirm_body' => __( 'Removes the local installation ID and plugin settings from the WordPress database. The pickup-point service keeps its own data.', 'parcel-selector' ),
        'js_resetting'     => __( 'Resetting...', 'parcel-selector' ),
        'js_please_wait'   => __( '⏳ Please wait...', 'parcel-selector' ),
        'js_update_server_error' => __( 'Update server connection error.', 'parcel-selector' ),

        // Behavior - Custom Pickup
        'beh_timing_performance' => __( 'Timing & Performance', 'parcel-selector' ),
        'beh_auto_search_speed' => __( 'Search delay', 'parcel-selector' ),
        'beh_auto_search_desc'  => __( 'How long to wait after the customer types before showing search results on the map. Lower = faster but more requests.', 'parcel-selector' ),
        'beh_pre_popup_delay'   => __( 'Pre-popup delay', 'parcel-selector' ),
        'beh_pre_popup_desc'    => __( 'How long to wait before showing the "Help" popup (5s - 60s).', 'parcel-selector' ),
        'beh_custom_pickup'     => __( 'Custom Pickup Point', 'parcel-selector' ),
        'beh_custom_pickup_enable' => __( 'Enable pickup point', 'parcel-selector' ),
        'beh_custom_pickup_map_msg' => __( 'Add your own pickup point on the locker map', 'parcel-selector' ),
        'beh_custom_pickup_desc'   => __( 'Shown as a highlighted green marker — customer selects it instead of a locker.', 'parcel-selector' ),
        'beh_pu_name'          => __( 'Point name', 'parcel-selector' ),
        'beh_pu_street'        => __( 'Street and number', 'parcel-selector' ),
        'beh_pu_postal_city'   => __( 'Postal / City / Country', 'parcel-selector' ),
        'beh_pu_gps'           => __( 'GPS coordinates', 'parcel-selector' ),
        'beh_pu_lat'           => __( 'Latitude (lat)', 'parcel-selector' ),
        'beh_pu_lng'           => __( 'Longitude (lng)', 'parcel-selector' ),
        'beh_pu_fetch_btn'     => __( '📍 Fetch from address', 'parcel-selector' ),
        'beh_pu_hours'         => __( 'Opening hours', 'parcel-selector' ),
        'beh_pu_additional_desc' => __( 'Additional description', 'parcel-selector' ),
        'beh_pu_label'         => __( 'Label text', 'parcel-selector' ),
        'beh_pu_label_desc'    => __( 'Displayed as a subtitle when the point is selected.', 'parcel-selector' ),
        'beh_pu_priority'      => __( 'Priority', 'parcel-selector' ),
        'beh_pu_priority_msg'  => __( 'Show this point first in the list', 'parcel-selector' ),
        'beh_pu_highlight'     => __( 'Highlight', 'parcel-selector' ),
        'beh_pu_highlight_msg' => __( 'Highlight this point with a special green icon', 'parcel-selector' ),
        'beh_pu_animation'     => __( 'Map opening animation', 'parcel-selector' ),
        'beh_pu_zoom_direct'   => __( 'Direct', 'parcel-selector' ),
        'beh_pu_zoom_direct_desc' => __( 'Center on point.', 'parcel-selector' ),
        'beh_pu_zoom_poland'   => __( 'Poland', 'parcel-selector' ),
        'beh_pu_zoom_poland_desc' => __( 'Fly from country view.', 'parcel-selector' ),
        'beh_pu_zoom_europe'   => __( 'Europe', 'parcel-selector' ),
        'beh_pu_zoom_europe_desc' => __( 'European panorama.', 'parcel-selector' ),
        'beh_pu_zoom_world'    => __( 'World', 'parcel-selector' ),
        'beh_pu_zoom_world_desc' => __( 'Globe view.', 'parcel-selector' ),

        // SCAN TO DELIVER
        'beh_std_title'       => __( 'Scan to Deliver', 'parcel-selector' ),
        'beh_std_enable'      => __( 'Show QR code in point selection panel', 'parcel-selector' ),
        'beh_std_enable_desc' => __( 'Displays a scannable QR code linking to the pickup point page when a customer selects a point on the map.', 'parcel-selector' ),

        // Common
        'save_changes'     => __( 'Save Changes', 'parcel-selector' ),
        'saved'            => __( 'Settings saved.', 'parcel-selector' ),
        'error'            => __( 'An error occurred.', 'parcel-selector' ),
        'loading'          => __( 'Loading...', 'parcel-selector' ),
        'coming_soon'      => __( 'Coming soon', 'parcel-selector' ),
        'free_version'     => __( 'FREE version', 'parcel-selector' ),
        'powered_by'       => __( 'Powered by ParcelSelector.com', 'parcel-selector' ),
        'map_engine_title' => __( 'Map Engine', 'parcel-selector' ),

        // Diagnostics
        'diag_title'       => __( '🔬 Diagnostics & Hosting Compatibility', 'parcel-selector' ),
        'diag_desc'        => __( 'System checks for ParcelSelector', 'parcel-selector' ),
        'diag_env_check'   => __( 'Environment Check', 'parcel-selector' ),
        'diag_shipping_methods' => __( 'Shipping Methods', 'parcel-selector' ),
        'diag_conflicts'   => __( 'Conflict Detection', 'parcel-selector' ),
        'diag_logs'        => __( 'Logs', 'parcel-selector' ),
        'diag_run_tests'   => __( 'Run Diagnostics', 'parcel-selector' ),

        // Order displays
        'order_pickup_title' => __( 'Personal Pickup Point', 'parcel-selector' ),
        'order_locker_title' => __( 'Selected InPost Parcel Locker', 'parcel-selector' ),
        'order_no_locker'    => __( 'No parcel locker selected for this order.', 'parcel-selector' ),
        'order_shipping_details' => __( 'InPost Shipping Details', 'parcel-selector' ),
        
        // Extra JS
        'js_diag_checkout_ready' => __( '✅ Basket ready! Checkout opened in new tab.', 'parcel-selector' ),
        'js_diag_checkout_err'   => __( '❌ Checkout button not found.', 'parcel-selector' ),
    );

    // ════════════════════════════════════════════════════
    // NON-ENGLISH LOCALES — built-in fallbacks
    // Merged over $en; override only the keys they define.
    // When translate.wordpress.org provides a .po file for
    // a locale listed here, the __() fallback in $en takes
    // precedence for any key NOT present in the locale array.
    // ════════════════════════════════════════════════════
    $locales = array(

        // ════════════════════════════════════════════════════
        // POLISH
        // ════════════════════════════════════════════════════
        'pl_PL' => array(
            'tab_activator'    => 'Aktywator',
            'tab_testing'      => 'Testowanie',
            'tab_maps'         => 'Mapy',
            'tab_appearance'   => "Wygl\xC4\x85d",
            'tab_behavior'     => 'Zachowanie',
            'tab_settings'     => 'Ustawienia',
            'tab_contact'      => 'Kontakt',
            'panel_title'      => 'ParcelSelector.com',
            'panel_subtitle'   => "Mi\xC4\x99dzynarodowy selektor paczkomat\xC3\xB3w dla WooCommerce",
            'test_title'       => "Test po\xC5\x82\xC4\x85czenia z API",
            'test_desc'        => "Sprawd\xC5\xBA po\xC5\x82\xC4\x85czenie z naszym serwerem API.",
            'test_btn_run'     => "Uruchom test",
            'test_btn_test'    => "Testuj po\xC5\x82\xC4\x85czenie API",
            'test_status_ok'   => "Po\xC5\x82\xC4\x85czenie udane!",
            'test_status_fail' => "Po\xC5\x82\xC4\x85czenie nieudane. Sprawd\xC5\xBA konfiguracj\xC4\x99 serwera.",
            'test_check'       => 'Sprawdzenie',
            'test_status'      => 'Status',
            'test_details'     => "Szczeg\xC3\xB3\xC5\x82y",
            'test_api_title'   => "Po\xC5\x82\xC4\x85czenie z API SaaS",
            'test_api_desc'    => "Przetestuj po\xC5\x82\xC4\x85czenie z serwerem API parcelselector.com.",
            'test_dev_tools'   => "Narz\xC4\x99dzia deweloperskie",
            'test_dev_desc'    => "Te narz\xC4\x99dzia s\xC5\x82u\xC5\xBC\xC4\x85 wy\xC5\x82\xC4\x85cznie do testowania. Nie u\xC5\xBCywaj na produkcji.",
            'test_reset_title' => "Reset aktywacji licencji",
            'test_reset_desc'  => "Usuwa wszystkie opcje wtyczki z bazy danych. Ustawienia wtyczki zostan\xC4\x85 przywr\xC3\xB3cone do warto\xC5\x9Bci domy\xC5\x9Blnych.",
            'test_reset_btn'   => "Resetuj aktywacj\xC4\x99",
            'test_reset_wait'  => "Resetuj\xC4\x99...",
            'test_reset_done'  => "Aktywacja zresetowana pomy\xC5\x9Blnie!",
            'map_title'        => "Konfiguracja kraj\xC3\xB3w",
            'map_desc'         => "W\xC5\x82\xC4\x85cz lub wy\xC5\x82\xC4\x85cz kraje. Przeci\xC4\x85gnij, aby zmieni\xC4\x87 kolejno\xC5\x9B\xC4\x87.",
            'map_lockers'      => "paczkomat\xC3\xB3w",
            'map_enabled'      => "W\xC5\x82\xC4\x85czony",
            'map_disabled'     => "Wy\xC5\x82\xC4\x85czony",
            'map_engine_desc'  => "Wybierz technologi\xC4\x99 mapy uruchamianej w koszyku i kasie.",
            'map_active'       => 'Aktywny',
            'map_select'       => 'Wybierz',
            'map_preview'      => "Podgl\xC4\x85d Live",
            'map_preview_classic' => "Podgl\xC4\x85d Classic",
            'map_save_engine'  => 'Zapisz silnik mapy',
            'map_drag_hint'    => "Przeci\xC4\x85gnij, aby zmieni\xC4\x87 kolejno\xC5\x9B\xC4\x87",
            'map_saas_note'    => "Model SaaS: Dane paczkomat\xC3\xB3w s\xC4\x85 pobierane z serwera API parcelselector.com. Nie wymaga lokalnego przechowywania danych.",
            'map_selected'     => 'Wybrane kraje',
            'app_title'        => "Ustawienia wygl\xC4\x85du",
            'app_desc'         => "Dostosuj wygl\xC4\x85d selektora paczkomat\xC3\xB3w.",
            'app_coming_soon'  => "Schematy kolor\xC3\xB3w wkr\xC3\xB3tce \xe2\x80\x94 2 presety planowane.",
            'app_color_scheme' => "Schemat kolor\xC3\xB3w",
            'app_light_theme'  => 'Jasny motyw',
            'app_light_desc'   => "Czyste bia\xC5\x82e t\xC5\x82o z \xC5\xBC\xC3\xB3\xC5\x82to-pomara\xC5\x84czowymi akcentami. Domy\xC5\x9Blny i zalecany.",
            'app_dark_theme'   => 'Ciemny motyw',
            'app_dark_desc'    => "Ciemne t\xC5\x82o z jasnymi akcentami. \xC5\x81atwiejszy dla oczu w nocy.",
            'app_logo'         => 'Logo',
            'app_show_logo'    => "Poka\xC5\xBC logo w koszyku/kasie",
            'app_logo_note'    => "Zmie\xC5\x84 to ustawienie w zak\xC5\x82adce Ustawienia.",
            'app_logo_url'     => 'URL logo',
            'app_order_layout' => "Uk\xC5\x82ad podsumowania zam\xC3\xB3wienia",
            'app_edit_in_settings' => "Edytuj te warto\xC5\x9Bci w zak\xC5\x82adce Ustawienia:",
            'beh_title'        => 'Ustawienia zachowania',
            'beh_desc'         => "Skonfiguruj interakcje popupu, mapy i checkoutu.",
            'beh_coming_soon'  => "Szczeg\xC3\xB3\xC5\x82owe ustawienia zachowania pojawi\xC4\x85 si\xC4\x99 tutaj.",
            'beh_shipping_price'   => "Cena wysy\xC5\x82ki i dostawa",
            'beh_ship_free'        => "Darmowa wysy\xC5\x82ka",
            'beh_ship_free_label'  => "W\xC5\x82\xC4\x85cz darmow\xC4\x85 wysy\xC5\x82k\xC4\x99 (nadpisuje cen\xC4\x99 poni\xC5\xBCej)",
            'beh_ship_price'       => "Cena wysy\xC5\x82ki",
            'beh_ship_price_desc'  => "Domy\xC5\x9Blny koszt wysy\xC5\x82ki. U\xC5\xBCywany je\xC5\x9Bli metoda w strefie WC nie ma ustawionej ceny. Ignorowany gdy zaznaczono Darmow\xC4\x85 wysy\xC5\x82k\xC4\x99.",
            'beh_ship_delivery'    => "Szacowany czas dostawy",
            'beh_ship_delivery_ph' => 'np. 1-2 dni robocze',
            'beh_ship_delivery_desc' => "Wy\xC5\x9Bwietlany w szczeg\xC3\xB3\xC5\x82ach zam\xC3\xB3wienia i emailach. Zostaw puste aby ukry\xC4\x87.",
            'beh_ship_note'        => "Dodatkowa uwaga do zam\xC3\xB3wienia",
            'beh_ship_note_ph'     => "Opcjonalny tekst widoczny w zam\xC3\xB3wieniu (np. instrukcje pakowania).",
            'beh_ship_note_desc'   => "Dodatkowy tekst do\xC5\x82\xC4\x85czany do szczeg\xC3\xB3\xC5\x82\xC3\xB3w zam\xC3\xB3wienia. Zostaw puste aby ukry\xC4\x87.",
            'beh_shipping'     => 'Adres dostawy',
            'beh_save_as_shipping'      => "Zapisz paczkomat jako adres dostawy",
            'beh_save_as_shipping_desc' => "Po w\xC5\x82\xC4\x85czeniu wybrany adres paczkomatu jest zapisywany jako adres dostawy WooCommerce.",
            'beh_weight'       => "Limity wagi",
            'beh_weight_enabled' => "Limit wagi w\xC5\x82\xC4\x85czony",
            'beh_weight_max'   => 'Maks. waga',
            'beh_weight_action'   => 'Gdy przekroczono',
            'beh_weight_hide'     => "Ukryj opcj\xC4\x99 paczkomatu",
            'beh_weight_disable'  => "Wy\xC5\x82\xC4\x85cz opcj\xC4\x99 paczkomatu",
            'beh_dimensions'   => "Limity wymiar\xC3\xB3w",
            'beh_dim_enabled'  => "Limit wymiar\xC3\xB3w w\xC5\x82\xC4\x85czony",
            'beh_checkout'     => 'Tryb kasy',
            'beh_classic_checkout' => "Przywr\xC3\xB3\xC4\x87 klasyczny koszyk/kas\xC4\x99",
            'beh_classic_desc' => "U\xC5\xBCyj koszyka i kasy opartych na shortcodach zamiast blok\xC3\xB3w.",
            'set_title'        => "Ustawienia og\xC3\xB3lne",
            'set_desc'         => 'Podstawowe ustawienia integracji z WooCommerce.',
            'set_import_export' => "Import / Eksport ustawie\xC5\x84",
            'set_import_export_desc' => "Pobierz lub wgraj ustawienia wtyczki jako plik JSON.",
            'set_export_btn'   => "Pobierz settings.json",
            'set_import_btn'   => "Wybierz plik...",
            'set_import_hint'  => "Wgraj poprzednio wyeksportowany plik JSON, aby przywr\xC3\xB3ci\xC4\x87 ustawienia.",
            'set_export_failed' => "Eksport nieudany",
            'set_import_invalid' => "Nieprawid\xC5\x82owy plik JSON.",
            'set_import_success' => "Ustawienia zaimportowane pomy\xC5\x9Blnie!",
            'con_title'        => 'Kontakt',
            'con_desc'         => "Skontaktuj si\xC4\x99 z zespo\xC5\x82em ParcelSelector.com.",
            'con_email'        => 'Email',
            'con_email_title'  => "Napisz do nas",
            'con_email_desc'   => "Wy\xC5\x9Blij nam e-mail, a odpowiemy.",
            'con_web_title'    => 'Strona WWW',
            'con_web_desc'     => "Odwied\xC5\xBA nasz\xC4\x85 stron\xC4\x99 po wi\xC4\x99cej informacji.",
            'con_support_title' => 'Wsparcie',
            'con_support_desc' => "Potrzebujesz pomocy? Sprawd\xC5\xBA nasz portal wsparcia.",
            'con_support_btn'  => "Otw\xC3\xB3rz wsparcie",
            'con_info_title'   => 'Informacje systemowe',
            'con_message'      => "Wiadomo\xC5\x9B\xC4\x87",
            'con_btn_send'     => "Wy\xC5\x9Blij wiadomo\xC5\x9B\xC4\x87",
            'con_placeholder'  => "Opisz sw\xC3\xB3j problem lub pytanie...",
            'con_coming_soon'  => "Bezpo\xC5\x9Brednia komunikacja przez nasze API wkr\xC3\xB3tce.",
            'con_form_title'   => "Wy\xC5\x9Blij nam wiadomo\xC5\x9B\xC4\x87",
            'con_name'         => "Twoje imi\xC4\x99",
            'con_phone'        => 'Telefon',
            'con_category'     => 'Kategoria',
            'con_cat_general'  => "Pytanie og\xC3\xB3lne",
            'con_cat_bug'      => "Zg\xC5\x82oszenie b\xC5\x82\xC4\x99du",
            'con_cat_feature'  => "Pro\xC5\x9Bba o funkcj\xC4\x99",
            'con_cat_billing'  => "P\xC5\x82atno\xC5\x9B\xC4\x87",
            'con_cat_technical' => 'Wsparcie techniczne',
            'con_cat_other'    => 'Inne',
            'con_subject'      => 'Temat',
            'con_subject_ph'   => "Kr\xC3\xB3tkie podsumowanie pytania",
            'con_chars'        => "znak\xC3\xB3w",
            'con_err_name'     => "Prosz\xC4\x99 poda\xC4\x87 imi\xC4\x99.",
            'con_err_email'    => "Prosz\xC4\x99 poda\xC4\x87 prawid\xC5\x82owy email.",
            'con_err_short'    => "Wiadomo\xC5\x9B\xC4\x87 musi mie\xC4\x87 co najmniej 10 znak\xC3\xB3w.",
            'con_err_long'     => "Wiadomo\xC5\x9B\xC4\x87 musi mie\xC4\x87 mniej ni\xC5\xBC 5000 znak\xC3\xB3w.",
            'con_success'      => "Wiadomo\xC5\x9B\xC4\x87 wys\xC5\x82ana! Odpowiemy w ci\xC4\x85gu 24 godzin.",
            'save_changes'     => 'Zapisz zmiany',
            'saved'            => 'Ustawienia zapisane.',
            'error'            => "Wyst\xC4\x85pi\xC5\x82 b\xC5\x82\xC4\x85d.",
            'loading'          => "\xC5\x81adowanie...",
            'coming_soon'      => "Wkr\xC3\xB3tce",
            'free_version'     => 'Wersja FREE',
            'powered_by'       => 'Selektor dostarczony przez ParcelSelector.com',
        ),

        // ════════════════════════════════════════════════════
        // GERMAN
        // ════════════════════════════════════════════════════
        'de_DE' => array(
            'tab_activator'    => 'Aktivierung',
            'tab_testing'      => 'Testen',
            'tab_maps'         => 'Karten',
            'tab_appearance'   => 'Aussehen',
            'tab_behavior'     => 'Verhalten',
            'tab_settings'     => 'Einstellungen',
            'tab_contact'      => 'Kontakt',
            'panel_title'      => 'ParcelSelector.com',
            'panel_subtitle'   => 'Internationaler Paketautomaten-W\xC3\xA4hler f\xC3\xBCr WooCommerce',
            'test_title'       => 'API-Verbindungstest',
            'test_desc'        => 'Testen Sie die Verbindung zu unserem API-Server.',
            'test_btn_run'     => 'Test starten',
            'test_btn_test'    => 'API-Verbindung testen',
            'test_status_ok'   => 'Verbindung erfolgreich!',
            'test_status_fail' => 'Verbindung fehlgeschlagen. \xC3\x9Cberpr\xC3\xBCfen Sie die Serverkonfiguration.',
            'test_check'       => 'Pr\xC3\xBCfung',
            'test_status'      => 'Status',
            'test_details'     => 'Details',
            'test_api_title'   => 'SaaS API-Verbindung',
            'test_api_desc'    => 'Testen Sie die Verbindung zum parcelselector.com API-Server.',
            'map_title'        => 'L\xC3\xA4nderkonfiguration',
            'map_desc'         => 'L\xC3\xA4nder aktivieren oder deaktivieren. Ziehen zum Neuordnen.',
            'map_lockers'      => 'Paketautomaten',
            'map_enabled'      => 'Aktiviert',
            'map_disabled'     => 'Deaktiviert',
            'map_drag_hint'    => 'Ziehen zum \xC3\x84ndern der Reihenfolge',
            'map_saas_note'    => 'SaaS-Modell: Paketautomaten-Daten werden vom parcelselector.com API-Server abgerufen.',
            'map_selected'     => 'Ausgew\xC3\xA4hlte L\xC3\xA4nder',
            'app_title'        => 'Erscheinungsbild-Einstellungen',
            'app_desc'         => 'Passen Sie das Erscheinungsbild des Paketautomaten-W\xC3\xA4hlers an.',
            'app_coming_soon'  => 'Farbschemata kommen bald.',
            'app_color_scheme' => 'Farbschema',
            'app_light_theme'  => 'Helles Design',
            'app_light_desc'   => 'Wei\xC3\x9Fer Hintergrund mit gelb-orangen Akzenten. Standard.',
            'app_dark_theme'   => 'Dunkles Design',
            'app_dark_desc'    => 'Dunkler Hintergrund mit hellen Akzenten.',
            'app_logo'         => 'Logo',
            'app_show_logo'    => 'Logo in Warenkorb/Checkout anzeigen',
            'app_logo_note'    => 'Diese Einstellung im Einstellungen-Tab \xC3\xA4ndern.',
            'app_logo_url'     => 'Logo-URL',
            'app_order_layout' => 'Bestellübersicht-Layout',
            'app_edit_in_settings' => 'Diese Werte im Einstellungen-Tab bearbeiten:',
            'beh_title'        => 'Verhaltens-Einstellungen',
            'beh_desc'         => 'Konfigurieren Sie das Popup, die Karte und den Checkout.',
            'beh_coming_soon'  => 'Detaillierte Verhaltenseinstellungen werden hier hinzugef\xC3\xBCgt.',
            'beh_shipping'     => 'Lieferadresse',
            'beh_save_as_shipping'      => 'Paketautomat als Lieferadresse speichern',
            'beh_save_as_shipping_desc' => 'Wenn aktiviert, wird die Adresse als WooCommerce-Lieferadresse gespeichert.',
            'beh_weight'       => 'Gewichtslimits',
            'beh_weight_enabled' => 'Gewichtslimit aktiviert',
            'beh_weight_max'   => 'Max. Gewicht',
            'beh_weight_action'   => 'Bei \xC3\x9Cberschreitung',
            'beh_weight_hide'     => 'Paketautomat-Option ausblenden',
            'beh_weight_disable'  => 'Paketautomat-Option deaktivieren',
            'beh_dimensions'   => 'Ma\xC3\x9Flimits',
            'beh_dim_enabled'  => 'Ma\xC3\x9Flimit aktiviert',
            'beh_checkout'     => 'Checkout-Modus',
            'beh_classic_checkout' => 'Klassischen Warenkorb/Checkout wiederherstellen',
            'beh_classic_desc' => 'Shortcode-basierten Warenkorb und Checkout verwenden.',
            'set_title'        => 'Allgemeine Einstellungen',
            'set_desc'         => 'WooCommerce-Integrationseinstellungen. Verwendet die WordPress Settings API.',
            'con_title'        => 'Kontakt',
            'con_desc'         => 'Nehmen Sie Kontakt mit dem ParcelSelector.com-Team auf.',
            'con_email'        => 'E-Mail',
            'con_email_title'  => 'E-Mail senden',
            'con_email_desc'   => 'Senden Sie uns eine E-Mail und wir melden uns zur\xC3\xBCck.',
            'con_web_title'    => 'Webseite',
            'con_web_desc'     => 'Besuchen Sie unsere Webseite f\xC3\xBCr mehr Informationen.',
            'con_support_title' => 'Support',
            'con_support_desc' => 'Hilfe ben\xC3\xB6tigt? Besuchen Sie unser Support-Portal.',
            'con_support_btn'  => 'Support \xC3\xB6ffnen',
            'con_info_title'   => 'Systeminformationen',
            'con_message'      => 'Nachricht',
            'con_btn_send'     => 'Nachricht senden',
            'con_placeholder'  => 'Beschreiben Sie Ihr Problem oder Ihre Frage...',
            'con_coming_soon'  => 'Direkte Kommunikation via API kommt bald.',
            'con_form_title'   => 'Nachricht senden',
            'con_name'         => 'Ihr Name',
            'con_phone'        => 'Telefon',
            'con_category'     => 'Kategorie',
            'con_cat_general'  => 'Allgemeine Frage',
            'con_cat_bug'      => 'Fehlermeldung',
            'con_cat_feature'  => 'Funktionsanfrage',
            'con_cat_billing'  => 'Abrechnung',
            'con_cat_technical' => 'Technischer Support',
            'con_cat_other'    => 'Sonstiges',
            'con_subject'      => 'Betreff',
            'con_subject_ph'   => 'Kurze Zusammenfassung Ihrer Frage',
            'con_chars'        => 'Zeichen',
            'con_err_name'     => 'Bitte geben Sie Ihren Namen ein.',
            'con_err_email'    => 'Bitte geben Sie eine g\xC3\xBCltige E-Mail ein.',
            'con_err_short'    => 'Nachricht muss mindestens 10 Zeichen lang sein.',
            'con_err_long'     => 'Nachricht muss unter 5000 Zeichen liegen.',
            'con_success'      => 'Nachricht gesendet! Wir antworten innerhalb von 24 Stunden.',
            'save_changes'     => '\xC3\x84nderungen speichern',
            'saved'            => 'Einstellungen gespeichert.',
            'error'            => 'Ein Fehler ist aufgetreten.',
            'loading'          => 'Laden...',
            'coming_soon'      => 'Bald verf\xC3\xBCgbar',
            'free_version'     => 'KOSTENLOSE Version',
            'powered_by'       => 'Bereitgestellt von ParcelSelector.com',
        ),

        // ════════════════════════════════════════════════════
        // FRENCH
        // ════════════════════════════════════════════════════
        'fr_FR' => array(
            'tab_activator'    => 'Activation',
            'tab_testing'      => 'Tests',
            'tab_maps'         => 'Cartes',
            'tab_appearance'   => 'Apparence',
            'tab_behavior'     => 'Comportement',
            'tab_settings'     => "Param\xC3\xA8tres",
            'tab_contact'      => 'Contact',
            'panel_title'      => 'ParcelSelector.com',
            'panel_subtitle'   => 'S\xC3\xA9lecteur international de points relais pour WooCommerce',
            'test_title'       => 'Test de connexion API',
            'test_desc'        => 'Testez la connexion \xC3\xA0 notre serveur API.',
            'test_btn_run'     => 'Lancer le test',
            'test_btn_test'    => 'Tester la connexion API',
            'test_status_ok'   => 'Connexion r\xC3\xA9ussie !',
            'test_status_fail' => 'Connexion \xC3\xA9chou\xC3\xA9e. V\xC3\xA9rifiez votre configuration serveur.',
            'test_check'       => 'V\xC3\xA9rification',
            'test_status'      => 'Statut',
            'test_details'     => 'D\xC3\xA9tails',
            'test_api_title'   => 'Connexion API SaaS',
            'test_api_desc'    => 'Testez la connexion au serveur API parcelselector.com.',
            'map_title'        => 'Configuration des pays',
            'map_desc'         => 'Activez ou d\xC3\xA9sactivez les pays. Glissez pour r\xC3\xA9organiser.',
            'map_lockers'      => 'points relais',
            'map_enabled'      => 'Activ\xC3\xA9',
            'map_disabled'     => 'D\xC3\xA9sactiv\xC3\xA9',
            'map_drag_hint'    => "Glisser pour changer l'ordre",
            'map_saas_note'    => 'Mod\xC3\xA8le SaaS : donn\xC3\xA9es r\xC3\xA9cup\xC3\xA9r\xC3\xA9es depuis parcelselector.com.',
            'map_selected'     => 'Pays s\xC3\xA9lectionn\xC3\xA9s',
            'app_title'        => "Param\xC3\xA8tres d'apparence",
            'app_desc'         => "Personnalisez l'apparence du s\xC3\xA9lecteur.",
            'app_coming_soon'  => 'Th\xC3\xA8mes de couleurs bient\xC3\xB4t disponibles.',
            'app_color_scheme' => 'Th\xC3\xA8me de couleurs',
            'app_light_theme'  => 'Th\xC3\xA8me clair',
            'app_light_desc'   => 'Fond blanc avec accents jaune-orange. Par d\xC3\xA9faut.',
            'app_dark_theme'   => 'Th\xC3\xA8me sombre',
            'app_dark_desc'    => 'Fond sombre avec accents lumineux.',
            'app_logo'         => 'Logo',
            'app_show_logo'    => 'Afficher le logo dans le panier/checkout',
            'app_logo_note'    => "Modifiez ce param\xC3\xA8tre dans l'onglet Param\xC3\xA8tres.",
            'app_logo_url'     => 'URL du logo',
            'app_order_layout' => 'Mise en page du r\xC3\xA9capitulatif',
            'app_edit_in_settings' => "Modifiez dans l'onglet Param\xC3\xA8tres :",
            'beh_title'        => 'Param\xC3\xA8tres de comportement',
            'beh_desc'         => 'Configurez le popup, la carte et le checkout.',
            'beh_coming_soon'  => 'Param\xC3\xA8tres d\xC3\xA9taill\xC3\xA9s bient\xC3\xB4t disponibles.',
            'beh_shipping'     => 'Adresse de livraison',
            'beh_save_as_shipping'      => 'Enregistrer comme adresse de livraison',
            'beh_save_as_shipping_desc' => "L'adresse du point relais est enregistr\xC3\xA9e comme adresse de livraison WooCommerce.",
            'beh_weight'       => 'Limites de poids',
            'beh_weight_enabled' => 'Limite de poids activ\xC3\xA9e',
            'beh_weight_max'   => 'Poids max',
            'beh_weight_action'   => 'Si d\xC3\xA9pass\xC3\xA9',
            'beh_weight_hide'     => "Masquer l'option",
            'beh_weight_disable'  => "D\xC3\xA9sactiver l'option",
            'beh_dimensions'   => 'Limites de dimensions',
            'beh_dim_enabled'  => 'Limite de dimensions activ\xC3\xA9e',
            'beh_checkout'     => 'Mode checkout',
            'beh_classic_checkout' => 'Restaurer le checkout classique',
            'beh_classic_desc' => 'Utiliser le checkout bas\xC3\xA9 sur les shortcodes.',
            'set_title'        => "Param\xC3\xA8tres g\xC3\xA9n\xC3\xA9raux",
            'set_desc'         => "Param\xC3\xA8tres d'int\xC3\xA9gration WooCommerce.",
            'con_title'        => 'Contact',
            'con_desc'         => "Contactez l'\xC3\xA9quipe ParcelSelector.com.",
            'con_email'        => 'E-mail',
            'con_email_title'  => 'Nous envoyer un e-mail',
            'con_email_desc'   => 'Envoyez-nous un e-mail et nous vous r\xC3\xA9pondrons.',
            'con_web_title'    => 'Site web',
            'con_web_desc'     => "Visitez notre site web pour plus d'informations.",
            'con_support_title' => 'Support',
            'con_support_desc' => "Besoin d'aide ? Consultez notre portail de support.",
            'con_support_btn'  => 'Ouvrir le support',
            'con_info_title'   => 'Informations syst\xC3\xA8me',
            'con_message'      => 'Message',
            'con_btn_send'     => 'Envoyer le message',
            'con_placeholder'  => 'D\xC3\xA9crivez votre probl\xC3\xA8me ou votre question...',
            'con_coming_soon'  => 'Messagerie directe via notre API bient\xC3\xB4t disponible.',
            'con_form_title'   => 'Nous envoyer un message',
            'con_name'         => 'Votre nom',
            'con_phone'        => 'T\xC3\xA9l\xC3\xA9phone',
            'con_category'     => 'Cat\xC3\xA9gorie',
            'con_cat_general'  => 'Question g\xC3\xA9n\xC3\xA9rale',
            'con_cat_bug'      => 'Rapport de bug',
            'con_cat_feature'  => 'Demande de fonctionnalit\xC3\xA9',
            'con_cat_billing'  => 'Facturation',
            'con_cat_technical' => 'Support technique',
            'con_cat_other'    => 'Autre',
            'con_subject'      => 'Sujet',
            'con_subject_ph'   => 'Bref r\xC3\xA9sum\xC3\xA9 de votre question',
            'con_chars'        => 'caract\xC3\xA8res',
            'con_err_name'     => 'Veuillez entrer votre nom.',
            'con_err_email'    => 'Veuillez entrer un e-mail valide.',
            'con_err_short'    => 'Le message doit comporter au moins 10 caract\xC3\xA8res.',
            'con_err_long'     => 'Le message doit comporter moins de 5000 caract\xC3\xA8res.',
            'con_success'      => 'Message envoy\xC3\xA9 ! Nous r\xC3\xA9pondrons dans les 24 heures.',
            'save_changes'     => 'Enregistrer les modifications',
            'saved'            => 'Param\xC3\xA8tres enregistr\xC3\xA9s.',
            'error'            => 'Une erreur est survenue.',
            'loading'          => 'Chargement...',
            'coming_soon'      => 'Bient\xC3\xB4t disponible',
            'free_version'     => 'Version GRATUITE',
            'powered_by'       => 'Fourni par ParcelSelector.com',
        ),

        // ════════════════════════════════════════════════════
        // SPANISH
        // ════════════════════════════════════════════════════
        'es_ES' => array(
            'tab_activator'    => "Activaci\xC3\xB3n",
            'tab_testing'      => 'Pruebas',
            'tab_maps'         => 'Mapas',
            'tab_appearance'   => 'Apariencia',
            'tab_behavior'     => 'Comportamiento',
            'tab_settings'     => 'Ajustes',
            'tab_contact'      => 'Contacto',
            'panel_title'      => 'ParcelSelector.com',
            'panel_subtitle'   => 'Selector internacional de taquillas de paquetes para WooCommerce',
            'save_changes'     => 'Guardar cambios',
            'saved'            => 'Ajustes guardados.',
            'coming_soon'      => "Pr\xC3\xB3ximamente",
        ),

        // ════════════════════════════════════════════════════
        // ITALIAN
        // ════════════════════════════════════════════════════
        'it_IT' => array(
            'tab_activator'    => 'Attivazione',
            'tab_testing'      => 'Test',
            'tab_maps'         => 'Mappe',
            'tab_appearance'   => 'Aspetto',
            'tab_behavior'     => 'Comportamento',
            'tab_settings'     => 'Impostazioni',
            'tab_contact'      => 'Contatto',
            'panel_title'      => 'ParcelSelector.com',
            'panel_subtitle'   => 'Selettore internazionale di punti di ritiro per WooCommerce',
            'save_changes'     => 'Salva modifiche',
            'saved'            => 'Impostazioni salvate.',
            'coming_soon'      => 'Prossimamente',
        ),

        // ════════════════════════════════════════════════════
        // PORTUGUESE
        // ════════════════════════════════════════════════════
        'pt_PT' => array(
            'tab_activator'    => "Ativa\xC3\xA7\xC3\xA3o",
            'tab_testing'      => 'Testes',
            'tab_maps'         => 'Mapas',
            'tab_appearance'   => "Apar\xC3\xAAncia",
            'tab_behavior'     => 'Comportamento',
            'tab_settings'     => "Configura\xC3\xA7\xC3\xB5es",
            'tab_contact'      => 'Contato',
            'save_changes'     => 'Salvar',
            'coming_soon'      => 'Em breve',
        ),

        // ════════════════════════════════════════════════════
        // CZECH
        // ════════════════════════════════════════════════════
        'cs_CZ' => array(
            'tab_activator'    => 'Aktivace',
            'tab_testing'      => "Testov\xC3\xA1n\xC3\xAD",
            'tab_maps'         => 'Mapy',
            'tab_appearance'   => 'Vzhled',
            'tab_behavior'     => "Chov\xC3\xA1n\xC3\xAD",
            'tab_settings'     => "Nastaven\xC3\xAD",
            'tab_contact'      => 'Kontakt',
            'save_changes'     => "Ulo\xC5\xBEit",
            'coming_soon'      => 'Brzy',
        ),

        // ════════════════════════════════════════════════════
        // DUTCH (NL + BE)
        // ════════════════════════════════════════════════════
        'nl_NL' => array(
            'tab_activator'    => 'Activator',
            'tab_testing'      => 'Testen',
            'tab_maps'         => 'Kaarten',
            'tab_appearance'   => 'Uiterlijk',
            'tab_behavior'     => 'Gedrag',
            'tab_settings'     => 'Instellingen',
            'tab_contact'      => 'Contact',
            'panel_title'      => 'ParcelSelector.com',
            'panel_subtitle'   => 'Internationale pakketautomaat-kiezer voor WooCommerce',
            'test_title'       => 'API-verbindingstest',
            'test_desc'        => 'Test de verbinding met onze server-API.',
            'test_btn_run'     => 'Test uitvoeren',
            'test_btn_test'    => 'Test API-verbinding',
            'test_status_ok'   => 'Verbinding succesvol!',
            'test_status_fail' => 'Verbinding mislukt. Controleer uw serverconfiguratie.',
            'test_check'       => 'Controle',
            'test_status'      => 'Status',
            'test_details'     => 'Details',
            'test_api_title'   => 'SaaS API-verbinding',
            'test_api_desc'    => 'Test de verbinding met de parcelselector.com API-server.',
            'test_dev_tools'   => 'Ontwikkeltools',
            'test_dev_desc'    => 'Deze tools zijn alleen bedoeld voor testen. Niet gebruiken in productie.',
            'test_reset_title' => 'Activering resetten',
            'test_reset_desc'  => 'Verwijdert alle plugin-opties uit de database. Plugin-instellingen worden teruggezet naar standaardwaarden.',
            'test_reset_btn'   => 'Activering resetten',
            'test_reset_wait'  => 'Resetten...',
            'test_reset_done'  => 'Activering succesvol gereset!',
            'map_title'        => 'Landconfiguratie',
            'map_desc'         => 'Schakel landen in of uit. Sleep om de volgorde te wijzigen.',
            'map_lockers'      => 'lockers',
            'map_enabled'      => 'Ingeschakeld',
            'map_disabled'     => 'Uitgeschakeld',
            'map_engine_desc'  => 'Selecteer de kaartengine die wordt gebruikt op winkelwagen- en afrekenpagina\'s.',
            'map_active'       => 'Actief',
            'map_select'       => 'Selecteren',
            'map_preview'      => 'Live voorvertoning',
            'map_preview_classic' => 'Klassieke voorvertoning',
            'map_save_engine'  => 'Kaartengine opslaan',
            'map_drag_hint'    => 'Sleep om de volgorde te wijzigen',
            'map_saas_note'    => 'SaaS-model: Gegevens van pakketautomaten worden opgehaald van de parcelselector.com API-server. Geen lokale gegevensopslag nodig.',
            'map_selected'     => 'Geselecteerde landen',
            'app_title'        => 'Uiterlijkinstellingen',
            'app_desc'         => 'Pas het uiterlijk van de pakketautomaat-kiezer aan.',
            'app_coming_soon'  => 'Kleurenschema\'s binnenkort beschikbaar — 2 voorinstellingen gepland.',
            'app_color_scheme' => 'Kleurenschema',
            'app_light_theme'  => 'Licht thema',
            'app_light_desc'   => 'Schone witte achtergrond met geeloranje accenten. Standaard en aanbevolen.',
            'app_dark_theme'   => 'Donker thema',
            'app_dark_desc'    => 'Donkere achtergrond met heldere accenten. Rustiger voor de ogen \'s nachts.',
            'app_logo'         => 'Logo',
            'app_show_logo'    => 'Toon logo in winkelwagen/afrekenen',
            'app_logo_note'    => 'Wijzig deze instelling in het tabblad Instellingen.',
            'app_logo_url'     => 'Logo-URL',
            'app_order_layout' => 'Indeling besteloverzicht',
            'app_edit_in_settings' => 'Bewerk deze waarden in het tabblad Instellingen:',
            'beh_title'        => 'Gedragsinstellingen',
            'beh_desc'         => 'Configureer hoe de popup, kaart en het afrekenen met elkaar communiceren.',
            'beh_coming_soon'  => 'Gedetailleerde gedragsinstellingen worden hier toegevoegd.',
            'beh_shipping_price'   => 'Verzendkosten & Levering',
            'beh_ship_free'        => 'Gratis verzending',
            'beh_ship_free_label'  => 'Gratis verzending inschakelen (overschrijft de prijs hieronder)',
            'beh_ship_price'       => 'Verzendkosten',
            'beh_ship_price_desc'  => 'Standaard verzendkosten. Wordt gebruikt als de WooCommerce-zone-methode geen prijs heeft ingesteld. Genegeerd wanneer Gratis verzending is aangevinkt.',
            'beh_ship_delivery'    => 'Geschatte levertijd',
            'beh_ship_delivery_ph' => 'bijv. 1-2 werkdagen',
            'beh_ship_delivery_desc' => 'Getoond in besteldetails en e-mails. Laat leeg om te verbergen.',
            'beh_ship_note'        => 'Extra bestelnotitie',
            'beh_ship_note_ph'     => 'Optionele tekst getoond in besteldetails (bijv. verpakkingsinstructies).',
            'beh_ship_note_desc'   => 'Extra tekst toegevoegd aan besteldetails. Laat leeg om te verbergen.',
            'beh_shipping'     => 'Verzendadres',
            'beh_save_as_shipping'      => 'Sla locker op als verzendadres',
            'beh_save_as_shipping_desc' => 'Indien ingeschakeld, wordt het adres van de geselecteerde pakketautomaat opgeslagen als het WooCommerce-verzendadres.',
            'beh_weight'       => 'Gewichtslimieten',
            'beh_weight_enabled' => 'Gewichtslimiet ingeschakeld',
            'beh_weight_max'   => 'Max. gewicht',
            'beh_weight_action'   => 'Bij overschrijding',
            'beh_weight_hide'     => 'Verberg locker-optie',
            'beh_weight_disable'  => 'Schakel locker-optie uit',
            'beh_dimensions'   => 'Afmetingslimieten',
            'beh_dim_enabled'  => 'Afmetingslimiet ingeschakeld',
            'beh_checkout'     => 'Afrekenmodus',
            'beh_classic_checkout' => 'Herstel klassieke winkelwagen/afrekenen',
            'beh_classic_desc' => 'Gebruik op shortcodes gebaseerde winkelwagen en afrekenen in plaats van blokken.',
            'set_title'        => 'Algemene instellingen',
            'set_desc'         => 'Kerninstellingen voor WooCommerce-integratie. Maakt gebruik van de WordPress Settings API.',
            'set_import_export' => 'Instellingen importeren/exporteren',
            'set_import_export_desc' => 'Download of upload plugin-instellingen als JSON-bestand.',
            'set_export_btn'   => 'Settings.json downloaden',
            'set_import_btn'   => 'Bestand kiezen...',
            'set_import_hint'  => 'Upload een eerder geëxporteerd JSON-bestand om instellingen te herstellen.',
            'set_export_failed' => 'Exporteren mislukt',
            'set_import_invalid' => 'Ongeldig JSON-bestand.',
            'set_import_success' => 'Instellingen succesvol geïmporteerd!',
            'con_title'        => 'Contact',
            'con_desc'         => 'Neem contact op met het ParcelSelector.com-team.',
            'con_email'        => 'E-mail',
            'con_email_title'  => 'E-mail ons',
            'con_email_desc'   => 'Stuur ons een e-mail en we nemen contact met u op.',
            'con_web_title'    => 'Website',
            'con_web_desc'     => 'Bezoek onze website voor meer informatie.',
            'con_support_title' => 'Ondersteuning',
            'con_support_desc' => 'Hulp nodig? Bezoek ons supportportaal.',
            'con_support_btn'  => 'Support openen',
            'con_info_title'   => 'Systeeminformatie',
            'con_message'      => 'Bericht',
            'con_btn_send'     => 'Bericht verzenden',
            'con_placeholder'  => 'Beschrijf uw probleem of vraag...',
            'con_coming_soon'  => 'Direct berichten sturen via onze API binnenkort verwacht.',
            'con_form_title'   => 'Stuur ons een bericht',
            'con_name'         => 'Uw naam',
            'con_phone'        => 'Telefoon',
            'con_category'     => 'Categorie',
            'con_cat_general'  => 'Algemene vraag',
            'con_cat_bug'      => 'Foutrapport',
            'con_cat_feature'  => 'Verzoek om functie',
            'con_cat_billing'  => 'Facturering',
            'con_cat_technical' => 'Technische ondersteuning',
            'con_cat_other'    => 'Overig',
            'con_subject'      => 'Onderwerp',
            'con_subject_ph'   => 'Korte samenvatting van uw vraag',
            'con_chars'        => 'tekens',
            'con_err_name'     => 'Voer uw naam in.',
            'con_err_email'    => 'Voer een geldig e-mailadres in.',
            'con_err_short'    => 'Bericht moet minimaal 10 tekens bevatten.',
            'con_err_long'     => 'Bericht moet minder dan 5000 tekens bevatten.',
            'con_success'      => 'Bericht verzonden! We reageren binnen 24 uur.',
            
            // Admin JS notices & Geocoding
            'notice_settings_saved' => 'Instellingen succesvol opgeslagen!',
            'notice_error'     => 'Er is een fout opgetreden.',
            'js_active'        => 'Actief',
            'js_click_to_select' => 'Klik om te selecteren',
            'js_geocode_enter_address' => 'Voer ten minste een straat of stad in.',
            'js_geocode_searching' => 'Zoeken...',
            'js_geocode_fetch_btn' => '📍 Ophalen van adres',
            'js_geocode_found' => '✅ Gevonden:',
            'js_geocode_not_found' => '❌ Niet gevonden. Controleer het adres of voer de coördinaten handmatig in.',
            'js_geocode_error' => 'Verbindingsfout. Probeer het later opnieuw of voer de coördinaten handmatig in.',
            'js_test_connection_btn' => '🔌 Verbinding testen',
            'js_checking'      => 'Controleren...',
            'js_check_updates_link' => 'Controleer op updates',
            'js_update_available' => '⚠️ Update beschikbaar:',
            'js_up_to_date'    => 'U heeft de nieuwste versie',
            'js_reset_confirm_title' => 'Lokale plugingegevens resetten?',
            'js_reset_confirm_body' => 'Verwijdert de lokale installatie-ID en plugin-instellingen uit de WordPress-database. De afhaalpuntservice behoudt zijn eigen gegevens.',
            'js_resetting'     => 'Resetten...',
            'js_please_wait'   => '⏳ Even geduld...',
            'js_update_server_error' => 'Verbindingsfout met updateserver.',

            // Behavior - Custom Pickup
            'beh_timing_performance' => 'Timing & Prestaties',
            'beh_auto_search_speed' => 'Snelheid automatisch zoeken',
            'beh_auto_search_desc'  => 'Hoe lang te wachten na het typen voordat het zoeken wordt gestart (0.5s - 5.0s).',
            'beh_pre_popup_delay'   => 'Vertraging voor popup',
            'beh_pre_popup_desc'    => 'Hoe lang te wachten voordat de "Help"-popup wordt getoond (5s - 60s).',
            'beh_custom_pickup'     => 'Aangepast ophaalpunt',
            'beh_custom_pickup_enable' => 'Ophaalpunt inschakelen',
            'beh_custom_pickup_map_msg' => 'Voeg uw eigen ophaalpunt toe op de kluisjeskaart',
            'beh_custom_pickup_desc'   => 'Weergegeven als een gemarkeerde groene marker — de klant selecteert deze in plaats van een kluisje.',
            'beh_pu_name'          => 'Naam van het punt',
            'beh_pu_street'        => 'Straat en nummer',
            'beh_pu_postal_city'   => 'Postcode / Stad / Land',
            'beh_pu_gps'           => 'GPS-coördinaten',
            'beh_pu_lat'           => 'Breedtegraad (lat)',
            'beh_pu_lng'           => 'Lengtegraad (lng)',
            'beh_pu_fetch_btn'     => '📍 Ophalen van adres',
            'beh_pu_hours'         => 'Openingstijden',
            'beh_pu_additional_desc' => 'Aanvullende beschrijving',
            'beh_pu_label'         => 'Labeltekst',
            'beh_pu_label_desc'    => 'Weergegeven als ondertitel wanneer het punt is geselecteerd.',
            'beh_pu_priority'      => 'Prioriteit',
            'beh_pu_priority_msg'  => 'Toon dit punt eerst in de lijst',
            'beh_pu_highlight'     => 'Markeren',
            'beh_pu_highlight_msg' => 'Markeer dit punt met een speciaal groen icoon',
            'beh_pu_animation'     => 'Animatie bij openen kaart',
            'beh_pu_zoom_direct'   => 'Direct',
            'beh_pu_zoom_direct_desc' => 'Centreren op punt.',
            'beh_pu_zoom_poland'   => 'Polen',
            'beh_pu_zoom_poland_desc' => 'Vliegen vanuit landweergave.',
            'beh_pu_zoom_europe'   => 'Europa',
            'beh_pu_zoom_europe_desc' => 'Europees panorama.',
            'beh_pu_zoom_world'    => 'Wereld',
            'beh_pu_zoom_world_desc' => 'Globaal overzicht.',

            'save_changes'     => 'Wijzigingen opslaan',
            'saved'            => 'Instellingen opgeslagen.',
            'error'            => 'Er is een fout opgetreden.',
            'loading'          => 'Laden...',
            'coming_soon'      => 'Binnenkort beschikbaar',
            'free_version'     => 'GRATIS versie',
            'powered_by'       => 'Mogelijk gemaakt door ParcelSelector.com',
            'map_engine_title' => 'Kaart-engine',

            // Diagnostics
            'diag_title'       => '🔬 Diagnostiek & Hosting Compatibiliteit',
            'diag_desc'        => 'Systeemcontroles voor ParcelSelector',
            'diag_env_check'   => 'Omgevingscontrole',
            'diag_shipping_methods' => 'Verzendmethoden',
            'diag_conflicts'   => 'Conflict detectie',
            'diag_logs'        => 'Logs',
            'diag_run_tests'   => 'Diagnostiek uitvoeren',

            // Order displays
            'order_pickup_title' => 'Persoonlijk ophaalpunt',
            'order_locker_title' => 'Geselecteerde InPost-pakketautomaat',
            'order_no_locker'    => 'Geen pakketautomaat geselecteerd voor deze bestelling.',
            'order_shipping_details' => 'InPost verzendgegevens',

            // Extra JS
            'js_diag_checkout_ready' => '✅ Winkelmandje klaar! Afrekenen geopend in een nieuw tabblad.',
            'js_diag_checkout_err'   => '❌ Afrekenknop niet gevonden.',
        ),

        // ════════════════════════════════════════════════════
        // HUNGARIAN
        // ════════════════════════════════════════════════════
        'hu_HU' => array(
            'tab_activator'    => 'Aktiváló',
            'tab_testing'      => 'Tesztelés',
            'tab_maps'         => 'Térképek',
            'tab_appearance'   => 'Megjelenés',
            'tab_behavior'     => 'Működés',
            'tab_settings'     => 'Beállítások',
            'tab_contact'      => 'Kapcsolat',
            'panel_title'      => 'ParcelSelector.com',
            'panel_subtitle'   => 'Nemzetközi csomagautomata választó WooCommerce-hez',
            'test_title'       => 'API kapcsolat teszt',
            'test_desc'        => 'Teszteld a kapcsolatot az API szerverünkkel.',
            'test_btn_run'     => 'Teszt futtatása',
            'test_btn_test'    => 'API kapcsolat tesztelése',
            'test_status_ok'   => 'Kapcsolat sikeres!',
            'test_status_fail' => 'Kapcsolat sikertelen. Ellenőrizd a szerver konfigurációját.',
            'test_check'       => 'Ellenőrzés',
            'test_status'      => 'Állapot',
            'test_details'     => 'Részletek',
            'test_api_title'   => 'SaaS API kapcsolat',
            'test_api_desc'    => 'Teszteld a kapcsolatot a parcelselector.com API szerverével.',
            'map_title'        => 'Országok konfigurációja',
            'map_desc'         => 'Országok be- vagy kikapcsolása. Húzd a sorrend módosításához.',
            'map_lockers'      => 'csomagautomata',
            'map_enabled'      => 'Bekapcsolva',
            'map_disabled'     => 'Kikapcsolva',
            'map_drag_hint'    => 'Húzd a sorrend módosításához',
            'map_saas_note'    => 'SaaS modell: Az adatok a parcelselector.com API szerveréről érkeznek. Nincs szükség helyi adattárolásra.',
            'map_selected'     => 'Kiválasztott országok',
            'app_title'        => 'Megjelenési beállítások',
            'app_desc'         => 'Szabd személyre a választó megjelenését.',
            'app_coming_soon'  => 'Színsémák hamarosan — 2 előre beállított stílus tervezve.',
            'app_color_scheme' => 'Színséma',
            'app_light_theme'  => 'Világos téma',
            'app_light_desc'   => 'Tiszta fehér háttér sárga-narancs akcentusokkal. Alapértelmezett és ajánlott.',
            'app_dark_theme'   => 'Sötét téma',
            'app_dark_desc'    => 'Sötét háttér világos akcentusokkal.',
            'app_logo'         => 'Logó',
            'app_show_logo'    => 'Logó megjelenítése a kosárban/pénztárnál',
            'app_logo_note'    => 'Módosítsd ezt a beállítást a Beállítások fülön.',
            'app_logo_url'     => 'Logó URL',
            'app_order_layout' => 'Rendelés összesítő elrendezés',
            'app_edit_in_settings' => 'Módosítsd ezeket az értéket a Beállítások fülön:',
            'beh_title'        => 'Működési beállítások',
            'beh_desc'         => 'Konfiguráld a popup, a térkép és a pénztár interakcióit.',
            'beh_coming_soon'  => 'Részletes működési beállítások hamarosan.',
            'beh_shipping_price'   => 'Szállítási ár és kézbesítés',
            'beh_ship_free'        => 'Ingyenes szállítás',
            'beh_ship_free_label'  => 'Ingyenes szállítás bekapcsolása (felülírja az alábbi árat)',
            'beh_ship_price'       => 'Szállítási ár',
            'beh_ship_price_desc'  => 'Alapértelmezett szállítási költség. Akkor használatos, ha a WooCommerce zónában nincs ár beállítva.',
            'beh_ship_delivery'    => 'Becsült kézbesítési idő',
            'beh_ship_delivery_ph' => 'pl. 1-2 munkanap',
            'beh_ship_delivery_desc' => 'Megjelenik a rendelés részleteiben és az emailekben. Hagyd üresen az elrejtéshez.',
            'beh_ship_note'        => 'További megjegyzés a rendeléshez',
            'beh_ship_note_ph'     => 'Opcionális szöveg (pl. csomagolási utasítások).',
            'beh_ship_note_desc'   => 'Extra szöveg a rendelés részleteihez. Hagyd üresen az elrejtéshez.',
            'beh_shipping'     => 'Szállítási cím',
            'beh_save_as_shipping'      => 'Automata mentése szállítási címként',
            'beh_save_as_shipping_desc' => 'Ha be van kapcsolva, a választott automata címe mentődik szállítási címként.',
            'beh_weight'       => 'Súlyhatárok',
            'beh_weight_enabled' => 'Súlyhatár bekapcsolva',
            'beh_weight_max'   => 'Max. súly',
            'beh_weight_action'   => 'Túllépés esetén',
            'beh_weight_hide'     => 'Automata opció elrejtése',
            'beh_weight_disable'  => 'Automata opció letiltása',
            'beh_dimensions'   => 'Mérethatárok',
            'beh_dim_enabled'  => 'Mérethatár bekapcsolva',
            'beh_checkout'     => 'Pénztár mód',
            'beh_classic_checkout' => 'Klasszikus kosár/pénztár visszaállítása',
            'beh_classic_desc' => 'Shortcode alapú kosár és pénztár használata blokkok helyett.',
            'set_title'        => 'Általános beállítások',
            'set_desc'         => 'Core WooCommerce integrációs beállítások.',
            'set_import_export' => 'Beállítások importálása / exportálása',
            'set_import_export_desc' => 'Bővítmény beállítások letöltése vagy feltöltése JSON fájlként.',
            'set_export_btn'   => 'Settings.json letöltése',
            'set_import_btn'   => 'Fájl kiválasztása...',
            'set_import_hint'  => 'Tölts fel egy korábban exportált JSON fájlt a beállítások visszaállításához.',
            'set_export_failed' => 'Exportálás sikertelen',
            'set_import_invalid' => 'Érvénytelen JSON fájl.',
            'set_import_success' => 'Beállítások sikeresen importálva!',
            'con_title'        => 'Kapcsolat',
            'con_desc'         => 'Lépj kapcsolatba a ParcelSelector.com csapatával.',
            'con_email'        => 'Email',
            'con_email_title'  => 'Írj nekünk emailt',
            'con_email_desc'   => 'Küldj egy emailt, és válaszolni fogunk.',
            'con_web_title'    => 'Weboldal',
            'con_web_desc'     => 'Látogass el weboldalunkra további információért.',
            'con_support_title' => 'Támogatás',
            'con_support_desc' => 'Segítség kell? Keresd fel ügyfélszolgálati portálunkat.',
            'con_support_btn'  => 'Támogatás megnyitása',
            'con_info_title'   => 'Rendszer információk',
            'con_message'      => 'Üzenet',
            'con_btn_send'     => 'Üzenet küldése',
            'con_placeholder'  => 'Írd le a problémádat vagy kérdésedet...',
            'con_coming_soon'  => 'Közvetlen üzenetküldés API-n keresztül hamarosan.',
            'con_form_title'   => 'Küldj nekünk üzenetet',
            'con_name'         => 'Neved',
            'con_phone'        => 'Telefon',
            'con_category'     => 'Kategória',
            'con_cat_general'  => 'Általános kérdés',
            'con_cat_bug'      => 'Hiba jelentése',
            'con_cat_feature'  => 'Funkció kérése',
            'con_cat_billing'  => 'Számlázás',
            'con_cat_technical' => 'Technikai támogatás',
            'con_cat_other'    => 'Egyéb',
            'con_subject'      => 'Tárgy',
            'con_subject_ph'   => 'Kérdésed rövid összefoglalása',
            'con_chars'        => 'karakter',
            'con_err_name'     => 'Kérjük, add meg a neved.',
            'con_err_email'    => 'Kérjük, add meg az email címed.',
            'con_err_short'    => 'Az üzenetnek legalább 10 karakternek kell lennie.',
            'con_err_long'     => 'Az üzenetnek 5000 karakter alatt kell lennie.',
            'con_success'      => 'Üzenet elküldve! 24 órán belül válaszolunk.',
            'notice_settings_saved' => 'Beállítások sikeresen mentve!',
            'notice_error'     => 'Hiba történt.',
            'js_active'        => 'Aktív',
            'js_click_to_select' => 'Kattints a választáshoz',
            'js_geocode_enter_address' => 'Adj meg legalább egy utcát vagy várost.',
            'js_geocode_searching' => 'Keresés...',
            'js_geocode_fetch_btn' => '📍 Cím lekérése',
            'js_geocode_found' => '✅ Találat:',
            'js_geocode_not_found' => '❌ Nem található. Ellenőrizd a címet.',
            'js_geocode_error' => 'Kapcsolati hiba. Próbáld később.',
            'js_test_connection_btn' => '🔌 Kapcsolat tesztelése',
            'js_checking'      => 'Ellenőrzés...',
            'js_check_updates_link' => 'Frissítések keresése',
            'js_update_available' => '⚠️ Frissítés elérhető:',
            'js_up_to_date'    => 'A legfrissebb verziót használod',
            'js_reset_confirm_title' => 'Helyi plugin-adatok visszaállítása?',
            'js_reset_confirm_body' => 'Törli a helyi telepítési azonosítót és a plugin beállításait az adatbázisból.',
            'js_resetting'     => 'Törlés...',
            'js_please_wait'   => '⏳ Kérlek várj...',
            'js_update_server_error' => 'Frissítő szerver hiba.',

            'beh_timing_performance' => 'Időzítés és Teljesítmény',
            'beh_auto_search_speed' => 'Automatikus keresés sebessége',
            'beh_auto_search_desc'  => 'Mennyit várjon a gépelés után a keresés indításáig.',
            'beh_pre_popup_delay'   => 'Popup megjelenési késleltetés',
            'beh_pre_popup_desc'    => 'Mennyit várjon a "Segítség" popup megjelenéséig.',
            'beh_custom_pickup'     => 'Egyedi átvevőpont',
            'beh_custom_pickup_enable' => 'Átvevőpont bekapcsolása',
            'beh_custom_pickup_map_msg' => 'Add hozzá saját pontodat a térképhez',
            'beh_custom_pickup_desc'   => 'Zöld marker — a vevő ezt választhatja automata helyett.',
            'beh_pu_name'          => 'Pont neve',
            'beh_pu_street'        => 'Utca és házszám',
            'beh_pu_postal_city'   => 'Irányítószám / Város / Ország',
            'beh_pu_gps'           => 'GPS koordináták',
            'beh_pu_lat'           => 'Szélesség (lat)',
            'beh_pu_lng'           => 'Hosszúság (lng)',
            'beh_pu_fetch_btn'     => '📍 Cím lekérése',
            'beh_pu_hours'         => 'Nyitvatartás',
            'beh_pu_additional_desc' => 'További leírás',
            'beh_pu_label'         => 'Címke szövege',
            'beh_pu_label_desc'    => 'Alcímként jelenik meg a választáskor.',
            'beh_pu_priority'      => 'Prioritás',
            'beh_pu_priority_msg'  => 'Jelenítse meg ezt a pontot először',
            'beh_pu_highlight'     => 'Kiemelés',
            'beh_pu_highlight_msg' => 'Emelje ki speciális zöld ikonnal',
            'beh_pu_animation'     => 'Térkép nyitási animáció',
            'beh_pu_zoom_direct'   => 'Közvetlen',
            'beh_pu_zoom_direct_desc' => 'Pontra fókuszál.',
            'beh_pu_zoom_poland'   => 'Lengyelország',
            'beh_pu_zoom_poland_desc' => 'Országos nézetből közelít.',
            'beh_pu_zoom_europe'   => 'Európa',
            'beh_pu_zoom_europe_desc' => 'Európai panoráma.',
            'beh_pu_zoom_world'    => 'Világ',
            'beh_pu_zoom_world_desc' => 'Földgömb nézet.',

            'save_changes'     => 'Változások mentése',
            'saved'            => 'Beállítások mentve.',
            'error'            => 'Hiba történt.',
            'loading'          => 'Betöltés...',
            'coming_soon'      => 'Hamarosan',
            'free_version'     => 'INGYENES verzió',
            'powered_by'       => 'Támogatja a ParcelSelector.com',
            'map_engine_title' => 'Térkép motor',

            'diag_title'       => '🔬 Diagnosztika & Tárhely kompatibilitás',
            'diag_desc'        => 'Rendszerellenőrzés a ParcelSelectorhoz',
            'diag_env_check'   => 'Környezet ellenőrzése',
            'diag_shipping_methods' => 'Szállítási módok',
            'diag_conflicts'   => 'Konfliktus keresés',
            'diag_logs'        => 'Naplók',
            'diag_run_tests'   => 'Diagnosztika futtatása',

            'order_pickup_title' => 'Személyes átvevőpont',
            'order_locker_title' => 'Választott InPost csomagautomata',
            'order_no_locker'    => 'Ehhez a rendeléshez nincs választva automata.',
            'order_shipping_details' => 'InPost szállítási adatok',

            'js_diag_checkout_ready' => '✅ Kosár kész! Pénztár megnyitva új fülön.',
            'js_diag_checkout_err'   => '❌ Pénztár gomb nem található.',
        ),

    );

    // Also map de_AT, de_CH → de_DE; fr_BE → fr_FR; nl_BE → nl_NL; pt_BR → pt_PT; es_* → es_ES
    $locale_map = array(
        'de_AT' => 'de_DE', 'de_CH' => 'de_DE', 'de_DE_formal' => 'de_DE',
        'fr_BE' => 'fr_FR', 'fr_CA' => 'fr_FR',
        'nl_BE' => 'nl_NL', 'nl_NL_formal' => 'nl_NL',
        'pt_BR' => 'pt_PT',
        'es_AR' => 'es_ES', 'es_MX' => 'es_ES', 'es_CL' => 'es_ES',
        'sk_SK' => 'cs_CZ', // Slovak very close to Czech
        'en_GB' => 'en_US', 'en_AU' => 'en_US', 'en_CA' => 'en_US',
    );

    $effective_locale = isset( $locale_map[ $locale ] ) ? $locale_map[ $locale ] : $locale;

    // Merge: locale-specific over English defaults
    if ( isset( $locales[ $effective_locale ] ) ) {
        $strings = array_merge( $en, $locales[ $effective_locale ] );
    } else {
        $strings = $en;
    }

    return $strings;
}

/**
 * Get a single admin panel translation string.
 *
 * @param string $key Translation key
 * @return string Translated string or key if not found
 */
function parcselect_t( $key ) {
    $strings = parcselect_admin_i18n();
    return isset( $strings[ $key ] ) ? $strings[ $key ] : $key;
}
