<?php
namespace NCPC;

/**
 * Admin Pages Handler
 */
class Admin
{

    public function __construct()
    {
        add_action('admin_menu', [$this, 'admin_menu']);
        add_filter('upload_mimes', [$this, 'ncpc_add_custom_mime_types']);
        add_filter('wp_check_filetype_and_ext', [$this, 'ncpc_check_filetype_and_ext'], 99, 5);
    }
    /**
     * Register our menu page
     *
     * @return void
     */
    public function admin_menu()
    {
        global $submenu;

        $capability = 'manage_product_terms';
        $slug = 'ncpc';
        $icon = NCPC_ASSETS . '/images/3.png';
        $hook = add_menu_page(__('NCPC', "neon-channel-product-customizer-free"), __('NCPC', "neon-channel-product-customizer-free"), $capability, $slug, [$this, 'plugin_page'], $icon);

        if (current_user_can($capability)) {
            $submenu[$slug][] = array(__('App', "neon-channel-product-customizer-free"), $capability, 'admin.php?page=' . $slug . '#/global-settings');
        }

        add_action('load-' . $hook, [$this, 'init_hooks']);
    }

    /**
     * Initialize our hooks for the admin page
     *
     * @return void
     */
    public function init_hooks()
    {
        add_action('admin_enqueue_scripts', [$this, 'enqueue_scripts']);

    }

    /**
     * Load scripts and styles for the app
     *
     * @return void
     */
    public function enqueue_scripts()
    {
        wp_enqueue_script('ncpc-runtime', NCPC_ASSETS . '/js/runtime.js', false, true, NCPC_VERSION);
        wp_enqueue_script('ncpc-vendor', NCPC_ASSETS . '/js/vendors.js', false, true, NCPC_VERSION);
        //styles
        wp_enqueue_style('ncpc-style', NCPC_ASSETS . '/css/style.css', false, NCPC_VERSION);
        wp_enqueue_style('ncpc-admin', NCPC_ASSETS . '/css/admin.css', false, NCPC_VERSION);
        wp_enqueue_style('ncpc-toast-css', NCPC_ASSETS . '/utilities/toast.min.css', false, NCPC_VERSION);

        //wp_enqueue_style( 'ncpc-frontend' );

        //scripts
        wp_enqueue_script('ncpc-admin', NCPC_ASSETS . '/js/admin.js', ['jquery', 'ncpc-vendor', 'ncpc-runtime', "wp-api"], true, NCPC_VERSION);
        wp_enqueue_script('ncpc-toast-js', NCPC_ASSETS . '/utilities/toast.min.js', false, true, NCPC_VERSION);
        wp_enqueue_script('ncpc-sortable', NCPC_ASSETS . '/utilities/sortable.js', false, true, NCPC_VERSION);
        wp_enqueue_media();
        wp_enqueue_script('ncpc-fabric', NCPC_ASSETS . '/utilities/fabric.js', [], NCPC_VERSION, true);
        wp_enqueue_editor();
        wp_enqueue_script(
            'ncpc-tinymce-config',
            get_template_directory_uri() . '/js/tinymce-config.js',
            array('jquery', 'tiny_mce'), // Dépendances
            '1.0',
            true
        );
        wp_enqueue_script(
            'ncpc-free-review',
            NCPC_ASSETS . '/utilities/ncpc-free-review.js',
            ['jquery'],
            NCPC_VERSION,
            true
        );
        //wp_enqueue_script( 'ncpc-frontend' );

    }
    private function ncpc_widget_notation_avec_dismiss()
    {
        if (get_user_meta(get_current_user_id(), 'ncpc_free_review_done', true) || get_user_meta(get_current_user_id(), 'ncpc_free_review_later', true)) {
            return;
        }
        $later_time = get_user_meta(get_current_user_id(), 'ncpc_free_review_later', true);
        if ($later_time && time() < $later_time) {
            return;
        }

        if ($later_time && time() >= $later_time) {
            delete_user_meta(get_current_user_id(), 'ncpc_free_review_later');
        }
        $plugin_slug = 'neon-channel-product-customizer-free';
        ?>
        <div id="ncpc-free-notation-widget" class="ncpc-free-notation-widget">
            <div class="ncpc-free-widget-content">
                <div class="ncpc-free-rating-section">
                    <span class="ncpc-free-stars">⭐⭐⭐⭐⭐</span>
                    <span
                        class="ncpc-free-message"><?php _e('Do you like this plugin ? ', 'neon-channel-product-customizer-free'); ?></span>
                </div>
                <div class="ncpc-free-actions">
                    <a href="https://wordpress.org/plugins/<?php echo esc_attr($plugin_slug); ?>/#reviews" target="_blank"
                        class="button button-primary ncpc-free-rate-now">
                        <?php _e('Note now', 'neon-channel-product-customizer-free'); ?>
                    </a>
                    <a href="#" class="button button-secondary ncpc-free-rate-dismiss" data-action="done">
                        <?php _e('Already done', 'neon-channel-product-customizer-free'); ?>
                    </a>
                    <a href="#" class="ncpc-free-rate-dismiss-link" data-action="later">
                        <?php _e('Later on', 'neon-channel-product-customizer-free'); ?>
                    </a>
                </div>
            </div>
        </div>
        <?php
    }



    /**
     * Render our admin page
     *
     * @return void
     */
    public function plugin_page()
    {
        ob_start();

        $this->register_enqueue_script();
        ?>
        <div class='wrap'>
            <?php $this->ncpc_widget_notation_avec_dismiss(); ?>
            <div id='ncpc-admin-app'></div>
        </div>
        <?php
        echo wp_kses_post(ob_get_clean());
    }

    private function register_enqueue_script()
    {
        wp_localize_script("ncpc-admin", "ncpcData", [
            "version" => NCPC_VERSION,
            "site_url" => urlencode(get_site_url()),
            "wpApiSettings" => array(
                'root' => esc_url_raw(rest_url()),
                'nonce' => wp_create_nonce('wp_rest'),
                'user' => get_current_user_id()
            ),
            "ncpc_translate_text" => $this->getTranslateData(),
            "ncpc_assets_url" => NCPC_ASSETS,
            'currencySymbol' => class_exists('WooCommerce') ? html_entity_decode(get_woocommerce_currency_symbol()) : '',
            'currency_pos' => class_exists('WooCommerce') ? get_option('woocommerce_currency_pos') : ''
        ]);
        wp_enqueue_script(
            'ncpc-free-review',
            plugin_dir_url(__FILE__) . 'assets/js/ncpc-free-review.js',
            ['jquery'],
            '1.0.0',
            true
        );
        wp_localize_script('ncpc-free-review', 'ncpcFreeReviewData', [
            'nonce' => wp_create_nonce('ncpc_free_dismiss_nonce'),
            'ajaxUrl' => admin_url('admin-ajax.php'),
            'strings' => [
                'error' => __('An error has occurred', 'neon-channel-product-customizer-free'),
                'success' => __('Thanks for your feedback!', 'neon-channel-product-customizer-free')
            ]
        ]);
    }



