Updated 'You cancelled your payment. You may try again.' to be translatable
This commit is contained in:
parent
de61912b0b
commit
29adb572a4
|
|
@ -463,7 +463,7 @@ class EventCheckoutController extends Controller
|
|||
{
|
||||
|
||||
if ($request->get('is_payment_cancelled') == '1') {
|
||||
session()->flash('message', 'You cancelled your payment. You may try again.');
|
||||
session()->flash('message', trans('Event.payment_cancelled'));
|
||||
return response()->redirectToRoute('showEventCheckout', [
|
||||
'event_id' => $event_id,
|
||||
'is_payment_cancelled' => 1,
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ return array (
|
|||
'no_events_yet_text' => 'Looks like you have yet to create an event. You can create one by clicking the button below.',
|
||||
'num_events' => ':num Events',
|
||||
'or(manual/existing_venue)' => 'or',
|
||||
'payment_cancelled' => 'You cancelled your payment. You may try again.',
|
||||
'post_code' => 'Post Code',
|
||||
'post_code_placeholder' => 'E.g: 94568.',
|
||||
'promote' => 'Promote',
|
||||
|
|
|
|||
Loading…
Reference in New Issue