Skip to content

Commit

Permalink
Add translate for firlds
Browse files Browse the repository at this point in the history
  • Loading branch information
uryvskiy-dima committed Jul 31, 2024
1 parent 660fc0a commit 31976ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions retailcrm/lib/settings/RetailcrmSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ private function createCompanyAndVatNumberFields()
'en' => ['company' => 'Company', 'vat_number' => 'VAT number'],
];

$company = $translate[$locale]['company'] ?? 'Firma';
$vatNumber = $translate[$locale]['vat_number'] ?? 'CVR-nummer';
$company = $translate[$locale]['company'] ?? 'Empresa';
$vatNumber = $translate[$locale]['vat_number'] ?? 'Número de IVA';

$customFields = [
['code' => 'ps_company', 'name' => $company, 'type' => 'string', 'displayArea' => 'customer'],
Expand Down
Loading

0 comments on commit 31976ff

Please sign in to comment.