Skip to content

Commit

Permalink
Add missing translation domains
Browse files Browse the repository at this point in the history
  • Loading branch information
matks committed Apr 29, 2019
1 parent 5cd26b1 commit 7ab0cae
Show file tree
Hide file tree
Showing 8 changed files with 97 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ public function getCollection()
$fields = [
new EntityField('id', $this->trans('ID', 'Admin.Global')),
new EntityField('alias', $this->trans('Alias', 'Admin.Shopparameters.Feature'), '', true),
new EntityField('active', $this->trans('Active (0/1)')),
new EntityField('customer_email', $this->trans('Customer email'), '', true),
new EntityField('id_customer', $this->trans('Customer ID')),
new EntityField('active', $this->trans('Active (0/1)', 'Admin.Advparameters.Feature')),
new EntityField('customer_email', $this->trans('Customer email', 'Admin.Advparameters.Feature'), '', true),
new EntityField('id_customer', $this->trans('Customer ID', 'Admin.Advparameters.Feature')),
new EntityField('manufacturer', $this->trans('Brand', 'Admin.Global')),
new EntityField('supplier', $this->trans('Supplier', 'Admin.Global')),
new EntityField('company', $this->trans('Company', 'Admin.Global')),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ public function getCollection()
{
$fields = [
new EntityField('id', $this->trans('ID', 'Admin.Global')),
new EntityField('active', $this->trans('Active (0/1)')),
new EntityField('active', $this->trans('Active (0/1)', 'Admin.Advparameters.Feature')),
new EntityField('name', $this->trans('Name', 'Admin.Global')),
new EntityField('parent', $this->trans('Parent category', 'Admin.Catalog.Feature')),
new EntityField(
'is_root_category',
$this->trans('Root category (0/1)'),
$this->trans('Root category (0/1)', 'Admin.Advparameters.Feature'),
$this->trans('A category root is where a category tree can begin. This is used with multistore.', 'Admin.Advparameters.Help')
),
new EntityField('description', $this->trans('Description', 'Admin.Global')),
new EntityField('meta_title', $this->trans('Meta title', 'Admin.Global')),
new EntityField('meta_keywords', $this->trans('Meta keywords', 'Admin.Global')),
new EntityField('meta_description', $this->trans('Meta description', 'Admin.Global')),
new EntityField('link_rewrite', $this->trans('Rewritten URL', 'Admin.Shopparameters.Feature')),
new EntityField('image', $this->trans('Image URL')),
new EntityField('image', $this->trans('Image URL', 'Admin.Advparameters.Feature')),
new EntityField(
'shop',
$this->trans('ID / Name of shop'),
$this->trans('ID / Name of shop', 'Admin.Advparameters.Feature'),
$this->trans('Ignore this field if you don\'t use the Multistore tool. If you leave this field empty, the default shop will be used.', 'Admin.Advparameters.Help')
),
];
Expand Down
34 changes: 17 additions & 17 deletions src/Core/Import/EntityField/Provider/CombinationFieldsProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,48 +54,48 @@ public function __construct(TranslatorInterface $translator)
public function getCollection()
{
$fields = [
new EntityField('id_product', $this->trans('Product ID')),
new EntityField('product_reference', $this->trans('Product Reference')),
new EntityField('group', $this->trans('Attribute (Name:Type:Position)'), '', true),
new EntityField('attribute', $this->trans('Value (Value:Position)'), '', true),
new EntityField('supplier_reference', $this->trans('Supplier reference')),
new EntityField('id_product', $this->trans('Product ID', 'Admin.Advparameters.Feature')),
new EntityField('product_reference', $this->trans('Product Reference', 'Admin.Advparameters.Feature')),
new EntityField('group', $this->trans('Attribute (Name:Type:Position)', 'Admin.Advparameters.Feature'), '', true),
new EntityField('attribute', $this->trans('Value (Value:Position)', 'Admin.Advparameters.Feature'), '', true),
new EntityField('supplier_reference', $this->trans('Supplier reference', 'Admin.Advparameters.Feature')),
new EntityField('reference', $this->trans('Reference', 'Admin.Global')),
new EntityField('ean13', $this->trans('EAN13')),
new EntityField('upc', $this->trans('UPC')),
new EntityField('ean13', $this->trans('EAN13', 'Admin.Advparameters.Feature')),
new EntityField('upc', $this->trans('UPC', 'Admin.Advparameters.Feature')),
new EntityField('wholesale_price', $this->trans('Cost price', 'Admin.Catalog.Feature')),
new EntityField('price', $this->trans('Impact on price', 'Admin.Catalog.Feature')),
new EntityField('ecotax', $this->trans('Ecotax', 'Admin.Catalog.Feature')),
new EntityField('quantity', $this->trans('Quantity', 'Admin.Global')),
new EntityField('minimal_quantity', $this->trans('Minimal quantity')),
new EntityField('minimal_quantity', $this->trans('Minimal quantity', 'Admin.Advparameters.Feature')),
new EntityField('low_stock_threshold', $this->trans('Low stock level', 'Admin.Catalog.Feature')),
new EntityField(
'low_stock_alert',
$this->trans('Send me an email when the quantity is under this level', 'Admin.Catalog.Feature')
),
new EntityField('weight', $this->trans('Impact on weight', 'Admin.Catalog.Feature')),
new EntityField('default_on', $this->trans('Default (0 = No, 1 = Yes)')),
new EntityField('available_date', $this->trans('Combination availability date')),
new EntityField('image_position', $this->trans('Choose among product images by position (1,2,3...)')),
new EntityField('image_url', $this->trans('Image URLs (x,y,z...)')),
new EntityField('image_alt', $this->trans('Image alt texts (x,y,z...)')),
new EntityField('default_on', $this->trans('Default (0 = No, 1 = Yes)', 'Admin.Advparameters.Feature')),
new EntityField('available_date', $this->trans('Combination availability date', 'Admin.Advparameters.Feature')),
new EntityField('image_position', $this->trans('Choose among product images by position (1,2,3...)', 'Admin.Advparameters.Feature')),
new EntityField('image_url', $this->trans('Image URLs (x,y,z...)', 'Admin.Advparameters.Feature')),
new EntityField('image_alt', $this->trans('Image alt texts (x,y,z...)', 'Admin.Advparameters.Feature')),
new EntityField(
'shop',
$this->trans('ID / Name of shop'),
$this->trans('ID / Name of shop', 'Admin.Advparameters.Feature'),
$this->trans('Ignore this field if you don\'t use the Multistore tool. If you leave this field empty, the default shop will be used.', 'Admin.Advparameters.Help')
),
new EntityField(
'advanced_stock_management',
$this->trans('Advanced Stock Management'),
$this->trans('Advanced Stock Management', 'Admin.Advparameters.Feature'),
$this->trans('Enable Advanced Stock Management on product (0 = No, 1 = Yes)', 'Admin.Advparameters.Help')
),
new EntityField(
'depends_on_stock',
$this->trans('Depends on stock'),
$this->trans('Depends on stock', 'Admin.Advparameters.Feature'),
$this->trans('0 = Use quantity set in product, 1 = Use quantity from warehouse.', 'Admin.Advparameters.Help')
),
new EntityField(
'warehouse',
$this->trans('Warehouse'),
$this->trans('Warehouse', 'Admin.Advparameters.Feature'),
$this->trans('ID of the warehouse to set as storage.', 'Admin.Advparameters.Help')
),
];
Expand Down
20 changes: 10 additions & 10 deletions src/Core/Import/EntityField/Provider/CustomerFieldsProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,22 @@ public function __construct(TranslatorInterface $translator)
public function getCollection()
{
$fields = [
new EntityField('id', $this->trans('ID', 'Admin.Global')),
new EntityField('active', $this->trans('Active (0/1)')),
new EntityField('id_gender', $this->trans('Titles ID (Mr = 1, Ms = 2, else 0)')),
new EntityField('id', $this->trans('ID', 'Admin.Global', 'Admin.Advparameters.Feature')),
new EntityField('active', $this->trans('Active (0/1)', 'Admin.Advparameters.Feature')),
new EntityField('id_gender', $this->trans('Titles ID (Mr = 1, Ms = 2, else 0)', 'Admin.Advparameters.Feature')),
new EntityField('email', $this->trans('Email', 'Admin.Global'), '', true),
new EntityField('passwd', $this->trans('Password', 'Admin.Global'), '', true),
new EntityField('birthday', $this->trans('Birth date (yyyy-mm-dd)')),
new EntityField('birthday', $this->trans('Birth date (yyyy-mm-dd)', 'Admin.Advparameters.Feature')),
new EntityField('lastname', $this->trans('Last name', 'Admin.Global'), '', true),
new EntityField('firstname', $this->trans('First name', 'Admin.Global'), '', true),
new EntityField('newsletter', $this->trans('Newsletter (0/1)')),
new EntityField('optin', $this->trans('Partner offers (0/1)')),
new EntityField('date_add', $this->trans('Registration date (yyyy-mm-dd)')),
new EntityField('group', $this->trans('Groups (x,y,z...)')),
new EntityField('id_default_group', $this->trans('Default group ID')),
new EntityField('newsletter', $this->trans('Newsletter (0/1)', 'Admin.Advparameters.Feature')),
new EntityField('optin', $this->trans('Partner offers (0/1)', 'Admin.Advparameters.Feature')),
new EntityField('date_add', $this->trans('Registration date (yyyy-mm-dd)', 'Admin.Advparameters.Feature')),
new EntityField('group', $this->trans('Groups (x,y,z...)', 'Admin.Advparameters.Feature')),
new EntityField('id_default_group', $this->trans('Default group ID', 'Admin.Advparameters.Feature')),
new EntityField(
'id_shop',
$this->trans('ID / Name of shop'),
$this->trans('ID / Name of shop', 'Admin.Advparameters.Feature'),
$this->trans('Ignore this field if you don\'t use the Multistore tool. If you leave this field empty, the default shop will be used.', 'Admin.Advparameters.Help')
),
];
Expand Down
Loading

0 comments on commit 7ab0cae

Please sign in to comment.