[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' => 'Last name',
'first_name' => 'First name',
'email' => 'E-mail',
'password' => 'Password',
'password_confirm' => 'Password confirmation',
],
'password' => [
'title' => 'Forgotten password',
'intro' => 'Enter the following field to reset your password',
'submit' => 'Send reset link',
'login_link' => 'Sign in with an existing user',
],
'password_reset' => [
'title' => 'Password reset',
'intro' => 'Enter the following fields to reset your password',
'submit' => 'Reset',
],
'register' => [
'title' => 'Register a new user',
'intro' => 'Enter the following fields to create a new user',
'register_button' => 'Register',
'login_link' => 'Sign in with an existing user',
],
'login' => [
'title' => 'Login',
'intro' => 'Sign in to start your session',
'rememberme' => 'Remember me',
'signin' => 'Sign in',
'forgotpassword' => 'I forgot my password',
'register' => 'Register a new user',
],
'firstlogin' => [
'title' => 'First login',
'intro' => 'This is your first login, please enter a password to activate your account.',
'button' => 'Login',
],
];

View File

@@ -0,0 +1,13 @@
<?php
return [
'delete' => 'Avatar has been deleted',
'gravatar' => [
'success' => 'Avatar has been successfully imported',
'error' => 'No avatar has been found for this user',
],
'upload' => [
'success' => 'File successfully uploaded',
'error' => 'Upload error',
],
];

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' => 'Apply',
'cancelLabel' => 'Cancel',
'fromLabel' => 'From',
'toLabel' => 'To',
'customRangeLabel' => 'Custom',
];

View File

@@ -0,0 +1,13 @@
<?php
return [
'backlink' => 'Go back to the previous page',
'403' => [
'title' => 'Error 403',
'message' => 'You are not allowed to access to this page.',
],
'404' => [
'title' => 'Error 404',
'message' => 'Page or document not found.',
],
];

View File

@@ -0,0 +1,15 @@
<?php
return [
'direction' => 'ltr',
'mainmenu' => 'Main menu',
'online' => 'Online',
'logout' => 'Logout',
'home' => 'Home',
'dashboard' => 'Dashboard',
'access' => 'Users',
'role_management' => 'Roles',
'user_management' => 'User management',
'logoutconfirm' => 'Are you sure you want to logout ?',
'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' => 'Statistics',
'reports' => 'Reports',
],
'stats' => [
'entries' => ':count entries - :percent %',
],
'list' => [
'title' => 'Logs list',
'actions' => 'Actions',
'deletequestion' => 'Are you sure you want to delete this log file ?',
],
'show' => [
'title' => ':date report',
'file' => ':date log',
'backtolist' => 'List of logs',
'download' => 'Download',
'delete' => 'Delete log file',
'levels' => 'Levels',
'loginfo' => 'Log info',
'filepath' => 'File path',
'logentries' => 'Log entries',
'size' => 'Size',
'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' => 'Hello,',
'greeting' => 'Hello :firstname,',
'salutation' => 'Regards,<br>:name',
'subcopy' => 'If youre having trouble clicking the ":actionText" button, copy and paste the URL below into your web browser: [:actionUrl](:actionUrl)',
'copyright' => '&copy; :date :name. All rights reserved.',
'newuser' => [
'subject' => 'Your account has been created on :name',
'intro' => 'Your receive this e-mail because an account has been created for you on :name.',
'button' => 'Sign in',
'outro' => 'On your first login you will be invited to set your password',
],
'resetpassword' => [
'subject' => 'Password reset request',
'intro' => 'You are receiving this email because we received a password reset request for your account.',
'button' => 'Reset password',
'outro' => 'If you did not request a password reset, no further action is required.',
],
];

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' => 'Role management',
'role' => 'Role',
'parameters' => 'Parameters',
'label' => 'Label',
'description' => 'Description',
'permissions' => 'Permissions',
'savebutton' => 'Save',
'successadd' => 'The role has been correctly added',
'successmod' => 'The role has been correctly modified',
'admin' => [
'display_name' => 'Admin',
'description' => 'Admin (all permissions)',
],
'backend_user' => [
'display_name' => 'Backend user',
'description' => 'Users with backend access',
],
'create' => [
'title' => 'Add a role',
],
'edit' => [
'title' => 'Edit a role',
],
'list' => [
'title' => 'Role list',
'nbusers' => 'Nb users',
'confirmdelete' => 'Do you confirm that you want to delete this role ?',
'deletesuccess' => 'The role has been correctly deleted',
],
];

View File

@@ -0,0 +1,47 @@
<?php
return [
'title' => 'Users',
'returntolist' => 'Users list',
'save' => 'Save',
'informations' => 'Informations',
'status' => 'Status',
'active' => 'Enabled',
'inactive' => 'Disabled',
'lastname' => 'Last name',
'firstname' => 'First name',
'email' => 'E-mail',
'roles' => 'Role',
'successadd' => 'The user has been correctly added.',
'successmod' => 'The user has been correctly modified.',
'newpassword' => 'Your password has been saved.',
'create' => [
'title' => 'Add a user',
'help' => 'The user will receive an invitation by e-mail to login in which it will allow him to enter his new password',
],
'edit' => [
'title' => 'Edit a user',
],
'list' => [
'title' => 'User list',
'id' => 'Id',
'state' => 'Status',
'lastname' => 'Last name',
'firstname' => 'First name',
'email' => 'E-mail',
'roles' => 'Role',
'creationdate' => 'Creation date',
'lastconnect' => 'Last log',
'confirmdelete' => 'Do you confirm that you want to delete this user ?',
'deletesuccess' => 'The user has been correctly deleted',
],
'profile' => [
'title' => 'Your profile',
'subscribedsince' => 'Member since :date ( :since )',
'avatar' => 'Profile image',
'delavatar' => 'Remove the profile image',
'confirmdelavatar' => 'Remove the profile image ?',
'successdelavatar' => 'Profile image has been removed',
'successupdate' => 'The profile has been correctly updated',
],
];