* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShopBundle\Translation\Provider; /** * Main translation provider of the Back Office */ class BackOfficeProvider extends AbstractProvider implements UseDefaultCatalogueInterface { /** * {@inheritdoc} */ public function getTranslationDomains() { return [ '^Admin[A-Z]', '^Modules[A-Z](.*)Admin', ]; } /** * {@inheritdoc} */ public function getFilters() { return [ '#^Admin[A-Z]#', '#^Modules[A-Z](.*)Admin#', ]; } /** * {@inheritdoc} */ public function getIdentifier() { return 'back'; } /** * {@inheritdoc} */ public function getDefaultResourceDirectory() { return $this->resourceDirectory . DIRECTORY_SEPARATOR . 'default'; } }