Selaa lähdekoodia

chore: 🌐 localization

IceToast 2 vuotta sitten
vanhempi
commit
128015f0fa
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Extensions/PaymentGateways/PayPal/index.php

+ 1 - 1
app/Extensions/PaymentGateways/PayPal/index.php

@@ -102,7 +102,7 @@ function PaypalPay(Request $request)
         Log::error('PayPal Payment: ' . $ex->getMessage());
         $payment->delete();
 
-        Redirect::route('store.index')->with('error', 'Payment failed')->send();
+        Redirect::route('store.index')->with('error', __('Payment failed'))->send();
         return;
     }
 }