invoice translation
This commit is contained in:
parent
39af10ff95
commit
ff9be6b543
3 changed files with 6 additions and 5 deletions
|
@ -253,7 +253,7 @@ class PaymentController extends Controller
|
|||
$user->notify(new InvoiceNotification($invoice, $user, $payment));
|
||||
|
||||
//redirect back to home
|
||||
return redirect()->route('home')->with('success', 'Your credit balance has been increased!');
|
||||
return redirect()->route('home')->with('success', __('Your credit balance has been increased!'));
|
||||
}
|
||||
|
||||
|
||||
|
@ -282,7 +282,7 @@ class PaymentController extends Controller
|
|||
*/
|
||||
public function cancel(Request $request)
|
||||
{
|
||||
return redirect()->route('store.index')->with('success', 'Payment was Canceled');
|
||||
return redirect()->route('store.index')->with('success', __('Payment was Canceled'));
|
||||
}
|
||||
|
||||
|
||||
|
|
1
resources/lang/vendor/invoices/de/invoice.php
vendored
Normal file
1
resources/lang/vendor/invoices/de/invoice.php
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
<?php
|
|
@ -40,7 +40,7 @@
|
|||
<a class="nav-link active" data-toggle="pill" href="#dashboard-icons">Dashboard icons</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="pill" href="#invoice-settings">Invoice Settings</a>
|
||||
<a class="nav-link" data-toggle="pill" href="#invoice-settings">{{__('Invoice Settings')}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
|||
|
||||
<div class="tab-pane mt-3" id="invoice-settings">
|
||||
<div class="float-right">
|
||||
<a href="{{route('admin.settings.downloadAllInvoices')}}"><button class="btn btn-success">Download all Invoices</button></a>
|
||||
<a href="{{route('admin.settings.downloadAllInvoices')}}"><button class="btn btn-success">{{__('Download all Invoices')}}</button></a>
|
||||
</div>
|
||||
|
||||
<form method="POST" enctype="multipart/form-data" class="mb-3"
|
||||
|
@ -192,7 +192,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-primary">Submit</button>
|
||||
<button class="btn btn-primary">{{__('Submit')}}</button>
|
||||
<!-- end -->
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue