LinkStack/resources/lang/vendor/env-editor/en/env-editor.php
Julian Prieber 89d54492fd Added option to set profile as homepage
The homepage can now be changed to a user's profile page with the option "HOME_URL" in the config (found on the Admin Panel under Admin>Config).

This commit is a bit janky, I wanted to change the homepage with a setting saved in the database, but I couldn't finish this in time, so this has to do for now.

An if statement in the web routes PHP checks if the new setting is present in the config and changes the homepage to the listed LittleLink Custom name. If the homage  is changed, the page previously set as the homepage where users can register and or login can now be found at .../home.
2022-03-24 14:44:33 +01:00

93 lines
4.1 KiB
PHP

<?php
return [
'menuTitle' => '.env Editor',
'controllerMessages' => [
'backupWasCreated' => 'A new backup was created',
'fileWasRestored' => 'The backup file ":name", was restored as default .env',
'fileWasDeleted' => 'The backup file ":name", was deleted',
'currentEnvWasReplacedByTheUploadedFile' => 'File was uploaded and become the new .env file',
'uploadedFileSavedAsBackup' => 'File was uploaded as backup with the name ":name"',
'keyWasAdded' => 'Key ":name" was added',
'keyWasEdited' => 'Key ":name" has ben updated',
'keyWasDeleted' => 'Key ":name" was Deleted',
],
'views' => [
'tabTitles' => [
'upload' => 'Upload',
'backup' => 'Backups',
'currentEnv' => 'Current .env',
],
'currentEnv' => [
'title' => '
To be able to save values you see here PHP needs to be able to write to your current directory.
Strings with a # in front of them are comments and wont affect anything.
',
'tableTitles' => [
'key' => 'Key',
'value' => 'Value',
'actions' => 'Actions',
],
'btn' => [
'edit' => 'Edit File',
'delete' => 'Delete Key',
'addAfterKey' => 'Add new key after this key',
'addNewKey' => 'Add New key',
'deleteConfigCache' => 'Clear config cache',
'deleteConfigCacheDesc' => 'On production environments changed values may not applied immediately cause of cached config. So you may try to un-cache it',
],
'modal' => [
'title' => [
'new' => 'New Key',
'edit' => 'Edit Key',
'delete' => 'Delete Key',
],
'input' => [
'key' => 'Key',
'value' => 'Value',
],
'btn' => [
'close' => 'Close',
'new' => 'Add Key',
'edit' => 'Update Key',
'delete' => 'Delete Key',
],
],
],
'upload' => [
'title' => 'Here You can upload a new ".env" file as a backup or to replace the current ".env"',
'selectFilePrompt' => 'Select File',
'btn' => [
'clearFile' => 'Cancel',
'uploadAsBackup' => 'Upload as backup',
'uploadAndReplace' => 'Upload and replace current .env',
],
],
'backup' => [
'title' => 'Here you can see a list of saved backup files (if you have), you can create a new one, or download the .env file',
'tableTitles' => [
'filename' => 'File Name',
'created_at' => 'Creation Date',
'actions' => 'Actions',
],
'noBackUpItems' => 'There are no backups on your chosen directory. <br> You can make your first backup by pressing the "Get a new BackUp" button',
'btn' => [
'backUpCurrentEnv' => 'Get a new BackUp',
'downloadCurrentEnv' => 'Download current .env',
'download' => 'Download File',
'delete' => 'Delete File',
'restore' => 'Restore File',
'viewContent' => 'View file Contents',
],
],
],
'exceptions' => [
'fileNotExists' => 'File ":name" does not Exists !!!',
'keyAlreadyExists' => 'Key ":name" already Exists !!!',
'keyNotExists' => 'Key ":name" does not Exists !!!',
'provideFileName' => 'You have to provide a FileName !!!',
],
];