<?php

defined('ABSPATH') || exit;

/**
 * Frontend JavaScript strings for OnPageNotification module
 *
 * @since 2.0.0
 * @author Hossein <hossein@notifal.com>
 */

return [
    'notification' => __('Notification', 'notifal'),
    'close' => __('Close', 'notifal'),
    'loading' => __('Loading...', 'notifal'),
    'error' => __('Error', 'notifal'),
    'success' => __('Success', 'notifal'),
    'dismiss' => __('Dismiss', 'notifal'),
    'copied' => __('Copied!', 'notifal'),
    'read_more' => __('Read More', 'notifal'),
    'show_less' => __('Show Less', 'notifal'),
    'retry' => __('Retry', 'notifal'),
    'cancel' => __('Cancel', 'notifal'),
    /**
     * Shown when Ajax Add to Cart is used for a variable product on the same page but no variation is chosen yet.
     */
    'ajax_add_to_cart_select_variation_here' => __('Please select a variation on this page, then try again.', 'notifal'),
    /**
     * Fallback when variable product add-to-cart is requested without a variation (e.g. from another page).
     */
    'ajax_add_to_cart_select_variation' => __('Go to the product page, select a variation, then add to cart.', 'notifal'),
    'continue' => __('Continue', 'notifal'),
    'learn_more' => __('Learn More', 'notifal'),
    'get_started' => __('Get Started', 'notifal'),
    'view_details' => __('View Details', 'notifal'),
    'subscribe' => __('Subscribe', 'notifal'),
    'unsubscribe' => __('Unsubscribe', 'notifal'),
    'enable_notifications' => __('Enable Notifications', 'notifal'),
    'disable_notifications' => __('Disable Notifications', 'notifal'),
    'notification_preferences' => __('Notification Preferences', 'notifal'),
    'show_all' => __('Show All', 'notifal'),
    'hide_all' => __('Hide All', 'notifal'),
    'mark_as_read' => __('Mark as Read', 'notifal'),
    'mark_as_unread' => __('Mark as Unread', 'notifal'),

    // Consent dialog strings
    'consent_message' => __('This site would like to show on-page notifications. Do you allow?', 'notifal'),
    'consent_allow' => __('Allow', 'notifal'),
    'consent_decline' => __('No, thanks', 'notifal'),

    // Accessibility strings
    'accessibility' => [
        'notification' => __('Notification', 'notifal'),
        'dialog' => __('Dialog', 'notifal'),
        'banner' => __('Banner', 'notifal'),
        'alert' => __('Alert', 'notifal'),
        'close_notification' => __('Close notification', 'notifal'),
        'focus_trap_active' => __('Focus is trapped within this notification. Use Tab to navigate between elements.', 'notifal'),
        'screen_reader_announcement' => __('New notification appeared', 'notifal'),
    ],
];
