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

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