More organizing for translations

This commit is contained in:
Nabeel Shahzad
2018-05-21 11:55:40 -05:00
parent 36dcd61feb
commit 0a7f002217
48 changed files with 393 additions and 410 deletions
@@ -38,7 +38,7 @@
</tr>
<tr>
<td>@lang('common.homeairport')</td>
<td>@lang('airports.home')</td>
<td>
<div class="input-group form-group-no-border{{ $errors->has('home_airport_id') ? ' has-danger' : '' }}">
{{ Form::select('home_airport_id', $airports, null , ['class' => 'form-control select2']) }}
@@ -84,7 +84,7 @@
<p class="text-danger">{{ $errors->first('password') }}</p>
@endif
<p>@lang('common.confirmpassword'):</p>
<p>@lang('passwords.confirm'):</p>
<div class="input-group form-group-no-border{{ $errors->has('password_confirmation') ? ' has-danger' : '' }}">
{{ Form::password('password_confirmation', ['class' => 'form-control']) }}
</div>
@@ -28,20 +28,20 @@
<div class="social-description">
<h2>{{ \App\Facades\Utils::minutesToTimeString($user->flight_time, false) }}</h2>
<p>@lang('profile.flighthours')</p>
<p>@lang('flights.flighthours')</p>
</div>
@if($user->home_airport)
<div class="social-description">
<h2>{{ $user->home_airport->icao }}</h2>
<p>@lang('common.homeairport')</p>
<p>@lang('airports.home')</p>
</div>
@endif
@if($user->current_airport)
<div class="social-description">
<h2>{{ $user->current_airport->icao }}</h2>
<p>@lang('common.currentairport')</p>
<p>@lang('airports.current')</p>
</div>
@endif