* @copyright Since 2013 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 [ 'global' => [ ], 'CategoryTree' => [ 'Expand All' => $translate->l('Expand All'), 'Check All' => $translate->l('Check All'), 'Uncheck All' => $translate->l('Uncheck All'), ], 'CategoryTreeSearch' => [ 'search...' => $translate->l('search...'), ], ]; case 'app_front': return [ 'global' => [ ], 'ajax' => [ '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' => [ '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)); } }