Move airports into separate file

This commit is contained in:
Nabeel Shahzad
2018-05-21 09:58:21 -05:00
parent 1258b87671
commit bd84877f0e
5 changed files with 302 additions and 587 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
/**
*
*/
return [
'inboundflights' => 'Inbound Flights',
'outboundflights' => 'Outbound Flights',
'ident' => 'Identification',
'noflightfound' => 'No Flight Found.',
];
+1 -155
View File
@@ -1,87 +1,6 @@
<?php <?php
return [ return [
'global' =>[
'dashboard' => 'Dashboard',
'flight' => 'Flight|Flights',
'livemap' => 'Live Map',
'pilot' => 'Pilot|Pilots',
'pirep' => 'PIREP|PIREPs',
'newestpilots' => 'Newest Pilots',
'profile' => 'Profile',
'email' => 'Email',
'register' => 'Register',
'confirmpassword' => 'Confirm Password',
'homeairport' => 'Home Airport',
'currentairport' => 'Current Airport',
'timezone' => 'Timezone',
'country' => 'Country',
'download' => 'Download|Downloads',
'from' => 'from',
'to' => 'to',
'status' => 'Status',
'departure' => 'Departure',
'arrival' => 'Arrival',
'aircraft' => 'Aircraft',
'airline' => 'Airline',
'distance' => 'Distance',
'metar' => 'METAR',
'hour' => 'Hour|Hours',
'minute' => 'Minute|Minutes',
'note' => 'Note|Notes',
'route' => 'Route',
'flightnumber' => 'Flight Number',
'flighttime' => 'Flight Time',
'departureairport' => 'Departure Airport',
'arrivalairport' => 'Arrival Airport',
'field' => 'Field|Fields',
'name' => 'Name',
'value' => 'Value|Values',
'remark' => 'Remark|Remarks',
'find' => 'Find',
'reset' => 'Reset',
'submit' => 'Submit',
'edit' => 'Edit',
'close' => 'Close',
],
'airports' => [
'inboundflights' => 'Inbound Flights',
'outboundflights' => 'Outbound Flights',
'ident' => 'Identification',
'noflightfound' => 'No Flight Found.',
],
'auth' => [
'login' => 'Log In',
'password' => 'Password',
'createaccount' => 'Create Account',
'forgotpassword' => 'Forgot Password',
'fullname' => 'Full Name',
'emailaddress' => 'Email Address',
'fillcaptcha' => 'Fill out the captcha',
'tocaccept' => 'By registering, you agree to the Terms and Conditions.',
'register' => 'Register',
'registrationpending' => 'Registration Pending',
'pendingmessage' => 'Your registration is pending approval. Please check your email!',
'registrationsubmitted' => 'Registration Submitted',
'registrationconfirmation' => 'Registration Confirmation',
'confirmationmessage' => 'Your application has been submitted. It requires staff member approval, once a\nstaff member has reviewed your application, you will receive a confirmation email.',
'registrationdenied' => 'Registration Denied',
'deniedmessage' => 'Your registration was denied. Please contact an administrator.',
'accountsuspended' => 'Account Suspended',
'suspendedmessage' => 'Your account has been suspended. Please contact an administrator.',
],
'dashboard' => [
'totalhours' => 'Total Hours',
'yourbalance' => 'Your Balance',
'yourlastreport' => 'Your Last Report',
'noreportsyet' => 'No reports yet.',
'fileonenow' => 'File one now.',
'weatherat' => 'Weather at =>ICAO',
'recentreports' => 'Recent Reports',
],
'downloads' => [ 'downloads' => [
'nodownloads' => 'There are no downloads!', 'nodownloads' => 'There are no downloads!',
@@ -98,34 +17,6 @@ return [
'allrightsreserved' => 'All Rights Reserved', 'allrightsreserved' => 'All Rights Reserved',
], ],
'errors' => [
'401title' => 'Not Authorized',
'401header' => 'Unauthorized Access',
'401message' => [
'Well, this is embarrassing, you are not authorized to access or perform this function.',
'Click <a href=":link">here</a> to go back to the home page.',
],
'404title' => 'Not Found',
'404header' => 'Page Not Found',
'404message' => [
'Well, this is embarrassing, the page you requested does not exist.',
'Click <a href=":link">here</a> to go back to the home page.',
],
'503message' => 'Be right back.',
],
'flights' => [
'mybid' => 'My Bid|My Bids',
'search' => 'Search',
'addremovebid' => 'Add/Remove Bid',
'bidremoved' => 'Your bid was removed.',
'bidadded' => 'Your bid was added.',
'dep' => 'Dep',
'arr' => 'Arr',
'level' => 'Level',
'alternateairport' => 'Alternate Airport',
],
'home' => [ 'home' => [
'welcome' => [ 'welcome' => [
'title' => 'Welcome!', 'title' => 'Welcome!',
@@ -139,52 +30,6 @@ return [
'logout' => 'Log Out', 'logout' => 'Log Out',
], ],
'pireps' => [
'filenewpirep' => 'File New PIREP',
'pilotreport' => 'Pilot Report|Pilot Reports',
'arrived' => 'Arrived',
'source' => 'Source',
'flighttype' => 'Flight Type',
'filedroute' => 'Filed Route',
'filedon' => 'Filed On',
'fare' => 'Fare|Fares',
'class' => 'Class',
'count' => 'Count',
'flightlevel' => 'Flight Level',
'fieldsreadonly' => 'Once a PIREP has been accepted/rejected, certain fields go into read-only mode.',
'flightinformations' => 'Flight Informations',
'flightident' => 'Flight Number/Code/Leg',
'codeoptional' => 'Code (optional)',
'legoptional' => 'Leg (optional)',
'deparrinformations' => 'Departure/Arrival Informations',
'aircraftinformations' => 'Aircraft Informations',
'dateflown' => 'Date Flown',
'departuretime' => 'Departure Time',
'arrivaltime' => 'Arrival Time',
'deletepirep' => 'Delete PIREP',
'savepirep' => 'Save PIREP',
'submitpirep' => 'Submit PIREP',
'editflightreport' => 'Edit Flight Report',
'fileflightreport' => 'File New Report',
'newflightreport' => 'New Flight Report',
'submitted' => 'Submitted',
],
'profile' =>[
'avatarresize' => 'This avatar will be resized to :width x :height pixels',
'flighthours' => 'Flight Hours',
'newapikey' => 'New API Key',
'yourprofile' => 'Your Profile',
'apikey' => 'API Key',
'dontshare' => 'don\'t share this!',
'changepassword' => 'Change Password',
'newpassword' => 'New Password',
'avatar' => 'Avatar',
'updateprofile' => 'Update Profile',
'editprofile' => 'Edit Profile',
'edityourprofile' => 'Edit Your Profile',
],
'toc' => [ 'toc' => [
'toctitle' => 'Terms and Conditions', 'toctitle' => 'Terms and Conditions',
'toctext' => [ 'toctext' => [
@@ -284,6 +129,7 @@ return [
'barometer' => 'Barometer', 'barometer' => 'Barometer',
'clouds' => 'Clouds', 'clouds' => 'Clouds',
'wind' => 'Wind', 'wind' => 'Wind',
'remarks' => 'Remarks',
'guststo' => 'gusts to', 'guststo' => 'gusts to',
'updated' => 'Updated', 'updated' => 'Updated',
'hrago' => 'hr ago|hrs ago', 'hrago' => 'hr ago|hrs ago',
+11
View File
@@ -0,0 +1,11 @@
<?php
/**
*
*/
return [
'inboundflights' => 'Voli in Entrata',
'outboundflights' => 'Voli in Uscita',
'ident' => 'Identificativo',
'noflightfound' => 'Nessun Volo Trovato.',
];
+1 -154
View File
@@ -1,87 +1,6 @@
<?php <?php
return [ return [
'global' =>[
'dashboard' => 'Dashboard',
'flight' => 'Volo|Voli',
'livemap' => 'Mappa Live',
'pilot' => 'Pilota|Piloti',
'pirep' => 'PIREP|PIREPs',
'newestpilots' => 'Ultimi Piloti',
'profile' => 'Profilo',
'email' => 'Email',
'register' => 'Registrazione',
'confirmpassword' => 'Conferma Password',
'homeairport' => 'Aeroporto di Casa',
'currentairport' => 'Aeroporto Corrente',
'timezone' => 'Fuso Orario',
'country' => 'Paese',
'download' => 'Download|Downloads',
'from' => 'da',
'to' => 'a',
'status' => 'Stato',
'departure' => 'Partenza',
'arrival' => 'Arrivo',
'aircraft' => 'Aereomobile',
'airline' => 'Compagnia Aerea',
'distance' => 'Distanza',
'metar' => 'METAR',
'hour' => 'Ora|Ore',
'minute' => 'Minuto|Minuti',
'note' => 'Nota|Note',
'route' => 'Rotta',
'flightnumber' => 'Numero di Volo',
'flighttime' => 'Tempo di Volo',
'departureairport' => 'Aeroporto di Partenza',
'arrivalairport' => 'Aeroporto d\'Arrivo',
'field' => 'Campo|Campi',
'name' => 'Nome',
'value' => 'Valore|Valori',
'remark' => 'Promemoria|Promemoria',
'find' => 'Trova',
'reset' => 'Resetta',
'submit' => 'Invia',
'edit' => 'Modifica',
'close' => 'Chiudi',
],
'airports' => [
'inboundflights' => 'Voli in Entrata',
'outboundflights' => 'Voli in Uscita',
'ident' => 'Identificativo',
'noflightfound' => 'Nessun Volo Trovato.',
],
'auth' => [
'login' => 'Accedi',
'password' => 'Password',
'createaccount' => 'Crea Account',
'forgotpassword' => 'Password Dimenticata',
'fullname' => 'Nome Completo',
'emailaddress' => 'Indirizzo Email',
'fillcaptcha' => 'Compila la captcha',
'tocaccept' => 'Registrandoti confermi di accettare i Termini e le Condizioni di Utilizzo.',
'register' => 'Registrati',
'registrationpending' => 'Registrazione in Sospeso',
'pendingmessage' => 'La tua registrazione è in attesa di approvazione. Controlla la tua email per favore.',
'registrationsubmitted' => 'Registrazione Inviata',
'registrationconfirmation' => 'Conferma di Registrazione',
'confirmationmessage' => 'La tua richiesta è stata inviata e richiede l\'approvazione di un membro dello staff. Quando\nverrà esaminata, riceverai una email di conferma.',
'registrationdenied' => 'Registrazione Negata',
'deniedmessage' => 'La tua registrazione è stata rifiutata. Contatta un amministratore per favore.',
'accountsuspended' => 'Account Sospeso',
'suspendedmessage' => 'Il tuo account è stato sospeso. Contatta un amministratore per favore.',
],
'dashboard' => [
'totalhours' => 'Ore Totali',
'yourbalance' => 'Bilancio',
'yourlastreport' => 'Ultimo Rapporto',
'noreportsyet' => 'Ancora nessun rapporto.',
'fileonenow' => 'Inseriscine uno ora.',
'weatherat' => 'Tempo a :ICAO',
'recentreports' => 'Rapporti Recenti',
],
'emails' => [ 'emails' => [
'whoops' => 'Ops', 'whoops' => 'Ops',
@@ -94,37 +13,11 @@ return [
'allrightsreserved' => 'Tutti i Diritti Riservati', 'allrightsreserved' => 'Tutti i Diritti Riservati',
], ],
'errors' => [
'401title' => 'Non Autorizzato',
'401header' => 'Accesso Non Autorizzato',
'401message' => [
'Beh, è imbarazzante, non sei autorizzato ad accedere o ad eseguire questa funzionalità.',
'Clicca <a href=":link">qui</a> per tornare alla home page.',
],
'404title' => 'Not Found',
'404header' => 'Page Not Found',
'404message' => [
'Beh, è imbarazzante, la pagina che hai richiesto non esiste.',
'Clicca <a href=":link">qui</a> per tornare alla home page.',
],
'503message' => 'Torniamo subito.',
],
'downloads' => [ 'downloads' => [
'nodownloads' => 'Non ci sono downloads!', 'nodownloads' => 'Non ci sono downloads!',
], ],
'flights' => [
'mybid' => 'Mia prenotazione|Mie Prenotazioni',
'addremovebid' => 'Aggiungi/Rimuovi Prenotazione',
'bidremoved' => 'La tua prenotazione è stata rimossa.',
'bidadded' => 'La tua prenotazione è stata aggiunta.',
'dep' => 'Par',
'arr' => 'Arr',
'level' => 'Livello',
'alternateairport' => 'Aeroporto Alternativo',
],
'home' => [ 'home' => [
'welcome' => [ 'welcome' => [
'title' => 'Benvenuti!', 'title' => 'Benvenuti!',
@@ -133,57 +26,10 @@ return [
], ],
'nav' => [ 'nav' => [
'login' => 'Accesso',
'administration' => 'Amministrazione', 'administration' => 'Amministrazione',
'logout' => 'Uscita', 'logout' => 'Uscita',
], ],
'pireps' => [
'filenewpirep' => 'Inserici Nuovo PIREP',
'pilotreport' => 'Rapporto Pilota|Rapporti Pilota',
'arrived' => 'Arrivato',
'source' => 'Fonte',
'flighttype' => 'Tipo di Volo',
'filedroute' => 'Rotta Inserita',
'filedon' => 'Inserito il',
'fare' => 'Tariffa|Tariffe',
'class' => 'Classe',
'count' => 'Numero',
'flightlevel' => 'Livello di Volo',
'fieldsreadonly' => 'Quando un PIREP viene accettato/rifiutato, alcuni cami entrano in modalità di sola lettura.',
'flightinformations' => 'Informazioni di Volo',
'flightident' => 'Numero di Volo/Codice/Leg',
'codeoptional' => 'Codice (facoltativo)',
'legoptional' => 'Leg (facoltativa)',
'deparrinformations' => 'Informazioni di Partenza/Arrivo',
'aircraftinformations' => 'Informazioni sull\'Aeromobile',
'dateflown' => 'Volato in Data',
'departuretime' => 'Ora di Partenza',
'arrivaltime' => 'Ora di Arrivo',
'deletepirep' => 'Cancella PIREP',
'savepirep' => 'Salva PIREP',
'submitpirep' => 'Invia PIREP',
'editflightreport' => 'Modifica Rapporto di Volo',
'fileflightreport' => 'Inserisci Rapporto di Volo',
'newflightreport' => 'Nuovo Rapporto di Volo',
'submitted' => 'Inviato',
],
'profile' =>[
'avatarresize' => 'Questo avatar sarà ridimensionato a :width x :height pixels',
'flighthours' => 'Ore di Volo',
'newapikey' => 'Nuova Chiave API',
'yourprofile' => 'Il Tuo Profilo',
'apikey' => 'Chiave API',
'dontshare' => 'non condividerla!',
'changepassword' => 'Cambia Password',
'newpassword' => 'Nuova Password',
'avatar' => 'Avatar',
'updateprofile' => 'Aggiorna Profilo',
'editprofile' => 'Modifica Profilo',
'edityourprofile' => 'Modifica Il Tuo Profilo',
],
'toc' => [ 'toc' => [
'toctitle' => 'Termini e Condizioni di Utilizzo', 'toctitle' => 'Termini e Condizioni di Utilizzo',
'toctext' => [ 'toctext' => [
@@ -286,6 +132,7 @@ return [
'clouds' => 'Nuvole', 'clouds' => 'Nuvole',
'wind' => 'Vento', 'wind' => 'Vento',
'guststo' => 'raffiche da', 'guststo' => 'raffiche da',
'remarks' => 'Remarks',
'updated' => 'Aggiornato', 'updated' => 'Aggiornato',
'hrago' => 'ora fa|ore fa', 'hrago' => 'ora fa|ore fa',
'minago' => 'ninuto fa|minuti fa', 'minago' => 'ninuto fa|minuti fa',
@@ -36,16 +36,16 @@
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">
<h5>@lang('frontend.airports.inboundflights')</h5> <h5>@lang('airports.inboundflights')</h5>
@if(!$inbound_flights) @if(!$inbound_flights)
<div class="jumbotron text-center"> <div class="jumbotron text-center">
@lang('frontend.airports.noflightfound') @lang('airports.noflightfound')
</div> </div>
@else @else
<table class="table table-striped table-condensed"> <table class="table table-striped table-condensed">
<thead> <thead>
<tr> <tr>
<th class="text-left">@lang('frontend.airports.ident')</th> <th class="text-left">@lang('airports.ident')</th>
<th class="text-left">@lang('common.from')</th> <th class="text-left">@lang('common.from')</th>
<th>@lang('common.departure')</th> <th>@lang('common.departure')</th>
<th>@lang('common.arrival')</th> <th>@lang('common.arrival')</th>
@@ -71,16 +71,16 @@
</div> </div>
<div class="col-6"> <div class="col-6">
<h5>@lang('frontend.airports.outboundflights')</h5> <h5>@lang('airports.outboundflights')</h5>
@if(!$outbound_flights) @if(!$outbound_flights)
<div class="jumbotron text-center"> <div class="jumbotron text-center">
@lang('frontend.airports.noflightfound') @lang('airports.noflightfound')
</div> </div>
@else @else
<table class="table table-striped table-condensed"> <table class="table table-striped table-condensed">
<thead> <thead>
<tr> <tr>
<th class="text-left">@lang('frontend.airports.ident')</th> <th class="text-left">@lang('airports.ident')</th>
<th class="text-left">@lang('common.to')</th> <th class="text-left">@lang('common.to')</th>
<th>@lang('common.departure')</th> <th>@lang('common.departure')</th>
<th>@lang('common.arrival')</th> <th>@lang('common.arrival')</th>