[WIP] Refactor project

This commit is contained in:
Ludovic CANDELLIER
2021-05-21 00:21:05 +02:00
parent f4ab8e71a8
commit 64abc46d99
347 changed files with 14104 additions and 1608 deletions

View File

@@ -0,0 +1,41 @@
<?php
return [
'fields' => [
'last_name' => 'Nome',
'first_name' => 'Cognome',
'email' => 'E-mail',
'password' => 'Password',
'password_confirm' => 'Conferma Password',
],
'password' => [
'title' => 'Password dimenticata',
'intro' => 'Enter the following field to reset your password',
'submit' => 'Invia reset password',
'login_link' => 'Accedi con un utente registrato',
],
'password_reset' => [
'title' => 'Password reset',
'intro' => 'Enter the following fields to reset your password',
'submit' => 'Reset',
],
'register' => [
'title' => 'Registra un nuovo utente',
'intro' => 'Enter the following fields to create a new user',
'register_button' => 'Registra',
'login_link' => 'Accedi con un utente registrato',
],
'login' => [
'title' => 'Login',
'intro' => 'Effettua l\'accesso per accedere',
'rememberme' => 'Ricordami',
'signin' => 'Accedi',
'forgotpassword' => 'Password dimenticata',
'register' => 'Nuovo utente',
],
'firstlogin' => [
'title' => 'Primo login',
'intro' => 'Questo è il tuo primo login, inserisci la password per attivare l\' account',
'button' => 'Login',
],
];

View File

@@ -0,0 +1,13 @@
<?php
return [
'delete' => 'Avatar è stato eliminato',
'gravatar' => [
'success' => 'Avatar importato con successo',
'error' => 'Nessun avatar trovato per questo utente',
],
'upload' => [
'success' => 'File caricato correttamente',
'error' => 'Errore nel caricamento',
],
];

View File

@@ -0,0 +1,9 @@
<?php
/**
* @see https://carbon.nesbot.com/docs/#api-localization
*/
return [
'Ymd' => 'YYYY-MM-DD',
'YmdHis' => 'YYYY-MM-DD HH:mm:ss',
'lFdY' => 'dddd, MMMM Do YYYY',
];

View File

@@ -0,0 +1,9 @@
<?php
return [
'applyLabel' => 'Applica',
'cancelLabel' => 'Annulla',
'fromLabel' => 'Da',
'toLabel' => 'A',
'customRangeLabel' => 'Personalizzato',
];

View File

@@ -0,0 +1,13 @@
<?php
return [
'backlink' => 'Torna indietro',
'403' => [
'title' => 'Error 403',
'message' => 'Non sei abilitato ad accedere a questa risorsa.',
],
'404' => [
'title' => 'Error 404',
'message' => 'Pagina non trovata.',
],
];

View File

@@ -0,0 +1,15 @@
<?php
return [
'direction' => 'ltr',
'mainmenu' => 'Menu principale',
'online' => 'Online',
'logout' => 'Logout',
'home' => 'Home',
'dashboard' => 'Dashboard',
'access' => 'Users',
'role_management' => 'Roles',
'user_management' => 'User management',
'logoutconfirm' => 'Sicuro di voler uscire ?',
'rightsres' => 'All rights reserved.',
];

View File

@@ -0,0 +1,37 @@
<?php
return [
'vendor' => 'Log viewer by <a href="https://github.com/ARCANEDEV/LogViewer">Arcanedev</a>',
'menu' => [
'category' => 'Logs',
'stats' => 'Statistiche',
'reports' => 'Reports',
],
'stats' => [
'entries' => ':count entries - :percent %',
],
'list' => [
'title' => 'Elenco Logs',
'actions' => 'Azioni',
'deletequestion' => 'Sicuro di voler cancellare questo file di log ?',
],
'show' => [
'title' => ':date report',
'file' => ':date log',
'backtolist' => 'Elenco logs',
'download' => 'Download',
'delete' => 'Cancella file di log',
'levels' => 'Livelli',
'loginfo' => 'Log info',
'filepath' => 'File path',
'logentries' => 'Log entries',
'size' => 'Dimensione',
'createdat' => 'Created at',
'updatedat' => 'Updated at',
'page' => 'Page :current of :last',
'env' => 'Env',
'level' => 'Level',
'time' => 'Time',
'header' => 'Header',
],
];

