Fix typos and missing lang

This commit is contained in:
Nabeel Shahzad 2018-05-21 12:05:22 -05:00
parent 8179611cac
commit 17cece598b
3 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@ class FlightController extends Controller
$saved_flights = $flights->pluck('id')->toArray();
return view('flights.index', [
'title' => trans_choice('frontend.flights.mybid', 2),
'title' => trans_choice('flights.mybid', 2),
'airlines' => $this->airlineRepo->selectBoxList(true),
'airports' => $this->airportRepo->selectBoxList(true),
'flights' => $flights,

View File

@ -26,11 +26,11 @@ $(document).ready(function () {
if(params.method === 'DELETE') {
console.log('successfully removed flight');
btn.removeClass(class_name);
alert('@lang("frontend.flights.bidremoved")');
alert('@lang("flights.bidremoved")');
} else {
console.log('successfully saved flight');
btn.addClass(class_name);
alert('@lang("frontend.flights.bidadded")');
alert('@lang("flights.bidadded")');
}
})
.catch(error => {

View File

@ -1,7 +1,7 @@
@if($aircraft)
<div class="form-container">
<h6><i class="fas fa-ellipsis-h"></i>
&nbsp;{{ trans_coice('frontend.pireps.fare', 2) }}
&nbsp;{{ trans_choice('pireps.fare', 2) }}
</h6>
<div class="form-container-body">
@foreach($aircraft->subfleet->fares as $fare)