    /**
     * 
     */
    private function getTranslateData()
    {
        return [
            "save" => __("Save", "neon-channel-product-customizer-free"),
            "default" => __("Default", "neon-channel-product-customizer-free"),
            "delete" => __("Delete", "neon-channel-product-customizer-free"),
            "edit" => __("Edit", "neon-channel-product-customizer-free"),
            "duplicate" => __("Duplicate", "neon-channel-product-customizer-free"),
            "preview" => __("Preview", "neon-channel-product-customizer-free"),
            "back" => __("Back", "neon-channel-product-customizer-free"),
            "reset" => __("Reset All", "neon-channel-product-customizer-free"),
            "emptyLabel" => __("The label must not be empty", "neon-channel-product-customizer-free"),
            "emptyUrl" => __("The url must not be empty", "neon-channel-product-customizer-free"),
            "image" => [
                "title" => "Images",
                "button" => __("choose a picture", "neon-channel-product-customizer-free"),
                "buttonIcon" => __("choose a icon", "neon-channel-product-customizer-free"),
                "preview" => [
                    "label" => __("Preview Image", "neon-channel-product-customizer-free"),
                    "description" => __("Defining an image would make it possible to display the font in a different way, instead of just the name.", "neon-channel-product-customizer-free"),
                ],
                "prevImage" => [
                    "label" => __("Preview Image (optional) ", "neon-channel-product-customizer-free"),
                    "description" => __("Upload an image to display the color or gradient. Adding an image will replace the preview color.", "neon-channel-product-customizer-free"),
                ],
                "popupImage" => [
                    "label" => __("Popup Image (optional)", "neon-channel-product-customizer-free"),
                    "description" => __("Example Image - displayed as popup", "neon-channel-product-customizer-free"),
                ]
            ],
            "additionnalPricing" => [
                "title" => __("Pricing (optional) ", "neon-channel-product-customizer-free"),
                "none" => __("None ", "neon-channel-product-customizer-free"),
                "basePrice" => __("Base Price", "neon-channel-product-customizer-free"),
                "priceMultiplier" => __("Price Multiplier", "neon-channel-product-customizer-free"),
                "descriptionBase" => __("Additional cost when selected by customer (e.g. $10.00).", "neon-channel-product-customizer-free"),
                "descriptionMultiplier" => __("Multiply the final price of the sign when selected (e.g. 2 x 100).", "neon-channel-product-customizer-free"),
            ],
            "menu" => __("MENU", "neon-channel-product-customizer-free"),
            "defaultHeaderTitle" => __("Manage your sign configurations", "neon-channel-product-customizer-free"),
            "getHelp" => __("Get Help", "neon-channel-product-customizer-free"),
            "quote" => [
                "title" => __("Request a quote", "neon-channel-product-customizer-free")
            ],
            "menu" => __("MENU", "neon-channel-product-customizer-free"),
            "defaultHeaderTitle" => __("Manage your sign configurations", "neon-channel-product-customizer-free"),
            "getHelp" => __("Get Help", "neon-channel-product-customizer-free"),
            "configuration" => [
                "title" => __("Configurations", "neon-channel-product-customizer-free"),
                "modal" => [
                    "edit" => __("Edit the name of sign configuration", "neon-channel-product-customizer-free"),
                    "duplicate" => __("Enter a new name for the duplicated configuration", "neon-channel-product-customizer-free"),
                    "delete" => __("Do you want to remove this configuration?", "neon-channel-product-customizer-free"),
                ],
                "header" => [
                    "title" => __("Configurations", "neon-channel-product-customizer-free"),
                    "all" => __("All", "neon-channel-product-customizer-free"),
                    "name" => __("Name", "neon-channel-product-customizer-free"),
                    "customId" => __("Customiser ID", "neon-channel-product-customizer-free"),
                    "model" => __("Model", "neon-channel-product-customizer-free"),
                    "productType" => __("Product Type", "neon-channel-product-customizer-free"),
                    "action" => __("Actions", "neon-channel-product-customizer-free"),
                ],
                "empty" => __("No configurations currently added", "neon-channel-product-customizer-free"),
                "addNew" => __("Add new configuration", "neon-channel-product-customizer-free"),
                "start" => [
                    "step" => __("Step", "neon-channel-product-customizer-free"),
                    "state1" => [
                        "header" => __("Create your new sign configuration", "neon-channel-product-customizer-free"),
                        "description" => __("Follow these steps to setup a new sign configuration.", "neon-channel-product-customizer-free"),
                        "label" => __("Enter a name for your new sign configuration", "neon-channel-product-customizer-free"),
                    ],
                    "state2" => [
                        "header" => __("Choose your product type", "neon-channel-product-customizer-free"),
                        "description" => __("Each product type has a unique set of configurable options.", "neon-channel-product-customizer-free"),
                    ],
                    "state3" => [
                        "header" => __("Choose a pricing model", "neon-channel-product-customizer-free"),
                        "description" => __("Select the pricing and sizing model for your new sign configuration.", "neon-channel-product-customizer-free"),
                    ],
                    "state4" => [
                        "header" => __("Include demo data?", "neon-channel-product-customizer-free"),
                        "description" => __("To help you get started we can automatically add fonts, colors, prices and sizes to your new configuration.", "neon-channel-product-customizer-free"),
                        "modal" => [
                            "header" => __("Confirm saving sign configuration", "neon-channel-product-customizer-free"),
                            "title" => __("You have selected the following options for your new sign configuration:", "neon-channel-product-customizer-free"),
                            "option1" => __("Product type", "neon-channel-product-customizer-free"),
                            "option2" => __("Letter model", "neon-channel-product-customizer-free"),
                            "option3" => __("Include demo data", "neon-channel-product-customizer-free"),
                            "description" => __('Once you click "Save and Continue" you will <b>not be able to change the letter model or product type</b> for this sign configuration again.', "neon-channel-product-customizer-free"),
                        ]
                    ],
                    "type" => [
                        "neon" => [
                            "header" => __("Neon signs", "neon-channel-product-customizer-free"),
                            "title" => __("Best for flex LED / glass neon letter signs", "neon-channel-product-customizer-free"),
                            "description" => __("Create illuminated signs in one or more colors with efficient pricing systems on all customization options", "neon-channel-product-customizer-free"),
                        ],
                        "channel" => [
                            "header" => __("Channel Signs", "neon-channel-product-customizer-free"),
                            "title" => __("Best for 2D non-lit & 3D illuminated letter signs", "neon-channel-product-customizer-free"),
                            "description" => __("Create signs of all shapes and sizes with efficient pricing systems on all customization options", "neon-channel-product-customizer-free"),
                        ]
                    ],
                    "mode" => [
                        "fixedWidth" => [
                            "header" => __("Fixed Width", "neon-channel-product-customizer-free"),
                            "options" => [
                                __("Fixed price per letter", "neon-channel-product-customizer-free"),
                                __("Fixed price per line", "neon-channel-product-customizer-free"),
                                __("Determine sign size by preset width and approximate height", "neon-channel-product-customizer-free"),
                                __("Accurate sizing and measurements by Approximate to selected width", "neon-channel-product-customizer-free"),
                                __("Maximum of 3 lines of text per size", "neon-channel-product-customizer-free"),
                            ],
                        ],
                        "fixedHeight" => [
                            "header" => __("Fixed Height", "neon-channel-product-customizer-free"),
                            "options" => [
                                __("Fixed price per letter", "neon-channel-product-customizer-free"),
                                __("Fixed price per line", "neon-channel-product-customizer-free"),
                                __("Determine sign size by preset height and approximate height", "neon-channel-product-customizer-free"),
                                __("Accurate sizing and measurements by Approximate to selected height", "neon-channel-product-customizer-free"),
                                __("Maximum of 3 lines of text per size", "neon-channel-product-customizer-free"),
                            ],
                        ],
                        "advanced" => [
                            "header" => __("Advanced", "neon-channel-product-customizer-free"),
                            "description" => __("Ensure accurate pricing and sizing for your signs while creating the best experience for your customers.", "neon-channel-product-customizer-free"),
                            "options" => [
                                __("Fixed price per letter", "neon-channel-product-customizer-free"),
                                __("Material length pricing", "neon-channel-product-customizer-free"),
                                __("Shipping size calculator", "neon-channel-product-customizer-free"),
                                __("Accurate sizing and measurements auto", "neon-channel-product-customizer-free"),
                                __("Let customers choose their own size", "neon-channel-product-customizer-free"),
                                __("Min height for lowercase & uppercase letters", "neon-channel-product-customizer-free"),
                            ],
                        ]
                    ],
                    "demoData" => [
                        "header" => __("Include demo data?", "neon-channel-product-customizer-free"),
                        "description" => __("To help you get started we can automatically add fonts, colors, prices and sizes to your new configuration", "neon-channel-product-customizer-free"),
                        "includeButton" => __("Include Demo Data", "neon-channel-product-customizer-free"),
                        "noIncludeButton" => __("No Include Demo Data", "neon-channel-product-customizer-free"),
                        "modal" => [
                            "header" => __("Confirm saving sign configuration", "neon-channel-product-customizer-free"),
                            "title" => __("You have selected the following options for your new sign configuration:", "neon-channel-product-customizer-free"),
                            "type" => __("Product type", "neon-channel-product-customizer-free"),
                            "mode" => __("Letter model", "neon-channel-product-customizer-free"),
                            "include" => __("Include demo data", "neon-channel-product-customizer-free"),
                            "description" => __('Once you click "Save and Continue" you will not be able to change the letter model or product type for this sign configuration again.', "neon-channel-product-customizer-free"),
                            "cancel" => __("Cancel", "neon-channel-product-customizer-free"),
                            "save" => __("Save And Continue", "neon-channel-product-customizer-free"),
                        ]

                    ]
                ],
                "requiredOptions" => [
                    "title" => __("Required options", "neon-channel-product-customizer-free"),
                    "sizeOptions" => [
                        "tabHeader" => __("Sizes", "neon-channel-product-customizer-free"),
                        "newSize" => __("Add new size", "neon-channel-product-customizer-free"),
                        "sizeItem" => [
                            "modeSimple" => [
                                "resize" => [
                                    "title" => __("Resize Settings", "neon-channel-product-customizer-free"),
                                    "enableAutoResize" => __("Enable auto resize", "neon-channel-product-customizer-free"),
                                    "desktop" => __("On desktop", "neon-channel-product-customizer-free"),
                                    "mobile" => __("On mobile", "neon-channel-product-customizer-free"),
                                    "minFontSize" => [
                                        "label" => __("Min Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("Font size to which we no longer reduce", "neon-channel-product-customizer-free")
                                    ],
                                    "defaultFontSize" => [
                                        "label" => __("Default Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("Default font size", "neon-channel-product-customizer-free")
                                    ],
                                    "maxFontSize" => [
                                        "label" => __("Max Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("Largest value the font size can take", "neon-channel-product-customizer-free")
                                    ],
                                ],
                                "sizeLabel" => [
                                    "label" => __("Label", "neon-channel-product-customizer-free"),
                                    "description" => __("The name of the size (e.g. small)", "neon-channel-product-customizer-free"),
                                ],
                                "sizeDescription" => [
                                    "label" => __("Description", "neon-channel-product-customizer-free"),
                                    "description" => __("e.g. Maximum 60cm (2ft) in length.", "neon-channel-product-customizer-free")
                                ],
                                "sizeLine" => [
                                    "sizeWidth" => [
                                        "title" => __("Size Width And Lines Of Text", "neon-channel-product-customizer-free"),
                                        "width" => [
                                            "label" => __("Width(centimeters)", "neon-channel-product-customizer-free"),
                                            "description" => __("This sign size will always be the width defined with this input.", "neon-channel-product-customizer-free"),
                                        ],
                                        "maxLines" => [
                                            "label" => __("Maximum lines of text for this size", "neon-channel-product-customizer-free"),
                                            "description" => __("The number of lines of text that is allowed for this size.", "neon-channel-product-customizer-free")
                                        ]
                                    ],
                                    "sizeHeight" => [
                                        "title" => __("Size Height And Lines Of Text", "neon-channel-product-customizer-free"),
                                        "width" => [
                                            "label" => __("Height(centimeters)", "neon-channel-product-customizer-free"),
                                            "description" => __("This sign size will always be the width defined with this input.", "neon-channel-product-customizer-free"),
                                        ],
                                        "maxLines" => [
                                            "label" => __("Maximum lines of text for this size", "neon-channel-product-customizer-free"),
                                            "description" => __("The number of lines of text that is allowed for this size.", "neon-channel-product-customizer-free")
                                        ]
                                    ],
                                ],
                                "sizeCharacters" => [
                                    "text" => __("Minimum and Maximum characters allowed for this size", "neon-channel-product-customizer-free"),
                                    "minChar" => [
                                        "label" => __("Minimum Text Characters", "neon-channel-product-customizer-free"),
                                        "description" => __("The minimum number of text characters for the entire sign. The default minimum is 3 characters.", "neon-channel-product-customizer-free"),
                                    ],
                                    "maxChar" => [
                                        "label" => __("Maximum Text Characters per line", "neon-channel-product-customizer-free"),
                                        "description" => __("The maximum number of text characters allowed per line (e.g. 20 text characters per line).", "neon-channel-product-customizer-free"),
                                    ]
                                ],
                            ],
                            "modeAdvanced" => [
                                "sizeLabel" =>
                                    [
                                        "label" => __("Label", "neon-channel-product-customizer-free"),
                                        "description" => __("The name of the size (e.g. small)", "neon-channel-product-customizer-free"),
                                    ],
                                "resize" => [
                                    "title" => __("Resize Settings", "neon-channel-product-customizer-free"),
                                    "enableAutoResize" => __("Enable auto resize", "neon-channel-product-customizer-free"),
                                    "desktop" => __("On desktop", "neon-channel-product-customizer-free"),
                                    "mobile" => __("On mobile", "neon-channel-product-customizer-free"),
                                    "minFontSize" => [
                                        "label" => __("Min Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("The font size at which we no longer reduce", "neon-channel-product-customizer-free")
                                    ],
                                    "defaultFontSize" => [
                                        "label" => __("Default Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("The default font size", "neon-channel-product-customizer-free")
                                    ],
                                    "maxFontSize" => [
                                        "label" => __("Max Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("The largest value the font size can take", "neon-channel-product-customizer-free")
                                    ],
                                ],
                                "scale" =>
                                    [
                                        "label" => __("Text Scale", "neon-channel-product-customizer-free"),
                                        "description" => __("Set a multiplier for the overall size of the sign size (e.g. set 1 for a 100% of the signs size, 2 for 200% of the signs size).", "neon-channel-product-customizer-free")
                                    ],
                            ],
                        ],
                        "listSizes" => [
                            "modeSimple" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "width" => __("Width", "neon-channel-product-customizer-free"),
                                "height" => __("Height", "neon-channel-product-customizer-free"),
                                "minChar" => __("Min char", "neon-channel-product-customizer-free"),
                                "maxChar" => __("Max char", "neon-channel-product-customizer-free"),
                                "lineLimit" => __("Line limite", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                            "modeAdvanced" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "sizeScaleMultiplier" => __("Size Scale Multiplier", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                        ],
                        "sizeSetting" => [
                            "modeSimple" => [
                                "label" => __("Size Settings", "neon-channel-product-customizer-free"),
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "autoSwitching" =>
                                    [
                                        "label" => __("Prevent size automatically switching up", "neon-channel-product-customizer-free"),
                                        "description" => __("When the amount of characters per line entered by the customer exceeds the maximum number of characters per line for the current size, the app will automatically switch to the next size with a higher character limit per line. Check this option to stop this behaviour.", "neon-channel-product-customizer-free")
                                    ],
                            ],
                            "modeAdvanced" => [
                                "label" => __("Size Settings", "neon-channel-product-customizer-free"),
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "character" => [
                                    "Label" => __("CHARACTER AND SIGN DIMENSION LIMITS", "neon-channel-product-customizer-free"),
                                    "description" => __("Description", "neon-channel-product-customizer-free"),
                                    "title" => __("Minimum Text Characters", "neon-channel-product-customizer-free"),
                                    "explain" => __("The minimum number of text characters for the sign.", "neon-channel-product-customizer-free"),

                                ],
                                "maxWidth" => [
                                    "title" => __("Maximum Sign Width", "neon-channel-product-customizer-free"),
                                    "Unlimited" => [
                                        "enable" => [
                                            "title" => __("Unlimited Width", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                    "limited" => [
                                        "enable" => [
                                            "title" => __("Limited width", "neon-channel-product-customizer-free"),
                                            "explain" => __("Set a maximum width for the sign in centimeters. A popup will appear if the sign exceeds this width.", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                ],
                                "maxheight" => [
                                    "title" => __("Maximum Sign height", "neon-channel-product-customizer-free"),
                                    "Unlimited" => [
                                        "enable" => [
                                            "title" => __("Unlimited height", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                    "limited" => [
                                        "enable" => [
                                            "title" => __("Limited height", "neon-channel-product-customizer-free"),
                                            "explain" => __("Set a maximum height for the sign in centimeters. A popup will appear if the sign exceeds this height.", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                ],
                                "Custom" => [
                                    "title" => __("CUSTOM SIZING", "neon-channel-product-customizer-free"),
                                    "description" => __("Show an additional option in sizes that will allow the customer to change the width of sign using a range slider.", "neon-channel-product-customizer-free"),
                                    "Disable" => [
                                        "enable" => [
                                            "title" => __("Disable Custom Sizing", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                    "enableCustom" => [
                                        "enable" => [
                                            "label" => __("Enable Custom Sizing", "neon-channel-product-customizer-free"),
                                            "explain" => __("Customers can set a custom size for their sign.", "neon-channel-product-customizer-free"),
                                            "title" => __("Title", "neon-channel-product-customizer-free"),
                                            "titleExplain" => __("Maximum Range in centimeters", "neon-channel-product-customizer-free"),
                                            "max" => __("Maximum Range in centimeters", "neon-channel-product-customizer-free"),
                                            "maxExplain" => __("Maximum width that the range slider will allow. If left blank, it will default to 300cm.", "neon-channel-product-customizer-free"),
                                            "step" => __("Step", "neon-channel-product-customizer-free"),
                                            "stepExplain" => __("The step of evolution of the custom line.", "neon-channel-product-customizer-free"),
                                        ],
                                    ]
                                ]
                            ]
                        ],
                        "modal" => [
                            "delete" => __("Do you want to remove this size ?", "neon-channel-product-customizer-free"),
                        ],
                    ],
                    "pricingOption" => [
                        "tabHeader" => __("Pricing", "neon-channel-product-customizer-free"),
                        "newPricing" => __("Add new pricing", "neon-channel-product-customizer-free"),
                        "duplicateText" => __("Enter a new name for the duplicated pricing", "neon-channel-product-customizer-free"),
                        "modal" => [
                            "delete" => __("Do you want to remove this pricing ?", "neon-channel-product-customizer-free"),
                        ],
                        "pricingsItem" => [
                            "pricingsLabel" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "description" => __("The label is not shown to the customer.(Required)", "neon-channel-product-customizer-free"),
                            ],
                            "modeSimple" => [
                                "pricingsForSize" => [
                                    "title" => __("Pricing for each size", "neon-channel-product-customizer-free"),
                                    "description" => __("Width (centimeters) Maximum lines of text for this size This sign size will always be the width defined with this input. The number of lines of text that is allowed for this size.", "neon-channel-product-customizer-free"),
                                    "moreSize" => __("Add more size", "neon-channel-product-customizer-free"),
                                ],
                                "sizes" => [
                                    "label" => __("Size: ", "neon-channel-product-customizer-free"),
                                    "line" => [
                                        "line" => __("Line", "neon-channel-product-customizer-free"),
                                        "basePrice" => __("Base price", "neon-channel-product-customizer-free"),
                                        "letterPrice" => __("Letter price", "neon-channel-product-customizer-free"),
                                        "nbCharStartAddPricePerLetter" => __("Number of characters in Base Price", "neon-channel-product-customizer-free")
                                    ],
                                ],
                            ],
                            "modeAdvanced" => [
                                "pricingMethod" => __("Pricing Method", "neon-channel-product-customizer-free"),
                                "fixed" => [
                                    "title" => __("Fixed cost per letter", "neon-channel-product-customizer-free"),
                                ],
                                "letter" => [
                                    "title" => __("Letter material cost", "neon-channel-product-customizer-free"),
                                ],
                                "both" => [
                                    "title" => __("Letter pricing method And letter material cost", "neon-channel-product-customizer-free"),
                                ],
                                "signPartForMaterialCost" => [
                                    "title" => __("Material Area For Cost", "neon-channel-product-customizer-free"),
                                    "description" => __("The part of the sign that will be used to calculate the cost of the material", "neon-channel-product-customizer-free"),
                                ],
                                "perMeter" => [
                                    "title" => __("Per x Meter", "neon-channel-product-customizer-free"),
                                    "measurementSide" => [
                                        "label" => __("Which part of the measuremente", "neon-channel-product-customizer-free"),
                                        "description" => __("Choose which part of the measurement to apply the per meter to.", "neon-channel-product-customizer-free"),
                                        "options" => [
                                            "width" => __("Width", "neon-channel-product-customizer-free"),
                                            "height" => __("Height", "neon-channel-product-customizer-free"),
                                            "max" => __("Max of them", "neon-channel-product-customizer-free"),
                                        ]
                                    ],
                                    "signPart" => [
                                        "label" => __("Which part of sign", "neon-channel-product-customizer-free"),
                                        "description" => __("Choose which part of the sign to apply the price to.", "neon-channel-product-customizer-free"),
                                        "options" => [
                                            "char" => __("Each Char", "neon-channel-product-customizer-free"),
                                            "allText" => __("All text", "neon-channel-product-customizer-free"),
                                        ]
                                    ],
                                    "per" => __("Per", "neon-channel-product-customizer-free"),
                                    "price" => __("Price", "neon-channel-product-customizer-free"),
                                ],
                                "Price" => [
                                    "formula" => __("Price Formula", "neon-channel-product-customizer-free"),
                                    "description" => __("Add additional size ranges to apply unique price calculations for a given size range.d", "neon-channel-product-customizer-free"),
                                ],
                                "sizes" => [
                                    "label" => __("Size Range 1 - Starts at 0 - continue to infinity", "neon-channel-product-customizer-free"),
                                    "max" => [
                                        "title" => __("Max Size Range", "neon-channel-product-customizer-free"),
                                        "description" => __("Define the maximum width and height range that the below price inputs will apply too", "neon-channel-product-customizer-free"),
                                    ],
                                    "shipping" => [
                                        "label" => __("Shipping Price", "neon-channel-product-customizer-free"),

                                        "description" => __("Dynamic price based on final sign dimensions.", "neon-channel-product-customizer-free"),
                                    ],
                                    "easily" => [
                                        "title" => __("Easily convert shipping price", "neon-channel-product-customizer-free"),
                                        "price" => [
                                            "title1" => __("Price Per Letter", "neon-channel-product-customizer-free"),
                                            "title2" => __("Letter Material Cost", "neon-channel-product-customizer-free"),
                                            "description1" => __("Cost of each letter for this size range.", "neon-channel-product-customizer-free"),
                                            "description2" => __("Cost of the material used to create the letters for this sign (e.g. flexible neon, glass).", "neon-channel-product-customizer-free"),
                                        ],
                                        "Start" => [
                                            "title" => __("Start Price - (Optional)", "neon-channel-product-customizer-free"),
                                            "description" => __("Included any additional cost (e.g. building cost).", "neon-channel-product-customizer-free"),
                                        ]
                                    ],
                                ],
                                "shippingMethod" => [
                                    "label" => __("Shipping Method", "neon-channel-product-customizer-free"),
                                    "options" => [
                                        "surface" => __("Surface (W*H)", "neon-channel-product-customizer-free"),
                                        "weight" => __("Weight (kg)", "neon-channel-product-customizer-free")
                                    ],
                                    "weight" => [
                                        "divisorVolumetric" => [
                                            "label" => __("Volumetric Divisor", "neon-channel-product-customizer-free"),
                                            "description" => __("Used by shipping providers to calculate the volumetric weight of a parcel.", "neon-channel-product-customizer-free"),
                                        ],
                                        "parcelSizes" => [
                                            "label" => __("Parcel Sizes", "neon-channel-product-customizer-free"),
                                            "description" => __("What I'm trying to say is that we'll set up the two options in such a way that you can decide which one to use.", "neon-channel-product-customizer-free"),
                                            "length" => [
                                                "label" => __("Lenght", "neon-channel-product-customizer-free"),
                                                "description" => __("The parcel length is the final dimension that cannot be automatically calclulated and must be supplied here for this given size range.", "neon-channel-product-customizer-free")
                                            ],
                                            "width" => [
                                                "label" => __("Width Modifier", "neon-channel-product-customizer-free"),
                                                "description" => __("Additional width added to the sign width.", "neon-channel-product-customizer-free"),
                                            ],
                                            "height" => [
                                                "label" => __("Height Modifier", "neon-channel-product-customizer-free"),
                                                "description" => __("Additional height added to the sign width.", "neon-channel-product-customizer-free"),
                                            ]
                                        ]
                                    ],
                                ],
                                "sizeCharacters" => [
                                    "text" => __("Minimum and Maximum characters allowed for this size", "neon-channel-product-customizer-free"),
                                    "minChar" => [
                                        "label" => __("Minimum Text Characters", "neon-channel-product-customizer-free"),
                                        "description" => __("The minimum number of text characters for the entire sign. The default minimum is 3 characters.", "neon-channel-product-customizer-free"),
                                    ],
                                    "maxChar" => [
                                        "label" => __("Maximum Text Characters per line", "neon-channel-product-customizer-free"),
                                        "description" => __("The maximum number of text characters allowed per line (e.g. 20 text characters per line).", "neon-channel-product-customizer-free"),
                                    ]
                                ],
                            ],
                            "modeAdvanced" => [
                                "sizeLabel" =>
                                    [
                                        "label" => __("Label", "neon-channel-product-customizer-free"),
                                        "description" => __("The name of the size (e.g. small)", "neon-channel-product-customizer-free"),
                                    ],
                                "resize" => [
                                    "title" => __("Resize Settings", "neon-channel-product-customizer-free"),
                                    "enableAutoResize" => __("Enable auto resize", "neon-channel-product-customizer-free"),
                                    "desktop" => __("On desktop", "neon-channel-product-customizer-free"),
                                    "mobile" => __("On mobile", "neon-channel-product-customizer-free"),
                                    "minFontSize" => [
                                        "label" => __("Min Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("The font size at which we no longer reduce", "neon-channel-product-customizer-free")
                                    ],
                                    "defaultFontSize" => [
                                        "label" => __("Default Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("The default font size", "neon-channel-product-customizer-free")
                                    ],
                                    "maxFontSize" => [
                                        "label" => __("Max Font Size", "neon-channel-product-customizer-free"),
                                        "description" => __("The largest value the font size can take", "neon-channel-product-customizer-free")
                                    ],
                                ],
                                "scale" =>
                                    [
                                        "label" => __("Text Scale", "neon-channel-product-customizer-free"),
                                        "description" => __("Set a multiplier for the overall size of the sign size (e.g. set 1 for a 100% of the signs size, 2 for 200% of the signs size).", "neon-channel-product-customizer-free")
                                    ],
                            ],
                        ],
                        "listSizes" => [
                            "modeSimple" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "width" => __("Width", "neon-channel-product-customizer-free"),
                                "minChar" => __("Min char", "neon-channel-product-customizer-free"),
                                "maxChar" => __("Max char", "neon-channel-product-customizer-free"),
                                "lineLimit" => __("Line limite", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                            "modeAdvanced" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "sizeScaleMultiplier" => __("Size Scale Multiplier", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                        ],
                        "sizeSetting" => [
                            "modeSimple" => [
                                "label" => __("Size Settings", "neon-channel-product-customizer-free"),
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "autoSwitching" =>
                                    [
                                        "label" => __("Prevent size automatically switching up", "neon-channel-product-customizer-free"),
                                        "description" => __("When the amount of characters per line entered by the customer exceeds the maximum number of characters per line for the current size, the app will automatically switch to the next size with a higher character limit per line. Check this option to stop this behaviour.", "neon-channel-product-customizer-free")
                                    ],
                            ],
                            "modeAdvanced" => [
                                "label" => __("Size Settings", "neon-channel-product-customizer-free"),
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "character" => [
                                    "Label" => __("CHARACTER AND SIGN DIMENSION LIMITS", "neon-channel-product-customizer-free"),
                                    "description" => __("Description", "neon-channel-product-customizer-free"),
                                    "title" => __("Minimum Text Characters", "neon-channel-product-customizer-free"),
                                    "explain" => __("The minimum number of text characters for the sign.", "neon-channel-product-customizer-free"),

                                ],
                                "maxWidth" => [
                                    "title" => __("Maximum Sign Width", "neon-channel-product-customizer-free"),
                                    "Unlimited" => [
                                        "enable" => [
                                            "title" => __("Unlimited Width", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                    "limited" => [
                                        "enable" => [
                                            "title" => __("Limited width", "neon-channel-product-customizer-free"),
                                            "explain" => __("Set a maximum width for the sign in centimeters. A popup will appear if the sign exceeds this width.", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                ],
                                "maxheight" => [
                                    "title" => __("Maximum Sign height", "neon-channel-product-customizer-free"),
                                    "Unlimited" => [
                                        "enable" => [
                                            "title" => __("Unlimited height", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                    "limited" => [
                                        "enable" => [
                                            "title" => __("Limited height", "neon-channel-product-customizer-free"),
                                            "explain" => __("Set a maximum height for the sign in centimeters. A popup will appear if the sign exceeds this height.", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                ],
                                "Custom" => [
                                    "title" => __("CUSTOM SIZING", "neon-channel-product-customizer-free"),
                                    "description" => __("Show an additional option in sizes that will allow the customer to change the width of sign using a range slider.", "neon-channel-product-customizer-free"),
                                    "Disable" => [
                                        "enable" => [
                                            "title" => __("Disable Custom Sizing", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                    "enableCustom" => [
                                        "enable" => [
                                            "label" => __("Enable Custom Sizing", "neon-channel-product-customizer-free"),
                                            "explain" => __("Customers can set a custom size for their sign.", "neon-channel-product-customizer-free"),
                                            "title" => __("Title", "neon-channel-product-customizer-free"),
                                            "titleExplain" => __("Maximum Range in centimeters", "neon-channel-product-customizer-free"),
                                            "max" => __("Maximum Range in centimeters", "neon-channel-product-customizer-free"),
                                            "maxExplain" => __("Maximum width that the range slider will allow. If left blank, it will default to 300cm.", "neon-channel-product-customizer-free"),
                                            "step" => __("Step", "neon-channel-product-customizer-free"),
                                            "stepExplain" => __("The step of evolution of the custom line.", "neon-channel-product-customizer-free"),
                                        ],
                                    ]
                                ],
                            ]
                        ],
                        "listPricing" => [
                            "modeSimple" => [
                                "name" => __("Name", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                            "modeAdvanced" => [
                                "name" => __("Name", "neon-channel-product-customizer-free"),
                                "letter" => __("Letter price Method", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ]
                        ]
                    ],
                    "fontOptions" => [
                        "tabHeader" => __("Fonts", "neon-channel-product-customizer-free"),
                        "newFont" => __("Add new font", "neon-channel-product-customizer-free"),
                        "pricing" => __("Pricing", "neon-channel-product-customizer-free"),
                        "typeFont" => [
                            "googleFont" => [
                                "header" => __("Google Font (default)", "neon-channel-product-customizer-free"),
                                "font" => [
                                    "chooseFont" => __("Choose google fonts", "neon-channel-product-customizer-free"),
                                    "label" => __("Label", "neon-channel-product-customizer-free"),
                                    "description" => __("The name of the font (e.g. Roboto).", "neon-channel-product-customizer-free"),
                                ],
                                "variant" => __("Choose font variant(Required)"),
                            ],
                            "preview" => [
                                "label" => __("Font Preview Image", "neon-channel-product-customizer-free"),
                                "choose" => __("Choose font image", "neon-channel-product-customizer-free"),
                                "description" => __("Defining an image would make it possible to display the font in a different way, instead of just the name.", "neon-channel-product-customizer-free"),
                            ],
                            "upload" => [
                                "header" => __("Upload", "neon-channel-product-customizer-free"),
                                "font" => [
                                    "title" => __("Upload font", "neon-channel-product-customizer-free"),
                                    "label" => __(".ttf Font File Type (Required)", "neon-channel-product-customizer-free"),
                                    "choose" => [
                                        "label" => __("Choose a font file", "neon-channel-product-customizer-free"),
                                        "description" => __("For best results keep the label of the font to one word only as this label is shown to the customer.", "neon-channel-product-customizer-free"),
                                    ],
                                ]
                            ],
                            "fontName" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "description" => __("The name of the font (e.g. Roboto).", "neon-channel-product-customizer-free"),
                            ],
                            "modeSimple" => [
                                "pricing" => __("Pricing", "neon-channel-product-customizer-free"),
                                "limit" => __("Limit this font to a size and above (optional)", "neon-channel-product-customizer-free"),
                                "description" => __("Every font belongs to a simple pricing model.", "neon-channel-product-customizer-free"),
                            ],
                            "modeAdvanced" => [
                                "pricing" => __("Pricing", "neon-channel-product-customizer-free"),
                                "smallest" => [
                                    "label" => __("Minimum height for smallest letter", "neon-channel-product-customizer-free"),
                                    "description" => __("The minimum height for smallest letter in centimeter", "neon-channel-product-customizer-free"),
                                ],
                                "uppercase" => [
                                    "label" => __("Minimum height for smallest letter", "neon-channel-product-customizer-free"),
                                    "description" => __("The minimum height for uppercase letter in centimeter", "neon-channel-product-customizer-free"),
                                ]
                            ],
                            "style" => [
                                "fontStyle" => __("Font Style", "neon-channel-product-customizer-free"),
                                "lineHeight" => __("Line Height", "neon-channel-product-customizer-free"),
                                "height" => [
                                    "normal" => [
                                        "label" => __("Normal(default)", "neon-channel-product-customizer-free"),
                                    ],
                                    "specific" => [
                                        "label" => __("Specific Line Height", "neon-channel-product-customizer-free"),
                                        "description" => __("Adjust the space between each new line of text for this font in the configurator", "neon-channel-product-customizer-free"),
                                        "description1" => __("Adjust the space between each new line of text for this font in the height calculation.", "neon-channel-product-customizer-free"),
                                    ],
                                ]

                            ]

                        ],
                        "modal" => [
                            "delete" => __("Do you want to remove this font ?", "neon-channel-product-customizer-free"),
                        ],
                        "listFonts" => [
                            "font" => __("Font", "neon-channel-product-customizer-free"),
                            "lineHeight" => __("Line Height", "neon-channel-product-customizer-free"),
                            "pricing" => __("Pricing", "neon-channel-product-customizer-free"),
                            "action" => __("Actions", "neon-channel-product-customizer-free"),
                        ],
                        "fontsSetting" => [
                            "label" => __("Fonts Settings", "neon-channel-product-customizer-free"),
                            "Setting" => [
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "explain" => __("This will display under the title.", "neon-channel-product-customizer-free"),
                            ]

                        ]

                    ],
                    "colorOptions" => [
                        "tabHeader" => __("Colors", "neon-channel-product-customizer-free"),
                        "newColor" => __("Add new color", "neon-channel-product-customizer-free"),
                        "colorItem" => [
                            "label" => __("Label", "neon-channel-product-customizer-free"),
                            "description" => __("The name of the color (e.g. Black).", "neon-channel-product-customizer-free"),
                            "type" => __("Color type", "neon-channel-product-customizer-free"),
                            "color" => __("Color ", "neon-channel-product-customizer-free"),
                            "size" => [
                                "title" => __("Minimum Size (optional)", "neon-channel-product-customizer-free"),
                                "minWidth" => __("Minimum Width", "neon-channel-product-customizer-free"),
                                "explainWidth" => __("If value is greater than 0, then this color may be disabled when the width of the sign is less than this value.", "neon-channel-product-customizer-free"),
                                "minHeight" => __("Minimum Height ", "neon-channel-product-customizer-free"),
                                "explainHeight" => __("If value is greater than 0, then this color may be disabled when the height of the sign is less than this value.", "neon-channel-product-customizer-free"),
                            ],
                            "rule" => [
                                "label" => __("Rule", "neon-channel-product-customizer-free"),
                                "one" => __("Disable until one of the minimum values is reached. ", "neon-channel-product-customizer-free"),
                                "both" => __("Disable until both minimum values are reached", "neon-channel-product-customizer-free"),
                            ],
                        ],
                        "colorList" => [
                            "label" => __("Label", "neon-channel-product-customizer-free"),
                            "colorHex" => __("Color hexcode", "neon-channel-product-customizer-free"),
                            "action" => __("Actions", "neon-channel-product-customizer-free"),
                        ],
                        "modal" => [
                            "delete" => __("Do you want to remove this color ?", "neon-channel-product-customizer-free"),
                        ],
                        "colorSetting" => [
                            "settingLabel" => __("Colors Settings", "neon-channel-product-customizer-free"),
                            "title" => __("Title", "neon-channel-product-customizer-free"),
                            "description" => __("Description", "neon-channel-product-customizer-free"),
                            "explain" => __("Provide further details about your colors (e.g. 'red and green + $10').", "neon-channel-product-customizer-free"),
                            "glowEffect" => __("Glow Effect", "neon-channel-product-customizer-free")
                        ]
                    ],
                    "letterTypeOptions" => [
                        "tabHeader" => __("Letter type", "neon-channel-product-customizer-free"),
                        "newtype" => __("Add new letter type", "neon-channel-product-customizer-free"),
                        "typeItem" => [
                            "example" => __("Example", "neon-channel-product-customizer-free"),
                            "action" => __("Action ", "neon-channel-product-customizer-free"),
                            "noLetter" => __("No letter type currently added", "neon-channel-product-customizer-free"),
                            "listLetterType" => [
                                "Exemple" => __("Exemple", "neon-channel-product-customizer-free"),
                                "Label" => __("Label", "neon-channel-product-customizer-free"),
                                "Type" => __("Type", "neon-channel-product-customizer-free"),
                                "Textures" => __("Textures", "neon-channel-product-customizer-free"),
                                "Active" => __("Active", "neon-channel-product-customizer-free"),
                                "Action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                            "modal" => [
                                "delete" => __("Do you want to remove this letter type ?", "neon-channel-product-customizer-free"),
                            ],
                            "newItem" => [
                                "PartSetting" => [
                                    "header" => __("Settings", "neon-channel-product-customizer-free"),
                                    "title" => [
                                        "label" => __("Title", "neon-channel-product-customizer-free"),
                                    ],
                                    "faceGlow" => [
                                        "label" => __("Make it glow", "neon-channel-product-customizer-free"),
                                    ],
                                    "description" => [
                                        "label" => __("Description", "neon-channel-product-customizer-free"),
                                        "description" => __('Provide further details about the colours e.g. "red and green + $10"', "neon-channel-product-customizer-free"),
                                    ]
                                ],
                                "texture" => [
                                    "newTexture" => [
                                        "addNewTexture" => __("Add new texture", "neon-channel-product-customizer-free"),
                                        "title" => __("Title", "neon-channel-product-customizer-free"),
                                        "color" => __("Color", "neon-channel-product-customizer-free"),
                                        "visualEffect" => [
                                            "title" => __("Visual Effect", "neon-channel-product-customizer-free"),
                                            "description" => __("Choose the visual effect for this letter part texture.", "neon-channel-product-customizer-free"),
                                        ],
                                        "size" => [
                                            "title" => __("Minimum Size (optional)", "neon-channel-product-customizer-free"),
                                            "minWidth" => __("Minimum Width", "neon-channel-product-customizer-free"),
                                            "explainWidth" => __("When the value is greater than 0, then the selected  color will be disabled and the width of the sign will be less than the value you put.", "neon-channel-product-customizer-free"),
                                            "minHeight" => __("Minimum Height ", "neon-channel-product-customizer-free"),
                                            "explainHeight" => __("When the value is greater than 0, then the selected  color will be disabled and the height of the sign will be less than the value you put.", "neon-channel-product-customizer-free"),
                                        ],
                                        "rule" => [
                                            "label" => __("Rule", "neon-channel-product-customizer-free"),
                                            "one" => __("Disable until one of the minimum values is reached. ", "neon-channel-product-customizer-free"),
                                            "both" => __("Disable until both minimum values are reached", "neon-channel-product-customizer-free"),
                                        ],
                                    ],
                                    "modal" => [
                                        "delete" => __("Do you want to remove this color ?", "neon-channel-product-customizer-free"),
                                    ],
                                    "listTexture" => [
                                        "noTexture" => __("No texture added", "neon-channel-product-customizer-free"),
                                        "label" => __("Label", "neon-channel-product-customizer-free"),
                                        "codeHex" => __("Color Hexacode", "neon-channel-product-customizer-free"),
                                        "visualEffect" => __("Visual effect", "neon-channel-product-customizer-free"),
                                        "action" => __("Actions", "neon-channel-product-customizer-free"),
                                    ],
                                    "textureSettings" => [
                                        "label" => __("Face Settings", "neon-channel-product-customizer-free"),
                                        "settings" => [
                                            "title" => __("Title", "neon-channel-product-customizer-free"),
                                            "description" => __("Description", "neon-channel-product-customizer-free"),
                                            "explain" => __("Provide further details about the colours e.g. red and green + $10", "neon-channel-product-customizer-free"),
                                        ]
                                    ]
                                ]

                            ],
                            "letterTypeSetting" => [
                                "letter" => __("Letter Types Settings", "neon-channel-product-customizer-free"),
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "explain" => __("This field will be displayed under the label", "neon-channel-product-customizer-free"),
                            ]

                        ]

                    ]
                ],
                "additionalOption" => [
                    "title" => __("Additional Options", "neon-channel-product-customizer-free"),
                    "materialOptions" => [
                        "tabHeader" => __("Materials", "neon-channel-product-customizer-free"),
                        "newMaterial" => __("Add new Materiel", "neon-channel-product-customizer-free"),
                        "materialItem" => [
                            "label" => __("Label", "neon-channel-product-customizer-free"),
                            "description" => __("Description", "neon-channel-product-customizer-free"),
                        ],
                        "listMaterial" =>
                            [
                                "noItem" => __("No Materials found", "neon-channel-product-customizer-free"),
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "popupImage" => __("Popup image", "neon-channel-product-customizer-free"),
                                "additionalPricing" => __("Additional pricing", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                        "modal" => [
                            "delete" => __("Do you want to remove this material ?", "neon-channel-product-customizer-free"),
                        ],
                        "materialSetting" =>
                            [
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "explain" => __("This will display under the title.", "neon-channel-product-customizer-free"),
                            ]
                    ],
                    "jacketOptions" => [
                        "tabHeader" => __("Jackets", "neon-channel-product-customizer-free"),
                        "newJacket" => __("Add new jacket", "neon-channel-product-customizer-free"),
                        "jacketItem" => [
                            "item" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                            ],
                            "type" => [
                                "typeJacket" => __("Type of jacket", "neon-channel-product-customizer-free"),
                                "description" => __("The effect will apply to the visualiser when the sign light is turned off.", "neon-channel-product-customizer-free"),
                            ],
                            "color" => [
                                "colorExclusions" => __("Color Exclusions", "neon-channel-product-customizer-free"),
                                "description" => __("Select the colours that this jacket option will NOT be available for.", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "modal" => [
                            "delete" => __("Do you want to remove this jacket ?", "neon-channel-product-customizer-free"),
                        ],
                        "listJacket" =>
                            [
                                "noItem" => __("No Jackets found", "neon-channel-product-customizer-free"),
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                        "jacketSetting" =>
                            [
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "explain" => __("This will display under the title.", "neon-channel-product-customizer-free"),
                            ]
                    ],
                    "backboardOptions" => [
                        "tabHeader" => __("Backboard", "neon-channel-product-customizer-free"),
                        "newBackboard" => __("Add new backboard", "neon-channel-product-customizer-free"),
                        "backboardItem" => [
                            "item" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                            ],
                            "sign" => [
                                "signBackboard" => __("Sign backboard visualization", "neon-channel-product-customizer-free"),
                                "typeBackboard" => __("Backboard type - Select how your backboard will display on the customer facing visualizer.", "neon-channel-product-customizer-free"),
                            ],
                            "color" => [
                                "colorExclusions" => __("colorExclusions", "neon-channel-product-customizer-free"),
                                "description" => __("Select the colours that this jacket option will NOT be available for.", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "options" => [
                            "neon" => [
                                __('No backboard visualization', "neon-channel-product-customizer-free"),
                                __('Board', "neon-channel-product-customizer-free"),

                            ],

                        ],
                        "customShape" => [
                            "title" => __("Customize a shape using an svg file", "neon-channel-product-customizer-free"),
                            "image" => __("Upload an SVG file", "neon-channel-product-customizer-free"),
                            "description" => __("Upload an SVG file to create a custom shape for the backboard.", "neon-channel-product-customizer-free"),
                        ],
                        "layers" => [
                            "layer" => __("Layer", "neon-channel-product-customizer-free"),
                            "activate" => [
                                "title" => __("Enable Multi-layer Backboard", "neon-channel-product-customizer-free"),
                                "description" => __("Show backboards with multiple layers, works best with 2D channel letters.", "neon-channel-product-customizer-free"),
                            ],
                            "labelError" => __("Fill in the field", "neon-channel-product-customizer-free"),
                            "lengthError" => __("The size must be larger than the previous layer to be visible.", "neon-channel-product-customizer-free"),
                            "backboardLength" => [
                                "label" => __("Backboard length from letter", "neon-channel-product-customizer-free"),
                                "description" => __("Display how much of the backboard extends from the letter on the visualizer.", "neon-channel-product-customizer-free")
                            ],
                            "more" => __("Add More Layer", "neon-channel-product-customizer-free"),
                        ],
                        "modal" => [
                            "delete" => __("Do you want to remove this backboard ?", "neon-channel-product-customizer-free"),
                        ],
                        "listbackboard" =>
                            [
                                "noItem" => __("No backboards currently added", "neon-channel-product-customizer-free"),
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                        "backboardSetting" =>
                            [
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "explain" => __("Provide further details about your sizes.", "neon-channel-product-customizer-free"),
                            ]
                    ],
                    "backboardColorOptions" => [
                        "tabHeader" => __("Backboard Colors", "neon-channel-product-customizer-free"),
                        "newBackboardColor" => __("Add new backboard color", "neon-channel-product-customizer-free"),
                        "backboardColorItem" => [
                            "item" => [
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                            ],
                            "backboardColor" => __("Backboard Color", "neon-channel-product-customizer-free"),
                            "sign" => [
                                "layer" => __("Assign to a layer", "neon-channel-product-customizer-free"),
                                "backboardColor" => __("Sign backboard visualization", "neon-channel-product-customizer-free"),
                            ],
                            "pattern" => [
                                "label" => __("Image texture", "neon-channel-product-customizer-free"),
                                "description" => __("Texture Image - image fits the space of the backboard", "neon-channel-product-customizer-free"),
                            ],
                            "size" => [
                                "title" => __("Minimum Size (optional)", "neon-channel-product-customizer-free"),
                                "minWidth" => __("Minimum Width", "neon-channel-product-customizer-free"),
                                "explainWidth" => __("If value is greater than 0, then this color may be disabled when the width of the sign is less than this value.", "neon-channel-product-customizer-free"),
                                "minHeight" => __("Minimum Height ", "neon-channel-product-customizer-free"),
                                "explainHeight" => __("If value is greater than 0, then this color may be disabled when the height of the sign is less than this value.", "neon-channel-product-customizer-free"),
                            ],
                            "rule" => [
                                "title" => __("Rule", "neon-channel-product-customizer-free"),
                                "one" => __("Disable until one of the minimum values is reached. ", "neon-channel-product-customizer-free"),
                                "both" => __("Disable until both minimum values are reached", "neon-channel-product-customizer-free"),
                            ],
                            "exclusion" => [
                                "colorExclusions" => __("colorExclusions", "neon-channel-product-customizer-free"),
                                "description" => __("Select the colours that this jacket option will NOT be available for.", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "modal" => [
                            "delete" => __("Do you want to remove this backboard color ?", "neon-channel-product-customizer-free"),
                        ],
                        "listBackboardColor" =>
                            [
                                "noItem" => __("No backboard colors currently added", "neon-channel-product-customizer-free"),
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "popupImage" => __("Popup image", "neon-channel-product-customizer-free"),
                                "additionalPricing" => __("Additional pricing", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                        "backboardColorSetting" =>
                            [
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "explain" => __("Provide further details about your sizes.", "neon-channel-product-customizer-free"),
                            ]
                    ],
                    "mountingOptions" => [
                        "tabHeader" => __("Mountings", "neon-channel-product-customizer-free"),
                        "newMounting" => __("Add new mounting", "neon-channel-product-customizer-free"),
                        "mountingItem" => [
                            "label" => __("Label", "neon-channel-product-customizer-free"),
                            "description" => __("Description", "neon-channel-product-customizer-free"),
                        ],
                        "modal" => [
                            "delete" => __("Do you want to remove this mounting ?", "neon-channel-product-customizer-free"),
                        ],
                        "listMouting" =>
                            [
                                "noItem" => __("No mounting currently added", "neon-channel-product-customizer-free"),
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                        "mountingSetting" =>
                            [
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "explain" => __("Provide further details about your sizes.", "neon-channel-product-customizer-free"),
                            ]

                    ],
                    "customAdditionalOptions" => [
                        "tabHeader" => __("Additional Options", "neon-channel-product-customizer-free"),
                        "addNew" => __("Add new additional option", "neon-channel-product-customizer-free"),
                        "newItem" => [
                            "header" => __("Choose an Input Type", "neon-channel-product-customizer-free"),
                            "description" => __("This text will display above the input options.", "neon-channel-product-customizer-free"),
                            "type" => [
                                "header" => __("Set the Label and Description", "neon-channel-product-customizer-free"),
                                "description" => __("This text will display above the input options.", "neon-channel-product-customizer-free"),
                                "yesOrno" => __("Yes Or No", "neon-channel-product-customizer-free"),
                                "imageInput" => __("Image-Inputs", "neon-channel-product-customizer-free"),
                                "dropdown" => __("Dropdown", "neon-channel-product-customizer-free"),
                                "note" => __("Note", "neon-channel-product-customizer-free"),
                                "includeType" => __("Option included", "neon-channel-product-customizer-free"),
                                "input" => [
                                    "label" => __("Label", "neon-channel-product-customizer-free"),
                                    "description" => __("Description", "neon-channel-product-customizer-free"),
                                ],
                            ],
                            "yesOrno" => [
                                "header" => __("Yes/No Input", "neon-channel-product-customizer-free"),
                                "title" => __("Displays as two buttons side by side.", "neon-channel-product-customizer-free"),
                                "selectedVal" => __("Selected Value", "neon-channel-product-customizer-free"),
                                "unSelectedVal" => __("Unselected Value", "neon-channel-product-customizer-free"),
                                "defaultSelect" => [
                                    "header" => __("DEFAULT SELECTED VALUE", "neon-channel-product-customizer-free"),
                                    "description" => __("Choose which value is highlighted by default when the product customiser initally displays.", "neon-channel-product-customizer-free"),
                                ],
                                "selected" => __("Selected", "neon-channel-product-customizer-free"),
                                "unSelected" => __("UnSelected", "neon-channel-product-customizer-free"),
                            ],
                            "imageInput" => [
                                "header" => __("Images as Input", "neon-channel-product-customizer-free"),
                                "description" => __("Displays as a row of images that is selectable by the customer.", "neon-channel-product-customizer-free"),
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "value" => __("Value(Required)", "neon-channel-product-customizer-free"),
                            ],
                            "dropdown" => [
                                "header" => __("Dropdown Input", "neon-channel-product-customizer-free"),
                                "description" => __("Displays as a select list.", "neon-channel-product-customizer-free"),
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "value" => __("Value(Required)", "neon-channel-product-customizer-free"),
                            ],
                            "note" => [
                                "title" => __("Note Input", "neon-channel-product-customizer-free"),
                                "description" => __("Displays as a textarea field for customers to type any additional requirements.", "neon-channel-product-customizer-free"),
                                "label" => __("Character limit (optional)", "neon-channel-product-customizer-free"),
                                "noteDescription" => __("The maximum number of text characters for notes.", "neon-channel-product-customizer-free"),
                            ],
                        ],
                        "listAdditionalOptions" => [
                            "noItem" => __("No Additional Options currently added", "neon-channel-product-customizer-free"),
                            "label" => __("Label", "neon-channel-product-customizer-free"),
                            "type" => __("Type", "neon-channel-product-customizer-free"),
                            "action" => __("Actions", "neon-channel-product-customizer-free"),
                        ],
                        "modal" => [
                            "delete" => __("Do you want to remove this custom additional option ?", "neon-channel-product-customizer-free"),
                        ],
                    ],
                ],
                "settings" => [
                    "title" => "Settings",
                    "general" => [
                        "tabHeader" => __("General", "neon-channel-product-customizer-free"),
                        "customizer" => [
                            "title" => __("Customizer Options", "neon-channel-product-customizer-free"),
                            "measurementUnit" => __("Measurement Unit", "neon-channel-product-customizer-free"),
                            "showHideMeasurements" => __("Show/hide Measurements", "neon-channel-product-customizer-free"),
                            "shadowSwitch" => [
                                "label" => __("Shadow Button Switch", "neon-channel-product-customizer-free"),
                                "description" => __("Display shadow button to turn on or off shadow on the sign", "neon-channel-product-customizer-free"),
                                "options" => [
                                    __("Yes", "neon-channel-product-customizer-free"),
                                    __("No", "neon-channel-product-customizer-free"),
                                ]
                            ],
                            "decimalFormatofMeasurements" => __("Decimal Format of Measurements", "neon-channel-product-customizer-free"),
                            "desktop" => [
                                "label" => __("Desktop Column Order", "neon-channel-product-customizer-free"),
                                "description" => __("Display the sidebar with all product options on the right or left hand side (this option only applies to desktop).", "neon-channel-product-customizer-free"),
                            ],
                            "displayOptions" => [
                                "label" => __("Options display", "neon-channel-product-customizer-free"),
                                "options" => [
                                    __("Option name", "neon-channel-product-customizer-free"),
                                    __("Option preview image and name", "neon-channel-product-customizer-free"),
                                ],
                                "description" => __("How options are supposed to be displayed", "neon-channel-product-customizer-free"),
                            ],
                            "useExampleIcon" => [
                                "label" => __("Options to display example icon", "neon-channel-product-customizer-free"),
                                "options" => [
                                    __("Use Icon", "neon-channel-product-customizer-free"),
                                    __("Use Text", "neon-channel-product-customizer-free"),
                                ],
                                "description" => __("How example button are supposed to be displayed", "neon-channel-product-customizer-free"),
                            ],
                            "exampleText" => [
                                "label" => __("Example Text", "neon-channel-product-customizer-free"),
                                "description" => __("Text to display in the example button", "neon-channel-product-customizer-free"),
                            ],
                            "showExampleOnHover" => [
                                "label" => __("Display Example Image on Hover", "neon-channel-product-customizer-free"),
                                "description" => __("Enable Example on hover on the example button", "neon-channel-product-customizer-free"),
                            ],
                            "displayPriceBeforeFinishBotton" => [
                                "label" => __("Display Price Before Finish Button (Only on Skin Mono)", "neon-channel-product-customizer-free"),
                                "description" => __("Display the price of the sign before the finish button .", "neon-channel-product-customizer-free"),
                                "options" => [
                                    __("Hide", "neon-channel-product-customizer-free"),
                                    __("Show", "neon-channel-product-customizer-free"),
                                ],
                            ],
                            "discount" => [
                                "label" => __("Discount", "neon-channel-product-customizer-free"),
                                "options" => [
                                    __(" None", "neon-channel-product-customizer-free"),
                                    __("Percentage of Total Amount", "neon-channel-product-customizer-free"),
                                    __("Fixed Amount", "neon-channel-product-customizer-free"),
                                ],
                                "description" => __("Apply a discount to the total product price.", "neon-channel-product-customizer-free"),
                            ],
                            "discountValue" => [
                                "percent" => __("Discount Percentage", "neon-channel-product-customizer-free"),
                                "fixed" => __("Discount Price", "neon-channel-product-customizer-free"),
                            ],
                            "button" => [
                                "label" => __("Glow Switch", "neon-channel-product-customizer-free"),
                                "description" => __("Display a switch to turn default background into day or night mode.", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "mobile" => [
                            "title" => __("Mobile Options", "neon-channel-product-customizer-free"),
                            "menuOnMobile" => [
                                "title" => __("Show Navigation Menu on Mobile", "neon-channel-product-customizer-free"),
                                "description" => __("Display a navigation menu of the selections on mobile.", "neon-channel-product-customizer-free"),
                            ],
                            "menuFirst" => [
                                "title" => __("Show Navigation Menu First", "neon-channel-product-customizer-free"),
                                "description" => __("This allows the users to jump to a specific selection from the navigation menu first. Otherwise, the screen will show the first selection.", "neon-channel-product-customizer-free"),
                            ],
                            "mobileSelection" => [
                                "title" => __("Mobile Selection Options Display", "neon-channel-product-customizer-free"),
                                "description" => __("Allow selection options to display as horizontally scrollable options on mobile or stacked vertically.", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "product" => [
                            "title" => __("Product", "neon-channel-product-customizer-free"),
                            "no" => __("No", "neon-channel-product-customizer-free"),
                            "yes" => __("Yes", "neon-channel-product-customizer-free"),
                            "enableAddToCart" => [
                                "title" => __("Activate Add to Cart", "neon-channel-product-customizer-free"),
                                "description" => __("This option allows customers to add their personalization to the shopping cart for purchase.", "neon-channel-product-customizer-free"),
                            ],
                            "redirectAfter" => [
                                "title" => __("Redirect to cart page after adding custom design to cart", "neon-channel-product-customizer-free"),
                                "description" => __("This option allows you to choose to redirect the customer to the cart page after adding the customization to the shopping cart.", "neon-channel-product-customizer-free"),
                            ],
                            "redirectToCheckOut" => [
                                "title" => __("Redirect to checkout page after adding custom design to cart", "neon-channel-product-customizer-free"),
                                "description" => __("This option allows you to choose to redirect the customer to the checkout page after adding the customization to the shopping cart.", "neon-channel-product-customizer-free"),
                            ],
                            "displayRecapsOnCheckout" => [
                                "title" => __("Display configuration data on the checkout page", "neon-channel-product-customizer-free"),
                                "description" => __("This option allows you to choose whether or not to display configuration data to the customer on the checkout page.", "neon-channel-product-customizer-free"),
                            ],
                            "hideAddToCartOnSinglePage" => [
                                "title" => __("Hide add to cart button for customizable products on product details page", "neon-channel-product-customizer-free"),
                                "description" => __("This option allows you to define whether or not you want to hide the add-to-cart button for the customizable product on the product page.", "neon-channel-product-customizer-free"),
                            ],
                            "hideAddToCartOnShopPage" => [
                                "title" => __("Hide the add to cart button for the customizable product on the shop page", "neon-channel-product-customizer-free"),
                                "description" => __("This option lets you define whether or not you want to hide the add-to-cart button for the customizable product on the shop page.", "neon-channel-product-customizer-free"),
                            ],
                            "hideDesign" => [
                                "title" => __("Hide design buttons on shop page", "neon-channel-product-customizer-free"),
                                "description" => __(" This option allows you to show/hide the customization button on the shop page.", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "output" => [
                            "title" => __("Output", "neon-channel-product-customizer-free"),
                            "format" => [
                                "title" => __("Output files format", "neon-channel-product-customizer-free"),
                                "description" => __("What is your desired output files format ? ", "neon-channel-product-customizer-free"),
                            ],
                            "dimensions" => [
                                "title" => __("Output files dimensions", "neon-channel-product-customizer-free"),
                                "description" => __("What are you desired output files dimensions ?", "neon-channel-product-customizer-free"),
                                "outputwidth" => __("Output width", "neon-channel-product-customizer-free"),
                                "outputHeight" => __("Output height", "neon-channel-product-customizer-free"),
                                "unit" => __("Unit", "neon-channel-product-customizer-free"),
                                "useDimensions" => __("Use dimensions", "neon-channel-product-customizer-free"),
                            ],
                            "sendDesign" => [
                                "title" => __("Send Design By Email", "neon-channel-product-customizer-free"),
                                "no" => __("No", "neon-channel-product-customizer-free"),
                                "yes" => __("Yes", "neon-channel-product-customizer-free"),
                                "enable" => [
                                    "title" => __("Manufacturer Email", "neon-channel-product-customizer-free"),
                                    "description" => __("An email is sent every time a custom sign is marked as PAID on the shopify order.", "neon-channel-product-customizer-free"),
                                    "instruction" => __("Receiver email (if you have more than one, please separate them with '|' )", "neon-channel-product-customizer-free"),
                                    "explain" => __("The store’s default email will be used if kept blank", "neon-channel-product-customizer-free"),
                                    "mailSubject" => __("Mail Subject", "neon-channel-product-customizer-free"),
                                    "manufacturerEmailTemplate" => __("Manufacturer email template", "neon-channel-product-customizer-free"),
                                ],
                            ],
                        ],
                        "mode" => [
                            "title" => __("Mode", "neon-channel-product-customizer-free"),
                            "header" => __("Multiple Fonts and Colors Selection", "neon-channel-product-customizer-free"),
                            "explain" => __("Enable customers to create signs with multiple colors and selected fonts. Activating this function enables new pricing options.", "neon-channel-product-customizer-free"),
                            "label" => __("Multiple Color and Font Selections?", "neon-channel-product-customizer-free"),
                            "options" => [
                                __("Simple", "neon-channel-product-customizer-free"),
                                __("Multi Fonts & Colors", "neon-channel-product-customizer-free"),
                            ],
                            "allows" => [
                                "font" => __("Allow multiple fonts", "neon-channel-product-customizer-free"),
                                "color" => __("Allow multiple colours", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "requestQuote" => [
                            "no" => __("No", "neon-channel-product-customizer-free"),
                            "yes" => __("Yes", "neon-channel-product-customizer-free"),
                            "title" => __("Activate Request A Quote", "neon-channel-product-customizer-free"),
                            "description" => __("This option will allow the customer to request a quote before purchasing.", "neon-channel-product-customizer-free"),
                            "receivers" => __("Email  of request quote receivers", "neon-channel-product-customizer-free"),
                            "receiversExplain" => __("For many  email,  separate it  with  comma", "neon-channel-product-customizer-free"),
                            "emailError" => __("The field  contains invalid mail ", "neon-channel-product-customizer-free"),
                            "subject" => __("Subject  of request quote email", "neon-channel-product-customizer-free"),
                            "sendToCustomer" => [
                                "title" => __("Send email  of request quote  to  customer", "neon-channel-product-customizer-free"),
                                "description" => __("Send the quote to the customer after the quote is submitted", "neon-channel-product-customizer-free"),
                            ],
                            "allowUploadFiles" => [
                                "title" => __("Allow upload files", "neon-channel-product-customizer-free"),
                                "description" => __("Allow customers to upload files when requesting a quote", "neon-channel-product-customizer-free"),
                            ],
                            "acceptExtensions" => [
                                "title" => __("Accepted file extensions", "neon-channel-product-customizer-free"),
                                "description" => __("List of accepted file extensions", "neon-channel-product-customizer-free"),
                            ],
                            "maxFileSize" => [
                                "title" => __("Max file size", "neon-channel-product-customizer-free"),
                                "description" => __("Maximum file size in MB", "neon-channel-product-customizer-free"),
                            ],
                            "maxFilesNumber" => [
                                "title" => __("Max files number", "neon-channel-product-customizer-free"),
                                "description" => __("Maximum number of files allowed", "neon-channel-product-customizer-free"),
                            ],
                        ]
                    ],
                    "languageImage" => [
                        "tabHeader" => __("Language and Image", "neon-channel-product-customizer-free"),
                        "main" => [
                            "title" => __("Main", "neon-channel-product-customizer-free"),
                            "header" => __("Header", "neon-channel-product-customizer-free"),
                            "textox" => __("Text Box Label", "neon-channel-product-customizer-free"),
                            "line" => [
                                "title" => __("Line count", "neon-channel-product-customizer-free"),
                                "description" => __("Preceded by the current number of lines over the total allowable (e.g. 1/3 lines).", "neon-channel-product-customizer-free"),
                            ],
                            "maxChar" => [
                                "title" => __("Max characters", "neon-channel-product-customizer-free"),
                                "description" => __("Preceded by the maximum number of characters per line (e.g. 20 characters max per line for current size).", "neon-channel-product-customizer-free"),
                            ],
                            "priceButtonSection" => [
                                "title" => __("Price and button section", "neon-channel-product-customizer-free"),
                                "description" => __("This section refers to the sticky add to cart / review button section located at the bottom of app", "neon-channel-product-customizer-free"),
                            ],
                            "addToCart" => [
                                "title" => __("Add to cart button", "neon-channel-product-customizer-free"),
                                "description" => __("Add To cart Button Label.", "neon-channel-product-customizer-free"),
                            ],
                            "requestQuote" => [
                                "title" => __("Get request a quote  button", "neon-channel-product-customizer-free"),
                                "description" => __("Request a quote Button Label.", "neon-channel-product-customizer-free"),
                            ],
                            "email" => [
                                "title" => __("Email", "neon-channel-product-customizer-free"),
                                "description" => __("The name of the field where the customer will enter his e-mail address", "neon-channel-product-customizer-free"),
                            ],
                            "firstName" => [
                                "title" => __("First Name", "neon-channel-product-customizer-free"),
                                "description" => '',
                            ],
                            "lastName" => [
                                "title" => __("Last Name", "neon-channel-product-customizer-free"),
                                "description" => '',
                            ],
                            "phone" => [
                                "title" => __("Phone", "neon-channel-product-customizer-free"),
                                "description" => '',
                            ],
                            "quoteAdditionalNotes" => [
                                "title" => __("Additional Notes", "neon-channel-product-customizer-free"),
                                "description" => __("The name of the field where the customer will enter additional notes", "neon-channel-product-customizer-free"),
                            ],
                            "quoteFilesFormats" => [
                                "title" => __("Files Formats", "neon-channel-product-customizer-free"),
                                "description" => __("Text indicating authorized file formats", "neon-channel-product-customizer-free"),
                            ],
                            "quoteUploadFileTitle" => [
                                "title" => __("Upload File", "neon-channel-product-customizer-free"),
                                "description" => __("Text indicating customers to upload files", "neon-channel-product-customizer-free"),
                            ],
                            "maxFileSize" => [
                                "title" => __("Max File Size", "neon-channel-product-customizer-free"),
                                "description" => __("Text indicating the maximum file size allowed for the customer", "neon-channel-product-customizer-free"),
                            ],
                            "buttonSendAQuoteFormLabel" => [
                                "title" => __("Submit", "neon-channel-product-customizer-free"),
                                "description" => __("The label of the button to submit the quote form", "neon-channel-product-customizer-free"),
                            ],
                            "emailError" => [
                                "title" => __("Email Error", "neon-channel-product-customizer-free"),
                                "description" => __("Error displayed when customer enters invalid mail", "neon-channel-product-customizer-free"),
                            ],
                            "quoteThanksMessage" => [
                                "title" => __("Quote Thanks Message", "neon-channel-product-customizer-free"),
                                "description" => __("The message displayed when the quote form is submitted", "neon-channel-product-customizer-free"),
                            ],
                            "quoteModalTitle" => [
                                "title" => __("Quote Modal Title", "neon-channel-product-customizer-free"),
                                "description" => __("The title is displayed on top  of request a  quote Modal", "neon-channel-product-customizer-free"),
                            ],
                            "finishButton" => [
                                "title" => __("Finish button", "neon-channel-product-customizer-free"),
                                "description" => __("Finish button Label.", "neon-channel-product-customizer-free"),
                            ],
                            "textBefore" => [
                                "title" => __("Text before price value", "neon-channel-product-customizer-free"),
                                "description" => __("Displays before the price value", "neon-channel-product-customizer-free"),
                            ],
                            "textAfter" => [
                                "title" => __("Text after price value", "neon-channel-product-customizer-free"),
                                "description" => __("Displays after the price value", "neon-channel-product-customizer-free"),
                            ],
                            "textAlignment" => [
                                "title" => __("Text Align", "neon-channel-product-customizer-free"),
                                "description" => __("display instead of Text Align", "neon-channel-product-customizer-free"),
                            ],
                            "textAlignmentValue" => [
                                "title" => __("Text Align values", "neon-channel-product-customizer-free"),
                                "description" => __("display instead of Text Align", "neon-channel-product-customizer-free"),
                                "left" => __("Left", "neon-channel-product-customizer-free"),
                                "center" => __("Center", "neon-channel-product-customizer-free"),
                                "right" => __("Right", "neon-channel-product-customizer-free"),
                            ],
                            "measurementLabel" => [
                                "title" => __("Measurement label", "neon-channel-product-customizer-free"),
                                "description" => __("Text to be displayed in the summary for height and width", "neon-channel-product-customizer-free"),
                                "height" => __("Height", "neon-channel-product-customizer-free"),
                                "width" => __("width", "neon-channel-product-customizer-free"),
                            ],
                            "textSummary" => [
                                "title" => __("Summary", "neon-channel-product-customizer-free"),
                                "description" => __("Summary header text", "neon-channel-product-customizer-free"),
                            ],
                            "textEdit" => [
                                "title" => __("Edit", "neon-channel-product-customizer-free"),
                                "description" => __("Edit button text", "neon-channel-product-customizer-free"),
                            ],
                            "modals" => [
                                "title" => __("Size displacement modal texts", "neon-channel-product-customizer-free"),
                                "width" => [
                                    "title" => __("Maximum Width overrun", "neon-channel-product-customizer-free"),
                                    "description" => __("Text to be displayed in the modal to show that the accepted width has been exceeded or reached", "neon-channel-product-customizer-free")
                                ],
                                "height" => [
                                    "title" => __("Maximum Height overrun", "neon-channel-product-customizer-free"),
                                    "description" => __("Text to be displayed in the modal to show that the accepted height has been exceeded or reached", "neon-channel-product-customizer-free"),
                                ],
                                "lines" => [
                                    "title" => __("Maximum Lines overrun", "neon-channel-product-customizer-free"),
                                    "description" => __("Text to be displayed in the modal to show that the accepted lines have been exceeded or reached", "neon-channel-product-customizer-free"),
                                ],
                                "characters" => [
                                    "title" => __("Maximum Characters overrun", "neon-channel-product-customizer-free"),
                                    "description" => __("Text to be displayed in the modal to show that the accepted characters have been exceeded or reached", "neon-channel-product-customizer-free"),
                                ],
                            ],
                            "sectionText" => [
                                "title" => __("Text", "neon-channel-product-customizer-free"),
                                "description" => __("Text to display on the default skin for the text section", "neon-channel-product-customizer-free"),
                            ],
                            "sectionAdditionalOptions" => [
                                "title" => __("Additionals Options", "neon-channel-product-customizer-free"),
                                "description" => __("Text that will be displayed as the title for the additional options section", "neon-channel-product-customizer-free"),
                            ],
                            "charactersRemaining" => [
                                "title" => __("Remaining characters", "neon-channel-product-customizer-free"),
                                "description" => __("Text to display for number of characters remaining", "neon-channel-product-customizer-free"),
                            ],
                            "minimumCharacter" => [
                                "title" => __("Minimum", "neon-channel-product-customizer-free"),
                                "description" => __("Preceded by the minimum number of characters for the size (for example 20 characters minimum for the current size).", "neon-channel-product-customizer-free"),
                            ],
                            "selectableTextMessage" => [
                                "title" => __("Selectable Text Message", "neon-channel-product-customizer-free"),
                                "description" => __("The text that shows the user that a text can be selected and customized", "neon-channel-product-customizer-free"),
                            ],
                            "applyToAll" => [
                                "title" => __("Apply To All Option Text", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "customDesign" => [
                            "title" => __("Customizer design", "neon-channel-product-customizer-free"),
                            "customDesignLink" => __("Custom design link", "neon-channel-product-customizer-free"),
                            "enableLink" => [
                                "enable" => __("Enable custom design link", "neon-channel-product-customizer-free"),
                                "description" => __("Enable this to display a link to direct customers to another page on your site, this will display as one of the first options on desktop and mobile.", "neon-channel-product-customizer-free"),
                            ],
                            "link" => [
                                "title" => __("Custom Design Link", "neon-channel-product-customizer-free"),
                                "description" => __("URL to redirect customers on your store that will allow for more complex graphic design quote submissions.", "neon-channel-product-customizer-free"),
                            ],
                            "phrase" => __("Phrase for link to submit custom design page", "neon-channel-product-customizer-free"),
                        ],
                        "visualizer" => [
                            "title" => __("Visualizer", "neon-channel-product-customizer-free"),
                            "default" => [
                                "title" => __("Default Text", "neon-channel-product-customizer-free"),
                                "description" => __("This will be displayed as the signs text when the visualizer is first loaded", "neon-channel-product-customizer-free"),
                            ],

                            "button" => __("On/Off buttons", "neon-channel-product-customizer-free"),
                            "on" => __("Visualizer On", "neon-channel-product-customizer-free"),
                            "off" => __("Visualizer Off", "neon-channel-product-customizer-free"),
                            "light" => __("Visualizer Light", "neon-channel-product-customizer-free"),
                            "dark" => __("Visualizer Dark", "neon-channel-product-customizer-free"),
                            "icons" => [
                                "title" => [
                                    "textIcon" => __("Text Icon", "neon-channel-product-customizer-free"),
                                    "fontIcon" => __("Font Icon", "neon-channel-product-customizer-free"),
                                    "sizeIcon" => __("size Icon", "neon-channel-product-customizer-free"),
                                    "letterTypeIcon" => __("Letter Type Icon", "neon-channel-product-customizer-free"),
                                    "colorIcon" => __("Color Icon", "neon-channel-product-customizer-free"),
                                    "materialIcon" => __("Material Icon", "neon-channel-product-customizer-free"),
                                    "jacketIcon" => __("Jacket Icon", "neon-channel-product-customizer-free"),
                                    "mountingIcon" => __("Mounting Icon", "neon-channel-product-customizer-free"),
                                    "backboardIcon" => __("Backboard Icon", "neon-channel-product-customizer-free"),
                                    "backboardColorIcon" => __("Backboard Color Icon", "neon-channel-product-customizer-free"),
                                    "additionalIcon" => __("Additional Options Icon", "neon-channel-product-customizer-free"),
                                ],
                                "description" => __("The icon to display on the skin on the page. Must be an svg code", "neon-channel-product-customizer-free"),
                            ]

                        ],
                        "images" => [
                            "title" => __("Images", "neon-channel-product-customizer-free"),
                            "headerPreview" => __("Preview images", "neon-channel-product-customizer-free"),
                            "headerReview" => __("Review images", "neon-channel-product-customizer-free"),
                            "preview" => [
                                "title" => __("Enable Preview Images", "neon-channel-product-customizer-free"),
                                "description" => __("If ticked, the customers would be able to change backgrounds to the visualizer screen.", "neon-channel-product-customizer-free"),
                            ],
                            "uploadScene" => [
                                "title" => __("Allow customers to upload background images", "neon-channel-product-customizer-free"),
                                "description" => __("If ticked, the preview images will be shown on the visualizer screen.", "neon-channel-product-customizer-free"),
                                "textField" => __("Upload Background", "neon-channel-product-customizer-free"),
                                "textFieldDescription" => __("This will be displayed on the upload button.", "neon-channel-product-customizer-free"),
                            ],
                            "display" => [
                                "title" => __("Display default blue/gray background image", "neon-channel-product-customizer-free"),
                                "description" => __("If ticked this image will display before other images", "neon-channel-product-customizer-free"),
                            ],
                            "reviewScreenImages" => [
                                "title" => __("Enable Review Screen Images", "neon-channel-product-customizer-free"),
                                "description" => __("If ticked, the preview images will be shown on the review screen.", "neon-channel-product-customizer-free"),
                            ],
                            "reviewImage" => [
                                "title" => __("Enable Review Image", "neon-channel-product-customizer-free"),
                                "description" => __("If option not ticked, the image showing the customization on the review screen will not be displayed.", "neon-channel-product-customizer-free"),
                            ],
                            "button" => [
                                "title" => __("choose the scenes", "neon-channel-product-customizer-free"),
                            ]
                        ],
                        "icons" => [
                            "title" => __("Icons", "neon-channel-product-customizer-free"),
                            "newBtn" => __("Add Icon", "neon-channel-product-customizer-free"),
                            "delete" => __("Do you want to remove this icon ?", "neon-channel-product-customizer-free"),
                            "settings" => [
                                "title" => __("Title", "neon-channel-product-customizer-free"),
                                "description" => __("Description", "neon-channel-product-customizer-free"),
                                "pricing" => [
                                    "label" => __("Pricing", "neon-channel-product-customizer-free"),
                                    "option" => __("No choice made", "neon-channel-product-customizer-free"),
                                    "description" => __("The pricing system chosen will be used to calculate the cost of icons independently of any other text.", "neon-channel-product-customizer-free"),
                                ]
                            ],
                            "listIcons" => [
                                "noItem" => __("No Icons currently added", "neon-channel-product-customizer-free"),
                                "label" => __("Label", "neon-channel-product-customizer-free"),
                                "action" => __("Actions", "neon-channel-product-customizer-free"),
                            ],
                            "new" => [
                                "label" => __("Icon name", "neon-channel-product-customizer-free"),
                                "image" => __("Original Icon file", "neon-channel-product-customizer-free"),
                                "preview" => __("Icon Preview", "neon-channel-product-customizer-free"),
                                "iconInfo" => [
                                    "title" => __("Why is my icon different?", "neon-channel-product-customizer-free"),
                                    "description" => __("We process SVG to ensure that it can be integrated into text panels. This can sometimes slightly alter the appearance and thickness of lines.", "neon-channel-product-customizer-free"),
                                ],
                                "minHeight" => __("Min height", "neon-channel-product-customizer-free"),
                                "basePrice" => __("Base Price", "neon-channel-product-customizer-free"),
                                "basePriceExplain" => __("Base price of the icon if not only on the sign", "neon-channel-product-customizer-free"),
                                "minHeightExplain" => __("Minimum svg height in cm", "neon-channel-product-customizer-free"),
                                "warning" => __("Please choose an svg file", "neon-channel-product-customizer-free"),
                                "imageExplain" => __("The icon file must be an svg", "neon-channel-product-customizer-free"),
                            ],
                        ]
                    ],
                    "themeColor" => [
                        "tabHeader" => __("Theme Color", "neon-channel-product-customizer-free"),
                        "tabSkin" => __("Choose  Skin", "neon-channel-product-customizer-free"),
                        "tabCustomCSS" => __("Custom CSS", "neon-channel-product-customizer-free"),
                        "chooseSkin" => __("Choose your customizer appearance", "neon-channel-product-customizer-free"),
                        "custom" => __("Writing custom css", "neon-channel-product-customizer-free"),
                        "customPlaceholder" => __("Write custom css here", "neon-channel-product-customizer-free"),
                        "settings" => [
                            "title" => __("Theme settings", "neon-channel-product-customizer-free"),
                            "openOption" => [
                                "title" => __("Leave options open", "neon-channel-product-customizer-free"),
                                "yes" => __("yes", "neon-channel-product-customizer-free"),
                                "no" => __("no", "neon-channel-product-customizer-free"),
                                "description" => __("This option will allow you to leave all skin options open or not, even when they are not clicked.", "neon-channel-product-customizer-free")
                            ],
                        ],
                        "colors" => [
                            "title" => __("Theme colors", "neon-channel-product-customizer-free"),
                            "light" => __("Light Mode", "neon-channel-product-customizer-free"),
                            "dark" => __("Dark Mode", "neon-channel-product-customizer-free"),
                            "lightMode" => [
                                "backgroundColor" => __("Background Color", "neon-channel-product-customizer-free"),
                                "titleColor" => __("Title Color", "neon-channel-product-customizer-free"),
                                "descriptionColor" => __("Description Color", "neon-channel-product-customizer-free"),
                                "buttonHoverColor" => __("Button Hover Color", "neon-channel-product-customizer-free"),
                                "buttonTextColor" => __("Button Text Color", "neon-channel-product-customizer-free"),
                                "activeButtonColor" => __("Active Button Color", "neon-channel-product-customizer-free"),
                                "activeButtonHoverColor" => __("Active Button Hover Color", "neon-channel-product-customizer-free"),
                                "activeButtonTextColor" => __("Active Button Text Color", "neon-channel-product-customizer-free"),
                                "beforePriceColor" => __("Before Price Color", "neon-channel-product-customizer-free"),
                                "priceBackgroundColor" => __("Price Background Color", "neon-channel-product-customizer-free"),
                                "discountPriceColor" => __("Discount Price Color", "neon-channel-product-customizer-free"),
                                "priceColor" => __("Price Color", "neon-channel-product-customizer-free"),
                                "afterPriceColor" => __("After Price Color", "neon-channel-product-customizer-free"),
                                "optionsSectionBackgroundColor" => __("Options Section Background Color", "neon-channel-product-customizer-free"),
                                "optionBorderColor" => __("Option Border Color", "neon-channel-product-customizer-free"),
                                "optionTextColor" => __("Option Text Color", "neon-channel-product-customizer-free"),
                                "activeOptionBorderColor" => __("Active Option Border Color", "neon-channel-product-customizer-free"),
                                "activeOptionTextColor" => __("Active Option Text Color", "neon-channel-product-customizer-free"),
                                "activeOptionDescriptionColor" => __("Active Option Description Color", "neon-channel-product-customizer-free"),
                                "activeOptionBackgroundColor" => __("Active Option Background Color", "neon-channel-product-customizer-free"),
                                "colorOfMeasuringBarText" => __("Color of measuring bar Text", "neon-channel-product-customizer-free"),
                                "colorMeasuringBar" => __("Color measuring bar", "neon-channel-product-customizer-free"),
                                "finishModalColor" => __("Finish Modal Color ", "neon-channel-product-customizer-free"),
                                "finishModalLoaderColor" => __("Finish Modal Loader Color ", "neon-channel-product-customizer-free"),
                                "selectedTextBorderColor" => __("Selected Text Border Color", "neon-channel-product-customizer-free"),
                                "selectedTextBorderCornerColor" => __("Selected Text Border Corner Color", "neon-channel-product-customizer-free"),
                                "finishButtonContainerColor" => __("Finish Button Container Color", "neon-channel-product-customizer-free"),
                                "finishButtonContainerPriceColor" => __("Finish Button Container Price Color ", "neon-channel-product-customizer-free"),
                                "finishButtonContainerDiscountPriceColor" => __("Finish Button Container Discount Price Color ", "neon-channel-product-customizer-free"),
                                "formErrorBg" => __("Error background Color", "neon-channel-product-customizer-free"),
                                "formErrorText" => __("Error text Color", "neon-channel-product-customizer-free"),
                            ],
                            "darkMode" => [
                                "darkBackgroundColor" => __("Dark Background Color", "neon-channel-product-customizer-free"),
                                "darkTitleColor" => __("Title Color", "neon-channel-product-customizer-free"),
                                "darkDescriptionColor" => __("Description Color", "neon-channel-product-customizer-free"),
                                "darkButtonHoverColor" => __("Dark Button Hover Color", "neon-channel-product-customizer-free"),
                                "darkButtonTextColor" => __("Dark Button Text Color", "neon-channel-product-customizer-free"),
                                "darkActiveButtonColor" => __("Dark Active Button Color", "neon-channel-product-customizer-free"),
                                "darkActiveButtonHoverColor" => __("Dark Active Button Hover Color", "neon-channel-product-customizer-free"),
                                "darkActiveButtonTextColor" => __("Dark Active Button Text Color", "neon-channel-product-customizer-free"),
                                "darkBeforePriceColor" => __("Dark Before Price Color", "neon-channel-product-customizer-free"),
                                "darkPriceBackgroundColor" => __("Dark Price Background Color", "neon-channel-product-customizer-free"),
                                "darkPriceColor" => __("Dark Price Color", "neon-channel-product-customizer-free"),
                                "darkDiscountPriceColor" => __("Dark Discount Price Color", "neon-channel-product-customizer-free"),
                                "darkAfterPriceColor" => __("Dark After Price Color", "neon-channel-product-customizer-free"),
                                "darkOptionsSectionBackgroundColor" => __("Dark Options Section Background Color", "neon-channel-product-customizer-free"),
                                "darkOptionBorderColor" => __("Dark Option Border Color", "neon-channel-product-customizer-free"),
                                "darkOptionTextColor" => __("Dark Option Text Color", "neon-channel-product-customizer-free"),
                                "darkActiveOptionBackgroundColor" => __("Dark Active Option Background Color", "neon-channel-product-customizer-free"),
                                "darkActiveOptionBorderColor" => __("Dark Active Option Border Color", "neon-channel-product-customizer-free"),
                                "darkActiveOptionTextColor" => __("Dark Active Option Text Color", "neon-channel-product-customizer-free"),
                                "darkActiveOptionDescriptionColor" => __("Dark Active Option Description Color", "neon-channel-product-customizer-free"),
                                "darkFinishModalColor" => __("Finish Modal Color ", "neon-channel-product-customizer-free"),
                                "darkFinishModalLoaderColor" => __("Finish Modal Loader Color ", "neon-channel-product-customizer-free"),
                            ]
                        ],
                    ],
                    "sortOption" => [
                        "tabHeader" => __("Sort Option Order", "neon-channel-product-customizer-free"),
                        "title" => __("Order your configurator items", "neon-channel-product-customizer-free"),
                        "orderItems" => [
                            "textForm" => __("Text Form", "neon-channel-product-customizer-free"),
                            "fonts" => __("Fonts", "neon-channel-product-customizer-free"),
                            "sizes" => __("Sizes", "neon-channel-product-customizer-free"),
                            "colors" => __("Colors", "neon-channel-product-customizer-free"),
                            "letterTypes" => __("Letter Types", "neon-channel-product-customizer-free"),
                            "materials" => __("Materials", "neon-channel-product-customizer-free"),
                            "jackets" => __("Jackets", "neon-channel-product-customizer-free"),
                            "mountings" => __("Mounting", "neon-channel-product-customizer-free"),
                            "backboards" => __("Backboards", "neon-channel-product-customizer-free"),
                            "backboardColors" => __("BackboardColors", "neon-channel-product-customizer-free"),
                            "additionalOptions" => __("AdditionalOptions", "neon-channel-product-customizer-free"),
                        ]
                    ]

                ]
            ],
            "globalSettings" => [
                "title" => __("Global Settings", "neon-channel-product-customizer-free"),
                "licenseTab" => [
                    "label" => __('License', "neon-channel-product-customizer-free"),
                    "title" => __('Enter the license key', "neon-channel-product-customizer-free")
                ],
                "configuratorHeader" => __("With which tag do you want the configurator title to be displayed?", "neon-channel-product-customizer-free"),
                "configPageTab" => [
                    "label" => __("Configuration Page", "neon-channel-product-customizer-free"),
                    "title" => __("Select the configuration page", "neon-channel-product-customizer-free"),
                    "addNew" => __("Add New", "neon-channel-product-customizer-free"),
                    "modal" => [
                        "title" => __("Enter name of new configuration page", "neon-channel-product-customizer-free"),
                    ]
                ]
            ],
            "tutorial" => [
                "title" => __("Help Center", "neon-channel-product-customizer-free"),
                "documentation" => __("Documentation", "neon-channel-product-customizer-free"),
                "faq" => __("FAQ", "neon-channel-product-customizer-free"),
                "support" => __("Support", "neon-channel-product-customizer-free"),
            ],
            "demos" => [
                "title" => __("Demos", "neon-channel-product-customizer-free"),
                "theme" => __("Theme", "neon-channel-product-customizer-free"),
                "productType" => __("Product Type", "neon-channel-product-customizer-free"),
                "pricingMode" => __("Pricing Mode", "neon-channel-product-customizer-free"),
            ],
            "webSite" => [
                "title" => __("Upgrade to Pro", "neon-channel-product-customizer-free"),
            ]
        ];
    }

    /**
     * 
     */
    public function ncpc_add_custom_mime_types($mimes)
    {
        return array_merge(
            $mimes,
            array(
                'svg' => 'image/svg+xml',
                'ttf' => 'application/x-font-ttf',
                'woff2' => 'application/x-font-woff2',
                'woff' => 'application/x-font-woff',
                'otf' => 'application/x-font-otf',
                'icc' => 'application/vnd.iccprofile',
            )
        );
    }

    /**
     * Check file type and extension.
     *
     * @param array  $data The data.
     * @param mixed  $file The file.
     * @param string $filename The file name.
     * @param array $mimes The mimes.
     * @param string $real_mime The real mimes.
     * @return array
     */
    public function ncpc_check_filetype_and_ext($data, $file, $filename, $mimes, $real_mime)
    {
        if (!empty($data['ext']) && !empty($data['type'])) {
            return $data;
        }

        $wp_file_type = wp_check_filetype($filename, $mimes);

        // Check for the file type you want to enable, e.g. 'svg'.
        if ('ttf' === $wp_file_type['ext']) {
            $data['ext'] = 'ttf';
            $data['type'] = 'font/ttf';
        }

        if ('otf' === $wp_file_type['ext']) {
            $data['ext'] = 'otf';
            $data['type'] = 'font/otf';
        }

        if ('woff' === $wp_file_type['ext']) {
            $data['ext'] = 'woff';
            $data['type'] = 'font/woff';
        }

        if ('woff2' === $wp_file_type['ext']) {
            $data['ext'] = 'woff2';
            $data['type'] = 'font/woff2';
        }

        if ('svg' === $wp_file_type['svg']) {
            $data['ext'] = 'svg';
            $data['type'] = 'image/svg+xml';
        }

        return $data;
    }

}