View File

@@ -0,0 +1,21 @@
<?php
return [
'hello' => 'Ciao,',
'greeting' => 'Ciao :firstname,',
'salutation' => 'Ciao,<br>:name',
'subcopy' => 'Se hai problemi nel cliccare il botton ":actionText", copia e incolla il seguente url nel tuo browser: [:actionUrl](:actionUrl)',
'copyright' => '&copy; :date :name. All rights reserved.',
'newuser' => [
'subject' => 'Il tuo account è stato creato :name',
'intro' => 'Ricevi questa mail perchè è stato creato utente :name.',
'button' => 'Accedi',
'outro' => 'Al primo login dovrai impostare la tua password',
],
'resetpassword' => [
'subject' => 'Richiesta di reset password',
'intro' => 'Ricevi questa mail perchè è stato richiesto il reset password per il tuo account.',
'button' => 'Reset password',
'outro' => 'Se non hai richiesto il reset della tua password, ignora questa mail.',
],
];

View 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' => '&laquo; Indietro',
'next' => 'Avanti &raquo;',
];

View 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.
|
*/
'reset' => 'La tua password è stata modificata!',
'sent' => 'Ti abbiamo inviato una mail con il link per il reset password!',
'throttled' => 'Attendi qualche istante prima di riprovare.',
'token' => 'Il link di reset password non è valido.',
'user' => 'Non ci sono utenti registrati con questa mail.',
];

View File

@@ -0,0 +1,24 @@
<?php
return [
'categories' => [
'default' => 'Back Office',
'users' => 'Users',
],
'backend_access' => [
'display_name' => 'Access to the back office',
'description' => 'User can access to the administration panel',
],
'users_crud' => [
'display_name' => 'User management',
'description' => 'User can create, delete or modify the users',
],
'roles_crud' => [
'display_name' => 'Role and permissions management',
'description' => 'User can edit and define permissions for a role',
],
'logs' => [
'display_name' => 'Viewing logs',
'description' => 'User can view application logs',
],
];

View File

@@ -0,0 +1,33 @@
<?php
return [
'title' => 'Gestione ruoli',
'role' => 'Ruoli',
'parameters' => 'Parametri',
'label' => 'Etichetta',
'description' => 'Descrizione',
'permissions' => 'Permessi',
'savebutton' => 'Salva',
'successadd' => 'Ruolo aggiunto correttamente',
'successmod' => 'Ruolo modificato correttamente',
'admin' => [
'display_name' => 'Admin',
'description' => 'Admin (tutti i permessi)',
],
'backend_user' => [
'display_name' => 'Backend user',
'description' => 'Utenti con accesso al backend',
],
'create' => [
'title' => 'Aggiungi ruolo',
],
'edit' => [
'title' => 'Modifica ruolo',
],
'list' => [
'title' => 'Elenco ruoli',
'nbusers' => 'Nb users',
'confirmdelete' => 'Sicuro di voler cancellare questo ruolo ?',
'deletesuccess' => 'Ruolo eliminato correttamente',
],
];

View File

