Updated 'You cancelled your payment. You may try again.' to be translatable

This commit is contained in:
Kerrin Hardy 2018-10-16 23:02:04 +10:30 committed by Sebastian Schmidt
parent de61912b0b
commit 29adb572a4
No known key found for this signature in database
GPG Key ID: 80B9687901B6587C
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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',