* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\LinkList\Model; use DataLangCore; /** * Class LinkBlockLang. */ class LinkBlockLang extends DataLangCore { // Don't replace domain in init() with $this->domain for translation parsing protected $domain = 'Modules.Linklist.Shop'; protected $keys = ['id_link_block']; protected $fieldsToUpdate = ['name']; /** * @var array> */ public $fieldNames = []; protected function init() { $this->fieldNames = [ 'name' => [ md5('Products') => $this->translator->trans('Products', [], 'Modules.Linklist.Shop', $this->locale), md5('Our company') => $this->translator->trans('Our company', [], 'Modules.Linklist.Shop', $this->locale), ], ]; } }