diff --git a/core/lib/Thelia/Condition/Implementation/MatchForTotalAmount.php b/core/lib/Thelia/Condition/Implementation/MatchForTotalAmount.php index 8753a4100..4ffe2ebd4 100644 --- a/core/lib/Thelia/Condition/Implementation/MatchForTotalAmount.php +++ b/core/lib/Thelia/Condition/Implementation/MatchForTotalAmount.php @@ -229,27 +229,14 @@ class MatchForTotalAmount extends ConditionAbstract $cleanedCurrencies[$currency->getCode()] = $currency->getSymbol(); } - $name1 = $this->translator->trans( - 'Price', - array(), - 'condition' - ); - $name2 = $this->translator->trans( - 'Currency', - array(), - 'condition' - ); - return array( self::INPUT1 => array( - 'title' => $name1, 'availableOperators' => $this->availableOperators[self::INPUT1], 'availableValues' => '', 'value' => '', 'selectedOperator' => '' ), self::INPUT2 => array( - 'title' => $name2, 'availableOperators' => $this->availableOperators[self::INPUT2], 'availableValues' => $cleanedCurrencies, 'value' => '', diff --git a/core/lib/Thelia/Condition/Implementation/MatchForXArticles.php b/core/lib/Thelia/Condition/Implementation/MatchForXArticles.php index 01e64afc4..2d2df9c14 100644 --- a/core/lib/Thelia/Condition/Implementation/MatchForXArticles.php +++ b/core/lib/Thelia/Condition/Implementation/MatchForXArticles.php @@ -194,15 +194,8 @@ class MatchForXArticles extends ConditionAbstract */ protected function generateInputs() { - $name1 = $this->translator->trans( - 'Quantity', - array(), - 'condition' - ); - return array( self::INPUT1 => array( - 'title' => $name1, 'availableOperators' => $this->availableOperators[self::INPUT1], 'value' => '', 'selectedOperator' => ''