* @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; /** * Translation provider for native modules (maintained by the core team) * Translations are provided by Crowdin. */ class ModulesProvider extends AbstractProvider implements UseDefaultCatalogueInterface { /** * {@inheritdoc} */ public function getTranslationDomains() { return ['^Modules[A-Z]']; } /** * {@inheritdoc} */ public function getFilters() { return ['#^Modules[A-Z]#']; } /** * {@inheritdoc} */ public function getIdentifier() { return 'modules'; } /** * {@inheritdoc} */ public function getDefaultResourceDirectory() { return $this->resourceDirectory . DIRECTORY_SEPARATOR . 'default'; } }