Fixed translations for coupon

This commit is contained in:
Julien Chanséaume
2014-07-21 12:26:24 +02:00
committed by Julien Chanseaume
parent c1c47ced52
commit fa134bb9a3
35 changed files with 87 additions and 107 deletions

View File

@@ -294,7 +294,7 @@ class FreeProduct extends AbstractRemoveOnProducts
{
return $this->facade
->getTranslator()
->trans('Free product when buying one or more selected products', array(), 'coupon');
->trans('Free product when buying one or more selected products', array());
}
/**
@@ -306,8 +306,7 @@ class FreeProduct extends AbstractRemoveOnProducts
->getTranslator()
->trans(
'This coupon adds a free product to the cart if one of the selected products is in the cart.',
array(),
'coupon'
array()
);
return $toolTip;

View File

@@ -36,7 +36,7 @@ class RemoveAmountOnAttributeValues extends AbstractRemoveOnAttributeValues
{
return $this->facade
->getTranslator()
->trans('Fixed amount discount for selected attribute values', array(), 'coupon');
->trans('Fixed amount discount for selected attribute values', array());
}
/**
@@ -48,8 +48,7 @@ class RemoveAmountOnAttributeValues extends AbstractRemoveOnAttributeValues
->getTranslator()
->trans(
'This coupon subtracts the specified amount from the order total for each product which uses the selected attribute values. If the discount is greater than the total order, the customer will only pay the shipping, or nothing if the coupon also provides free shipping.',
array(),
'coupon'
array()
);
return $toolTip;

View File

@@ -37,7 +37,7 @@ class RemoveAmountOnCategories extends AbstractRemoveOnCategories
{
return $this->facade
->getTranslator()
->trans('Fixed amount discount for selected categories', array(), 'coupon');
->trans('Fixed amount discount for selected categories', array());
}
/**
@@ -49,8 +49,7 @@ class RemoveAmountOnCategories extends AbstractRemoveOnCategories
->getTranslator()
->trans(
'This coupon subtracts the specified amount from the order total for each product which belongs to the selected categories. If the discount is greater than the total order, the customer will only pay the shipping, or nothing if the coupon also provides free shipping.',
array(),
'coupon'
array()
);
return $toolTip;

View File

@@ -41,7 +41,7 @@ class RemoveAmountOnProducts extends AbstractRemoveOnProducts
{
return $this->facade
->getTranslator()
->trans('Fixed amount discount for selected products', array(), 'coupon');
->trans('Fixed amount discount for selected products', array());
}
/**
@@ -53,8 +53,7 @@ class RemoveAmountOnProducts extends AbstractRemoveOnProducts
->getTranslator()
->trans(
'This coupon subtracts the specified amount from the order total for each selected product. If the discount is greater than the total order, the customer will only pay the shipping, or nothing if the coupon also provides free shipping.',
array(),
'coupon'
array()
);
return $toolTip;

View File

@@ -42,7 +42,7 @@ class RemovePercentageOnAttributeValues extends AbstractRemoveOnAttributeValues
{
return $this->facade
->getTranslator()
->trans('Percentage discount for selected attribute values', array(), 'coupon');
->trans('Percentage discount for selected attribute values', array());
}
/**
@@ -54,8 +54,7 @@ class RemovePercentageOnAttributeValues extends AbstractRemoveOnAttributeValues
->getTranslator()
->trans(
'This coupon subtracts from the order total the specified percentage of each product price which uses the selected attribute values. If the discount is greater than the total order, the customer will only pay the shipping, or nothing if the coupon also provides free shipping.',
array(),
'coupon'
array()
);
return $toolTip;

View File

@@ -39,7 +39,7 @@ class RemovePercentageOnCategories extends AbstractRemoveOnCategories
{
return $this->facade
->getTranslator()
->trans('Percentage discount for selected categories', array(), 'coupon');
->trans('Percentage discount for selected categories', array());
}
/**
@@ -51,8 +51,7 @@ class RemovePercentageOnCategories extends AbstractRemoveOnCategories
->getTranslator()
->trans(
'This coupon subtracts from the order total a percentage of the price of each product which belongs to the selected categories. If the discount is greater than the total order, the customer will only pay the shipping, or nothing if the coupon also provides free shipping.',
array(),
'coupon'
array()
);
return $toolTip;

View File

@@ -46,7 +46,7 @@ class RemovePercentageOnProducts extends AbstractRemoveOnProducts
{
return $this->facade
->getTranslator()
->trans('Percentage discount for selected products', array(), 'coupon');
->trans('Percentage discount for selected products', array());
}
/**
@@ -58,8 +58,7 @@ class RemovePercentageOnProducts extends AbstractRemoveOnProducts
->getTranslator()
->trans(
'This coupon subtracts from the order total the specified percentage of each selected product price. If the discount is greater than the total order, the customer will only pay the shipping, or nothing if the coupon also provides free shipping.',
array(),
'coupon'
array()
);
return $toolTip;

View File

@@ -38,7 +38,7 @@ class RemoveXAmount extends AbstractRemove
{
return $this->facade
->getTranslator()
->trans('Fixed Amount Discount', array(), 'coupon');
->trans('Fixed Amount Discount', array());
}
/**
@@ -50,8 +50,7 @@ class RemoveXAmount extends AbstractRemove
->getTranslator()
->trans(
'This coupon will subtracts a set amount from the total cost of an order. If the discount is greater than the total order corst, the customer will only pay the shipping, or nothing if the coupon also provides free shipping.',
array(),
'coupon'
array()
);
return $toolTip;

View File

@@ -41,7 +41,7 @@ class RemoveXPercent extends AbstractRemove
{
return $this->facade
->getTranslator()
->trans('Remove X percent to total cart', array(), 'coupon');
->trans('Remove X percent to total cart', array());
}
/**
@@ -53,8 +53,7 @@ class RemoveXPercent extends AbstractRemove
->getTranslator()
->trans(
'This coupon will offert a flat percentage off a shopper\'s entire order (not applied to shipping costs or tax rates). If the discount is greater than the total order corst, the customer will only pay the shipping, or nothing if the coupon also provides free shipping.',
array(),
'coupon'
array()
);
return $toolTip;