Skip to content

Commit bb0cb66

Browse files
committed
Fix Translator PS 17
1 parent 1bedbe6 commit bb0cb66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ps17/src/Presentation/Translator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ public function trans(string $key, array $parameters = []): string
178178
'Refund cannot be processed by PayPal.' => $this->module->l('Refund cannot be processed by PayPal.', 'Translator'),
179179
'Refund has been processed by PayPal.' => $this->module->l('Refund has been processed by PayPal.', 'Translator'),
180180
'No PrestaShop Order identifier received' => $this->module->l('No PrestaShop Order identifier received', 'Translator'),
181-
'Unable to find PayPal Order associated to this PrestaShop Order %s' => sprintf($this->module->l('Unable to find PayPal Order associated to this PrestaShop Order %s', 'Translator'), $parameters),
182-
'PayPal Order %s is not in the same environment as PrestaShop Checkout' => sprintf($this->module->l('PayPal Order %s is not in the same environment as PrestaShop Checkout', 'Translator'), $parameters),
181+
'Unable to find PayPal Order associated to this PrestaShop Order %s' => $this->module->l('Unable to find PayPal Order associated to this PrestaShop Order %s', 'Translator'),
182+
'PayPal Order %s is not in the same environment as PrestaShop Checkout' => $this->module->l('PayPal Order %s is not in the same environment as PrestaShop Checkout', 'Translator'),
183183

184184
'Eligible' => $this->module->l('Eligible', 'Translator'),
185185
'Partially eligible' => $this->module->l('Partially eligible', 'Translator'),

0 commit comments

Comments
 (0)