Skip to content
Snippets Groups Projects

Update PaymentMethodSelectionPane.php wrap the any option in the t function

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -29,7 +29,7 @@ class PaymentMethodSelectionPane extends CheckoutPaneBase {
'#title' => $this->t('Payment methods'),
'#description' => $this->t('Choose a payment method now or when you get redirected to payment site'),
'#options' => [
'any' => 'I\'ll choose later',
'any' => $this->t('I\'ll choose later'),
] + $this->getAvailablePaymentMethods(),
'#attributes' => [
'class' => [
Loading