<?php
/**
* 2013-2018 Ovidiu Cimpean
*
* Ovidiu Cimpean - Newsletter Pro © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at addons4prestashop@gmail.com.
*
* @author    Ovidiu Cimpean <addons4prestashop@gmail.com>
* @copyright 2013-2018 Ovidiu Cimpean
* @license   Do not edit, modify or copy this file
* @version   Release: 4
*/

class NewsletterProAppTranslate
{
    public static function get($entry)
    {
        $translate = new NewsletterProTranslate(__CLASS__);

        switch ($entry) {
            case 'app':
                return array(
                    'global' => array(

                    ),
                );

            case 'app_front':

                return array(
                    'global' => array(

                    ),
                    'ajax' => array(
                        'Oops, an error has occurred.' => $translate->l('Oops, an error has occurred.'),
                        'Error: The AJAX response is not JSON type.' => $translate->l('Error: The AJAX response is not JSON type.'),
                    ),
                    'popup' => array(
                        'Oops, an error has occurred.' => $translate->l('Oops, an error has occurred.'),
                        'close in %s seconds' => $translate->l('close in %s seconds'),
                    ),
                );
        }

        throw new Exception(sprintf('The entry "%s" is not defined.', $entry));
    }
}