@@ -0,0 +1,47 @@
<?php
return [
'title' => 'Users',
'returntolist' => 'Elenco Utenti',
'save' => 'Salva',
'informations' => 'Informazioni',
'status' => 'Stato',
'active' => 'Attivo',
'inactive' => 'Disabilitato',
'lastname' => 'Cognome',
'firstname' => 'Nome',
'email' => 'E-mail',
'roles' => 'Ruolo',
'successadd' => 'Utente aggiunto correttamente.',
'successmod' => 'Utente modificato correttamente.',
'newpassword' => 'La tua password è stata salvata.',
'create' => [
'title' => 'Aggiungi Utente',
'help' => 'L\'utente riceverà una mail di conferma dove dovrà inserire la sua password',
],
'edit' => [
'title' => 'Modifica utente',
],
'list' => [
'title' => 'Lista Utenti',
'id' => 'Id',
'state' => 'Stato',
'lastname' => 'Cognome',
'firstname' => 'Nome',
'email' => 'E-mail',
'roles' => 'Ruolo',
'creationdate' => 'Creato il',
'lastconnect' => 'Ultimo Accesso',
'confirmdelete' => 'Sei sicuro di voler cancellare l\'utente?',
'deletesuccess' => 'Utente cancellato correttamente',
],
'profile' => [
'title' => 'Profilo utente',
'subscribedsince' => 'Registrato dal :date ( :since )',
'avatar' => 'Immagine profilo',
'delavatar' => 'Rimuovi immagine profilo',
'confirmdelavatar' => 'Sicuro di voler rimuovere l\'immagine di profilo ?',
'successdelavatar' => 'Immagine di profilo rimossa',
'successupdate' => 'Profilo aggiornato correttamente',
],
];

View File

@@ -0,0 +1,154 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => ':attribute deve essere accettato.',
'active_url' => ':attribute non è un URL valido.',
'after' => ':attribute deve essere successiva al :date.',
'after_or_equal' => ':attribute deve essere una data uquale o successiva al :date.',
'alpha' => ':attribute deve contenere solo lettere.',
'alpha_dash' => ':attribute deve contenere solo caratteri, numeri o i seguenti caratteri - _',
'alpha_num' => ':attribute deve contenere solo caratteri e numeri.',
'array' => ':attribute deve essere un array.',
'before' => ':attribute deve essere una data prima del :date.',
'before_or_equal' => ':attribute deve essere una data uguale o precendente del :date.',
'between' => [
'numeric' => ':attribute deve essere compreso tra :min e :max.',
'file' => ':attribute deve essere compreso tra :min e :max kilobytes.',
'string' => ':attribute deve essere compreso tra :min e :max characters.',
'array' => ':attribute deve essere compreso tra :min e :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_equals' => 'The :attribute must be a date equal to :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.',
'ends_with' => 'The :attribute must end with one of the following: :values.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'numeric' => 'The :attribute must be greater than :value.',
'file' => 'The :attribute must be greater than :value kilobytes.',
'string' => 'The :attribute must be greater than :value characters.',
'array' => 'The :attribute must have more than :value items.',
],
'gte' => [
'numeric' => 'The :attribute must be greater than or equal :value.',
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
'string' => 'The :attribute must be greater than or equal :value characters.',
'array' => 'The :attribute must have :value items or more.',
],
'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.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.',
'lt' => [
'numeric' => 'The :attribute must be less than :value.',
'file' => 'The :attribute must be less than :value kilobytes.',
'string' => 'The :attribute must be less than :value characters.',
'array' => 'The :attribute must have less than :value items.',
],
'lte' => [
'numeric' => 'The :attribute must be less than or equal :value.',
'file' => 'The :attribute must be less than or equal :value kilobytes.',
'string' => 'The :attribute must be less than or equal :value characters.',
'array' => 'The :attribute must not have more than :value items.',
],
'max' => [
'numeric' => 'The :attribute must not be greater than :max.',
'file' => 'The :attribute must not be greater than :max kilobytes.',
'string' => 'The :attribute must not be greater than :max characters.',
'array' => 'The :attribute must not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => '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.',
],
'multiple_of' => 'The :attribute must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'password' => 'The password is incorrect.',
'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 are 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.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'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.',
],
'starts_with' => 'The :attribute must start with one of the following: :values.',
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'url' => 'The :attribute format is invalid.',
'uuid' => 'The :attribute must be a valid UUID.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];