- fixed an error on finance in admin panel
- flight ident now use this format: VA IATA(if empty ICAO) + Flight Number + - + Flight Code (without C) + - + Flight Leg (without L) - added function __trans_choice in helpers.php for translation - fixed error in flight edit/insert panel not showing/inserting Tuesday in days - fixed an error occurring when metar retrieved is empty - edited now-ui-kit.css to align login fields correctly - added /public/assets/frontend/js/core/jquery-3.3.1.min.js to fix a missed resource error in authentication pages - added translations file for en and it locales - translated all the frontend templates
This commit is contained in:
committed by
Nabeel Shahzad
parent
77a2fd70c3
commit
ba8a819c7d
19
resources/lang/it/auth.php
Normal file
19
resources/lang/it/auth.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used during authentication for various
|
||||
| messages that we need to display to the user. You are free to modify
|
||||
| these language lines according to your application's requirements.
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'These credentials do not match our records.',
|
||||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
||||
|
||||
];
|
||||
246
resources/lang/it/installer_messages.php
Normal file
246
resources/lang/it/installer_messages.php
Normal file
@@ -0,0 +1,246 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'phpVMS Installer',
|
||||
'next' => 'Next Step',
|
||||
'back' => 'Previous',
|
||||
'finish' => 'Install',
|
||||
'forms' => [
|
||||
'errorTitle' => 'The Following errors occurred:',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Home page translations.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'templateTitle' => 'Welcome',
|
||||
'title' => 'phpVMS Installer',
|
||||
'message' => 'Easy Installation and Setup Wizard.',
|
||||
'next' => 'Check Requirements',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Requirements page translations.
|
||||
*
|
||||
*/
|
||||
'requirements' => [
|
||||
'templateTitle' => 'Step 1 | Server Requirements',
|
||||
'title' => 'Server Requirements',
|
||||
'next' => 'Check Permissions',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Permissions page translations.
|
||||
*
|
||||
*/
|
||||
'permissions' => [
|
||||
'templateTitle' => 'Step 2 | Permissions',
|
||||
'title' => 'Permissions',
|
||||
'next' => 'Configure Environment',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Environment page translations.
|
||||
*
|
||||
*/
|
||||
'environment' => [
|
||||
'menu' => [
|
||||
'templateTitle' => 'Step 3 | Environment Settings',
|
||||
'title' => 'Environment Settings',
|
||||
'desc' => 'Please select how you want to configure the apps <code>.env</code> file.',
|
||||
'wizard-button' => 'Form Wizard Setup',
|
||||
'classic-button' => 'Classic Text Editor',
|
||||
],
|
||||
'wizard' => [
|
||||
'templateTitle' => 'Step 3 | Environment Settings | Guided Wizard',
|
||||
'title' => 'Guided <code>.env</code> Wizard',
|
||||
'tabs' => [
|
||||
'environment' => 'Environment',
|
||||
'database' => 'Database',
|
||||
'application' => 'Application'
|
||||
],
|
||||
'form' => [
|
||||
'name_required' => 'An environment name is required.',
|
||||
'app_name_label' => 'App Name',
|
||||
'app_name_placeholder' => 'App Name',
|
||||
'app_environment_label' => 'App Environment',
|
||||
'app_environment_label_local' => 'Local',
|
||||
'app_environment_label_developement' => 'Development',
|
||||
'app_environment_label_qa' => 'Qa',
|
||||
'app_environment_label_production' => 'Production',
|
||||
'app_environment_label_other' => 'Other',
|
||||
'app_environment_placeholder_other' => 'Enter your environment...',
|
||||
'app_debug_label' => 'App Debug',
|
||||
'app_debug_label_true' => 'True',
|
||||
'app_debug_label_false' => 'False',
|
||||
'app_log_level_label' => 'App Log Level',
|
||||
'app_log_level_label_debug' => 'debug',
|
||||
'app_log_level_label_info' => 'info',
|
||||
'app_log_level_label_notice' => 'notice',
|
||||
'app_log_level_label_warning' => 'warning',
|
||||
'app_log_level_label_error' => 'error',
|
||||
'app_log_level_label_critical' => 'critical',
|
||||
'app_log_level_label_alert' => 'alert',
|
||||
'app_log_level_label_emergency' => 'emergency',
|
||||
'app_url_label' => 'App Url',
|
||||
'app_url_placeholder' => 'App Url',
|
||||
'db_connection_label' => 'Database Connection',
|
||||
'db_connection_label_mysql' => 'mysql',
|
||||
'db_connection_label_sqlite' => 'sqlite',
|
||||
'db_connection_label_pgsql' => 'pgsql',
|
||||
'db_connection_label_sqlsrv' => 'sqlsrv',
|
||||
'db_host_label' => 'Database Host',
|
||||
'db_host_placeholder' => 'Database Host',
|
||||
'db_port_label' => 'Database Port',
|
||||
'db_port_placeholder' => 'Database Port',
|
||||
'db_name_label' => 'Database Name',
|
||||
'db_name_placeholder' => 'Database Name',
|
||||
'db_username_label' => 'Database User Name',
|
||||
'db_username_placeholder' => 'Database User Name',
|
||||
'db_password_label' => 'Database Password',
|
||||
'db_password_placeholder' => 'Database Password',
|
||||
|
||||
'app_tabs' => [
|
||||
'more_info' => 'More Info',
|
||||
'broadcasting_title' => 'Broadcasting, Caching, Session, & Queue',
|
||||
'broadcasting_label' => 'Broadcast Driver',
|
||||
'broadcasting_placeholder' => 'Broadcast Driver',
|
||||
'cache_label' => 'Cache Driver',
|
||||
'cache_placeholder' => 'Cache Driver',
|
||||
'session_label' => 'Session Driver',
|
||||
'session_placeholder' => 'Session Driver',
|
||||
'queue_label' => 'Queue Driver',
|
||||
'queue_placeholder' => 'Queue Driver',
|
||||
'redis_label' => 'Redis Driver',
|
||||
'redis_host' => 'Redis Host',
|
||||
'redis_password' => 'Redis Password',
|
||||
'redis_port' => 'Redis Port',
|
||||
|
||||
'mail_label' => 'Mail',
|
||||
'mail_driver_label' => 'Mail Driver',
|
||||
'mail_driver_placeholder' => 'Mail Driver',
|
||||
'mail_host_label' => 'Mail Host',
|
||||
'mail_host_placeholder' => 'Mail Host',
|
||||
'mail_port_label' => 'Mail Port',
|
||||
'mail_port_placeholder' => 'Mail Port',
|
||||
'mail_username_label' => 'Mail Username',
|
||||
'mail_username_placeholder' => 'Mail Username',
|
||||
'mail_password_label' => 'Mail Password',
|
||||
'mail_password_placeholder' => 'Mail Password',
|
||||
'mail_encryption_label' => 'Mail Encryption',
|
||||
'mail_encryption_placeholder' => 'Mail Encryption',
|
||||
|
||||
'pusher_label' => 'Pusher',
|
||||
'pusher_app_id_label' => 'Pusher App Id',
|
||||
'pusher_app_id_palceholder' => 'Pusher App Id',
|
||||
'pusher_app_key_label' => 'Pusher App Key',
|
||||
'pusher_app_key_palceholder' => 'Pusher App Key',
|
||||
'pusher_app_secret_label' => 'Pusher App Secret',
|
||||
'pusher_app_secret_palceholder' => 'Pusher App Secret',
|
||||
],
|
||||
'buttons' => [
|
||||
'setup_database' => 'Setup Database',
|
||||
'setup_application' => 'Setup Application',
|
||||
'install' => 'Install',
|
||||
],
|
||||
],
|
||||
],
|
||||
'classic' => [
|
||||
'templateTitle' => 'Step 3 | Environment Settings | Classic Editor',
|
||||
'title' => 'Classic Environment Editor',
|
||||
'save' => 'Save .env',
|
||||
'back' => 'Use Form Wizard',
|
||||
'install' => 'Save and Install',
|
||||
],
|
||||
'success' => 'Your .env file settings have been saved.',
|
||||
'errors' => 'Unable to save the .env file, Please create it manually.',
|
||||
],
|
||||
|
||||
'install' => 'Install',
|
||||
|
||||
/**
|
||||
*
|
||||
* Installed Log translations.
|
||||
*
|
||||
*/
|
||||
'installed' => [
|
||||
'success_log_message' => 'Laravel Installer successfully INSTALLED on ',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Installation Finished',
|
||||
'templateTitle' => 'Installation Finished',
|
||||
'finished' => 'Application has been successfully installed.',
|
||||
'migration' => 'Migration & Seed Console Output:',
|
||||
'console' => 'Application Console Output:',
|
||||
'log' => 'Installation Log Entry:',
|
||||
'env' => 'Final .env File:',
|
||||
'exit' => 'Click here to exit',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Update specific translations
|
||||
*
|
||||
*/
|
||||
'updater' => [
|
||||
/**
|
||||
*
|
||||
* Shared translations.
|
||||
*
|
||||
*/
|
||||
'title' => 'Laravel Updater',
|
||||
|
||||
/**
|
||||
*
|
||||
* Welcome page translations for update feature.
|
||||
*
|
||||
*/
|
||||
'welcome' => [
|
||||
'title' => 'Welcome To The Updater',
|
||||
'message' => 'Welcome to the update wizard.',
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Welcome page translations for update feature.
|
||||
*
|
||||
*/
|
||||
'overview' => [
|
||||
'title' => 'Overview',
|
||||
'message' => 'There is 1 update.|There are :number updates.',
|
||||
'install_updates' => "Install Updates"
|
||||
],
|
||||
|
||||
/**
|
||||
*
|
||||
* Final page translations.
|
||||
*
|
||||
*/
|
||||
'final' => [
|
||||
'title' => 'Finished',
|
||||
'finished' => 'Application\'s database has been successfully updated.',
|
||||
'exit' => 'Click here to exit',
|
||||
],
|
||||
|
||||
'log' => [
|
||||
'success_message' => 'Laravel Installer successfully UPDATED on ',
|
||||
],
|
||||
],
|
||||
];
|
||||
19
resources/lang/it/pagination.php
Normal file
19
resources/lang/it/pagination.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the simple pagination links. You are free to change them to anything
|
||||
| you want to customize your views to better match your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'previous' => '« Previous',
|
||||
'next' => 'Next »',
|
||||
|
||||
];
|
||||
22
resources/lang/it/passwords.php
Normal file
22
resources/lang/it/passwords.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reset Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are the default lines which match reasons
|
||||
| that are given by the password broker for a password update attempt
|
||||
| has failed, such as for an invalid token or invalid new password.
|
||||
|
|
||||
*/
|
||||
|
||||
'password' => 'Passwords must be at least six characters and match the confirmation.',
|
||||
'reset' => 'Your password has been reset!',
|
||||
'sent' => 'We have e-mailed your password reset link!',
|
||||
'token' => 'This password reset token is invalid.',
|
||||
'user' => "We can't find a user with that e-mail address.",
|
||||
|
||||
];
|
||||
106
resources/lang/it/system.php
Normal file
106
resources/lang/it/system.php
Normal file
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'global' => [
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive'
|
||||
],
|
||||
|
||||
'aircraft' => [
|
||||
'status' => [
|
||||
'active' => 'Active',
|
||||
'stored' => 'Stored',
|
||||
'retired' => 'Retired',
|
||||
'scrapped' => 'Scrapped',
|
||||
'written' => 'Written Off',
|
||||
],
|
||||
],
|
||||
|
||||
'days' => [
|
||||
'mon' => 'Monday',
|
||||
'tues' => 'Tuesday',
|
||||
'wed' => 'Wednesday',
|
||||
'thurs' => 'Thursday',
|
||||
'fri' => 'Friday',
|
||||
'sat' => 'Saturday',
|
||||
'sun' => 'Sunday',
|
||||
],
|
||||
|
||||
'expenses' => [
|
||||
'type' => [
|
||||
'flight' => 'Flight',
|
||||
'daily' => 'Daily',
|
||||
'monthly' => 'Monthly',
|
||||
],
|
||||
],
|
||||
|
||||
'flights' => [
|
||||
'type' => [
|
||||
'pass_scheduled' => 'Passenger - Scheduled',
|
||||
'cargo_scheduled' => 'Cargo - Scheduled',
|
||||
'charter_pass_only' => 'Charter - Passenger Only',
|
||||
'addtl_cargo_mail' => 'Additional Cargo/Mail',
|
||||
'special_vip' => 'Special VIP Flight (FAA/Government)',
|
||||
'pass_addtl' => 'Passenger - Additional',
|
||||
'charter_cargo' => 'Charter - Cargo/Mail',
|
||||
'ambulance' => 'Ambulance Flight',
|
||||
'training_flight' => 'Training Flight',
|
||||
'mail_service' => 'Mail Service',
|
||||
'charter_special' => 'Charter w/ Special Handling',
|
||||
'positioning' => 'Positioning (Ferry/Delivery/Demo)',
|
||||
'technical_test' => 'Technical Test',
|
||||
'military' => 'Military',
|
||||
'technical_stop' => 'Technical Stop',
|
||||
],
|
||||
],
|
||||
|
||||
'pireps' => [
|
||||
'source' => [
|
||||
'manual' => 'Manual',
|
||||
'acars' => 'ACARS',
|
||||
],
|
||||
'state' => [
|
||||
'accepted' => 'Accepted',
|
||||
'pending' => 'Pending Approval',
|
||||
'rejected' => 'Rejected',
|
||||
'in_progress' => 'In Progress',
|
||||
'cancelled' => 'Cancelled',
|
||||
'deleted' => 'Deleted',
|
||||
'draft' => 'Draft',
|
||||
],
|
||||
'status' => [
|
||||
'initialized' => 'Initiated',
|
||||
'scheduled' => 'Scheduled',
|
||||
'boarding' => 'Boarding',
|
||||
'ready_start' => 'Ready for start',
|
||||
'push_tow' => 'Pushback/towing',
|
||||
'departed' => 'Departed',
|
||||
'ready_deice' => 'Ready for de-icing',
|
||||
'deicing' => 'De-icing in progress',
|
||||
'ground_ret' => 'Ground return',
|
||||
'taxi' => 'Taxi',
|
||||
'takeoff' => 'Takeoff',
|
||||
'initial_clb' => 'Initial Climb',
|
||||
'enroute' => 'Enroute',
|
||||
'diverted' => 'Diverted',
|
||||
'approach' => 'Approach',
|
||||
'final_appr' => 'Final approach',
|
||||
'landing' => 'Landing',
|
||||
'landed' => 'Landed',
|
||||
'arrived' => 'Arrived',
|
||||
'cancelled' => 'Cancelled',
|
||||
'emerg_decent' => 'Emergency decent',
|
||||
]
|
||||
],
|
||||
|
||||
'users' => [
|
||||
'state' => [
|
||||
'pending' => 'Pending',
|
||||
'active' => 'Active',
|
||||
'rejected' => 'Rejected',
|
||||
'on_leave' => 'On Leave',
|
||||
'suspended' => 'Suspended',
|
||||
],
|
||||
],
|
||||
];
|
||||
120
resources/lang/it/validation.php
Normal file
120
resources/lang/it/validation.php
Normal file
@@ -0,0 +1,120 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/**
|
||||
* Validation Language Lines
|
||||
*/
|
||||
|
||||
'accepted' => 'The :attribute must be accepted.',
|
||||
'active_url' => 'The :attribute is not a valid URL.',
|
||||
'after' => 'The :attribute must be a date after :date.',
|
||||
'alpha' => 'The :attribute may only contain letters.',
|
||||
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
|
||||
'alpha_num' => 'The :attribute may only contain letters and numbers.',
|
||||
'array' => 'The :attribute must be an array.',
|
||||
'before' => 'The :attribute must be a date before :date.',
|
||||
'between' => [
|
||||
'numeric' => 'The :attribute must be between :min and :max.',
|
||||
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
||||
'string' => 'The :attribute must be between :min and :max characters.',
|
||||
'array' => 'The :attribute must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'confirmed' => 'The :attribute confirmation does not match.',
|
||||
'date' => 'The :attribute is not a valid date.',
|
||||
'date_format' => 'The :attribute does not match the format :format.',
|
||||
'different' => 'The :attribute and :other must be different.',
|
||||
'digits' => 'The :attribute must be :digits digits.',
|
||||
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'The :attribute must be a valid email address.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'file' => 'The :attribute must be a file.',
|
||||
'filled' => 'The ":attribute" is required.',
|
||||
'image' => 'The :attribute must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'integer' => 'The :attribute must be an integer.',
|
||||
'ip' => 'The :attribute must be a valid IP address.',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'max' => [
|
||||
'numeric' => 'The :attribute may not be greater than :max.',
|
||||
'file' => 'The :attribute may not be greater than :max kilobytes.',
|
||||
'string' => 'The :attribute may not be greater than :max characters.',
|
||||
'array' => 'The :attribute may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'The :attribute must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The :attribute must be at least :min.',
|
||||
'file' => 'The :attribute must be at least :min kilobytes.',
|
||||
'string' => 'The :attribute must be at least :min characters.',
|
||||
'array' => 'The :attribute must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'numeric' => 'The :attribute must be a number.',
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'regex' => 'The :attribute format is invalid.',
|
||||
'required' => 'The ":attribute" field is required.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values is present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute and :other must match.',
|
||||
'size' => [
|
||||
'numeric' => 'The :attribute must be :size.',
|
||||
'file' => 'The :attribute must be :size kilobytes.',
|
||||
'string' => 'The :attribute must be :size characters.',
|
||||
'array' => 'The :attribute must contain :size items.',
|
||||
],
|
||||
'string' => 'The :attribute must be a string.',
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'url' => 'The :attribute format is invalid.',
|
||||
|
||||
/**
|
||||
* Custom Validation Language Lines
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'airline_id' => [
|
||||
'required' => 'An airline is required',
|
||||
'exists' => 'The airline doesn\'t exist',
|
||||
],
|
||||
'aircraft_id' => [
|
||||
'required' => 'An aircraft is required',
|
||||
'exists' => 'The aircraft doesn\'t exist',
|
||||
],
|
||||
'arr_airport_id' => [
|
||||
'required' => 'An arrival airport is required',
|
||||
],
|
||||
'dpt_airport_id' => [
|
||||
'required' => 'A departure airport is required',
|
||||
],
|
||||
'flight_time' => [
|
||||
'required' => 'Flight time, in minutes, is required',
|
||||
'integer' => 'Flight time, in minutes, is required',
|
||||
],
|
||||
'planned_flight_time' => [
|
||||
'required' => 'Flight time, in minutes, is required',
|
||||
'integer' => 'Flight time, in minutes, is required',
|
||||
],
|
||||
'source_name' => [
|
||||
'required' => 'PIREP Source is required',
|
||||
],
|
||||
'g-recaptcha-response' => [
|
||||
'required' => 'Please verify that you are not a robot.',
|
||||
'captcha' => 'Captcha error! try again later or contact site admin.',
|
||||
],
|
||||
],
|
||||
|
||||
/**
|
||||
* Custom Validation Attributes
|
||||
*/
|
||||
|
||||
'attributes' => [],
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user