frontend translation + other stuff

This commit is contained in:
lordwilbur
2018-05-18 00:03:30 +02:00
committed by Nabeel Shahzad
parent ba8a819c7d
commit a346b0df2e
54 changed files with 966 additions and 771 deletions

View File

@@ -1,10 +1,10 @@
@extends('app')
@section('title', __trans_choice('Pilot', 2))
@section('title', trans_choice('frontend.global.pilot', 2))
@section('content')
<div class="row">
<div class="col-md-12">
<h2>{{ __trans_choice('Pilot', 2) }}</h2>
<h2>{{ trans_choice('frontend.global.pilot', 2) }}</h2>
@include('users.table')
</div>
</div>

View File

@@ -1,12 +1,12 @@
<table class="table table-hover" id="users-table">
<thead>
<th></th>
<th>{{ __('Name') }}</th>
<th>@lang('frontend.global.name')</th>
<th style="text-align: center"></th>
<th style="text-align: center">{{ __('Airline') }}</th>
<th style="text-align: center">{{ __('Location') }}</th>
<th style="text-align: center">{{ __trans_choice('Flight', 2) }}</th>
<th style="text-align: center">{{ __trans_choice('Hour', 2) }}</th>
<th style="text-align: center">@lang('frontend.global.airline')</th>
<th style="text-align: center">@lang('frontend.users.location')</th>
<th style="text-align: center">{{ trans_choice('frontend.global.flight', 2) }}</th>
<th style="text-align: center">{{ trans_choice('frontend.global.hour', 2) }}</th>
</thead>
<tbody>
@foreach($users as $user)