<?php
namespace OxygenApp\Utils;
if ( ! defined( 'ABSPATH' ) ) exit;

use OxygenApp\Utils\LanguagesHelper;

class FrontendLabels {

    static function getFrontendlabels(): array {
        $upgrade_to_pro_popup_title = LanguagesHelper::getInstance()->getLangLabel('upgrade_to_pro_popup_title');
        $sound_requires_pro_info = LanguagesHelper::getInstance()->getLangLabel('sound_requires_pro_info');
        $sound_signup_popup_title = LanguagesHelper::getInstance()->getLangLabel('sound_signup_popup_title');
        $sound_requires_login_info = LanguagesHelper::getInstance()->getLangLabel('sound_requires_login_info');
        $sound_pro_badge = LanguagesHelper::getInstance()->getLangLabel('sound_pro_badge');
        $sound_require_login_badge = LanguagesHelper::getInstance()->getLangLabel('sound_require_login_badge');
        $edit_playlist = LanguagesHelper::getInstance()->getLangLabel('edit_playlist');
        $remove_playlist = LanguagesHelper::getInstance()->getLangLabel('remove_playlist');
        $edit_playlist_popup_title = LanguagesHelper::getInstance()->getLangLabel('edit_playlist_popup_title');
        $new_playlist_title = LanguagesHelper::getInstance()->getLangLabel('new_playlist_title');
        $background_pro_badge = LanguagesHelper::getInstance()->getLangLabel('background_pro_badge');
        $background_require_login_badge = LanguagesHelper::getInstance()->getLangLabel('background_require_login_badge');
        $bkg_signup_popup_title = LanguagesHelper::getInstance()->getLangLabel('bkg_signup_popup_title');
        $bkg_requires_login_info = LanguagesHelper::getInstance()->getLangLabel('bkg_requires_login_info');
        $bkg_upgrade_to_pro_popup_title = LanguagesHelper::getInstance()->getLangLabel('bkg_upgrade_to_pro_popup_title');
        $bkg_requires_pro_info = LanguagesHelper::getInstance()->getLangLabel('bkg_requires_pro_info');
        $select_background_popup_title = LanguagesHelper::getInstance()->getLangLabel('select_background_popup_title');
        $monthlyPricingInfo = LanguagesHelper::getInstance()->getLangLabel('paddle_monthly_pricing_info');
        $yearlyPricingInfo = LanguagesHelper::getInstance()->getLangLabel('paddle_yearly_pricing_info');
        $monthly_pricing_title = LanguagesHelper::getInstance()->getLangLabel('monthly_pricing_title');
        $yearly_pricing_title = LanguagesHelper::getInstance()->getLangLabel('yearly_pricing_title');
        $subscription_cancelled_info = LanguagesHelper::getInstance()->getLangLabel('subscription_cancelled_info');
        $subscription_failed_to_cancel = LanguagesHelper::getInstance()->getLangLabel('subscription_failed_to_cancel');
        $subscription_failed_to_cancel_error = LanguagesHelper::getInstance()->getLangLabel('subscription_failed_to_cancel_error');
        $delete_account_active_subscription_error = LanguagesHelper::getInstance()->getLangLabel('delete_account_active_subscription_error');
        $delete_account_confirmation_title = LanguagesHelper::getInstance()->getLangLabel('delete_account_confirmation_title');
        $delete_account_confirmation_message = LanguagesHelper::getInstance()->getLangLabel('delete_account_confirmation_message');
        $delete_account_confirm_btn = LanguagesHelper::getInstance()->getLangLabel('delete_account_confirm_btn');
        $delete_account_success_message = LanguagesHelper::getInstance()->getLangLabel('delete_account_success_message');
        $delete_account_error_message = LanguagesHelper::getInstance()->getLangLabel('delete_account_error_message');


        return [
            'upgrade_to_pro_popup_title' => esc_html($upgrade_to_pro_popup_title),
            'sound_requires_pro_info' => wp_kses_post($sound_requires_pro_info),
            'sound_signup_popup_title' => esc_html($sound_signup_popup_title),
            'sound_requires_login_info' => wp_kses_post($sound_requires_login_info),
            'sound_pro_badge' => esc_html($sound_pro_badge),
            'sound_require_login_badge' => esc_html($sound_require_login_badge),
            'edit_playlist' => esc_html($edit_playlist),
            'remove_playlist' => esc_html($remove_playlist),
            'edit_playlist_popup_title' => esc_html($edit_playlist_popup_title),
            'new_playlist_title' => esc_html($new_playlist_title),
            'background_pro_badge' => esc_html($background_pro_badge),
            'background_require_login_badge' => esc_html($background_require_login_badge),
            'bkg_signup_popup_title' => esc_html($bkg_signup_popup_title),
            'bkg_requires_login_info' => esc_html($bkg_requires_login_info),
            'bkg_upgrade_to_pro_popup_title' => esc_html($bkg_upgrade_to_pro_popup_title),
            'bkg_requires_pro_info' => esc_html($bkg_requires_pro_info),
            'select_background_popup_title' => esc_html($select_background_popup_title),
            'monthly_pricing_title' => esc_html($monthly_pricing_title),
            'yearly_pricing_title' => esc_html($yearly_pricing_title),
            'monthly_pricing_info' => wp_kses_post($monthlyPricingInfo),
            'yearly_pricing_info' => wp_kses_post($yearlyPricingInfo),
            'subscription_cancelled_info' => esc_html($subscription_cancelled_info),
            'subscription_failed_to_cancel' => esc_html($subscription_failed_to_cancel),
            'subscription_failed_to_cancel_error' => esc_html($subscription_failed_to_cancel_error),
            'delete_account_active_subscription_error' => esc_html($delete_account_active_subscription_error),
            'delete_account_confirmation_title' => esc_html($delete_account_confirmation_title),
            'delete_account_confirmation_message' => esc_html($delete_account_confirmation_message),
            'delete_account_confirm_btn' => esc_html($delete_account_confirm_btn),
            'delete_account_success_message' => esc_html($delete_account_success_message),
            'delete_account_error_message' => esc_html($delete_account_error_message),
        ];
    }
}