344 lines
17 KiB
PHP
344 lines
17 KiB
PHP
<?php
|
|
// Copyright 1999-2024. WebPros International GmbH. All rights reserved.
|
|
|
|
$messages = [
|
|
'__perm_denied' => 'Permission denied',
|
|
'app' => [
|
|
'Home' => [
|
|
'title' => 'Laravel Toolkit',
|
|
],
|
|
'Domain' => [
|
|
'title' => 'Laravel Toolkit',
|
|
],
|
|
'InstallDrawer' => [
|
|
'title' => 'Install Application',
|
|
'chooseDomain' => 'Choose domain:',
|
|
'install' => 'Install Application',
|
|
'repository' => 'Repository:',
|
|
'sshPublicKey' => 'SSH public key:',
|
|
'sshPublicKeyHint' => 'The public part of the SSH key. To authenticate with the remote repository, add the public SSH key to your Git server.',
|
|
'publicKeyCopied' => 'Public key has been copied to the clipboard',
|
|
'fieldRequiredError' => 'This required field is empty.',
|
|
],
|
|
'InstallTypeSelector' => [
|
|
'type.skeleton.description' => 'Laravel skeleton will be installed. A local Git repository will be created.',
|
|
'type.skeleton.title' => 'Install Skeleton',
|
|
'type.remote.description' => 'Your Laravel code is hosted online (a cloud service like GitHub, GitLab, or Bitbucket, or your own server).',
|
|
'type.remote.title' => 'Install from remote repository',
|
|
],
|
|
'CopyBlock' => [
|
|
'copyClipboard' => 'Copy to clipboard',
|
|
],
|
|
'ApplicationsList' => [
|
|
'installButton' => 'Install Application',
|
|
'scanButton' => 'Scan',
|
|
'scanButtonTooltip' => "Scan for existing applications.",
|
|
'searchPlaceholder' => 'Find domain...',
|
|
'emptyListTitle' => 'No Laravel site yet?.. No problem!',
|
|
'emptyListDescription' => 'Install a Laravel application from a Git repository or scan for existing applications.<br>For applications to be discovered, their `public` directory must be set as the website document root and the `artisan` file must be located in the parent directory.',
|
|
],
|
|
'ApplicationCard' => [
|
|
'learnMore' => 'Learn more',
|
|
'title' => 'Laravel application for %%domain%%',
|
|
'imgPreview' => '%%domain%% preview',
|
|
'tabDashboard' => 'Dashboard',
|
|
'tabArtisan' => 'Artisan',
|
|
'tabComposer' => 'Composer',
|
|
'tabDeployment' => 'Deployment',
|
|
'tabNodejs' => 'Node.js',
|
|
'sectionApplicationInfo' => 'Application Info',
|
|
'applicationName' => 'Name',
|
|
'domainUrl' => 'URL',
|
|
'sectionDeploymentInfo' => 'Deployment Info',
|
|
'repository' => 'Repository',
|
|
'hookUrl' => 'Webhook URL',
|
|
'lastCommit' => 'Last commit',
|
|
'envEdit' => 'Edit',
|
|
'terminal' => 'Terminal',
|
|
'openTerminal' => 'Open SSH Terminal',
|
|
'executingCommand' => 'executing...',
|
|
'sectionConfiguration' => 'Settings',
|
|
'envConfiguration' => 'Environment variables (.env)',
|
|
'sectionSSH' => 'SSH Terminal',
|
|
'sectionManage' => 'Manage',
|
|
'buttonDeploy' => 'Deploy',
|
|
'buttonDeployHint' => 'Deploy files to the production site.',
|
|
'repositoryCopied' => 'Repository URL has been copied to the clipboard.',
|
|
'hookUrlCopied' => 'Webhook URL has been copied to the clipboard.',
|
|
'hookDescription' => 'Specify this URL in the repository settings of the remote service.',
|
|
'domainLink' => 'Domain',
|
|
'domainManage' => 'Manage domain',
|
|
'deploymentScript' => 'Deployment script',
|
|
'deploymentScriptEdit' => 'Edit script',
|
|
'deploymentScriptDisabledHint' => 'Enable SSH access to the server to edit the deployment script.',
|
|
'logBrowser' => 'Logs',
|
|
'ScheduleTab' => [
|
|
'name' => 'Scheduled Tasks',
|
|
'intervalDescription' => 'Show schedule details for %%interval%%',
|
|
'table' => [
|
|
'command' => 'Command',
|
|
'description' => 'Description',
|
|
'interval' => 'Interval',
|
|
'next' => 'Next Due',
|
|
'emptyViewTitle' => 'There seem to be no scheduled tasks here',
|
|
'emptyLinkTitle' => 'Learn how to add one',
|
|
],
|
|
'switchDisabledWarning' => 'Scheduled tasks are disabled.',
|
|
'requiredSshAccess' => 'Enabling scheduled tasks requires SSH access to the server. Enable it in "Web Hosting Access".',
|
|
'requiredSchedulePermission' => 'Enabling scheduled tasks requires the "Scheduler management" permission. Enable it in subscription settings.',
|
|
],
|
|
'scheduledTasks' => 'Scheduled Tasks',
|
|
'scheduleEnabled' => 'Scheduled Tasks enabled',
|
|
'scheduleDisabled' => 'Scheduled Tasks disabled',
|
|
'scheduledSwitchEnabled' => 'Enabled',
|
|
'scheduledSwitchDisabled' => 'Disabled',
|
|
'MaintenanceMode' => [
|
|
'label' => 'Maintenance mode',
|
|
'disableTooltip' => 'Take your application out of maintenance mode. Website visitors will see the live application.',
|
|
'enableTooltip' => 'Put your application in maintenance mode. Website visitors will see a page showing a "503 SERVICE UNAVAILABLE" error',
|
|
'enabledMessage' => 'Application is now in maintenance mode.',
|
|
'disabledMessage' => 'Application is now live.',
|
|
'switchEnabled' => 'Enabled',
|
|
'switchDisabled' => 'Disabled',
|
|
],
|
|
'DeploymentMode' => [
|
|
'title' => 'Deployment mode',
|
|
'auto' => 'Automatic',
|
|
'manual' => 'Manual',
|
|
'description' => 'The way files are deployed to the production site.',
|
|
'Tooltip' => [
|
|
'auto' => 'Files will be deployed to the production site on a push to the \'master\' branch of the local repository. If using a remote repository, set up a webhook for automatic deployment.',
|
|
'manual' =>
|
|
'Files have to be manually deployed to the production site.',
|
|
]
|
|
],
|
|
'QueueWorkerSwitch' => [
|
|
'label' => 'Queue',
|
|
'enabled' => 'Enabled',
|
|
'disabled' => 'Disabled',
|
|
'enabledMessage' => 'Queue worker enabled',
|
|
'disabledMessage' => 'Queue worker disabled',
|
|
'requirementTooltip' => 'To enable the queue worker support, turn on Scheduled Tasks and install the Plesk Laravel Toolkit integration package.',
|
|
'enableTooltip' => 'Enable the queue worker.',
|
|
'disableTooltip' => 'Disable the queue worker.',
|
|
],
|
|
'QueueTab' => [
|
|
'title' => 'Queue',
|
|
"StopWhenEmpty" => [
|
|
'label' => "Stop Worker When Empty",
|
|
'description' => "This option instructs the queue worker to process all jobs and then exit gracefully.",
|
|
],
|
|
"Timeout" => [
|
|
'label' => "Timeout",
|
|
'description' => "This option sets the maximum number of seconds the queue worker can run jobs. 0 is unlimited.",
|
|
],
|
|
"MaxJobs" => [
|
|
'label' => "Max Jobs",
|
|
'description' => "This option instructs the queue worker to process the given number of jobs and then exit. 0 is unlimited.",
|
|
],
|
|
"MaxTime" => [
|
|
'label' => "Max Time",
|
|
'description' => "This option instructs the queue worker to process jobs for the given number of seconds and then exit. 0 is unlimited.",
|
|
],
|
|
'drawerTitle' => 'Failed jobs',
|
|
'failedJobsButton' => 'Show failed jobs',
|
|
'failedList' => [
|
|
'date' => 'Date',
|
|
'uuid' => 'UUID',
|
|
'connection' => 'Connection',
|
|
'queue' => 'Queue',
|
|
'job' => 'Job',
|
|
'retry' => 'Retry',
|
|
'delete' => 'Delete',
|
|
'flush' => 'Flush',
|
|
'retryAskConfirm' => 'Are you sure?',
|
|
'retryConfirmAnswer' => 'Yes, retry',
|
|
'retryTooltip' => 'Retry selected job(s) by execution of "php artisan queue:retry" command.',
|
|
'deleteAskConfirm' => 'Are you sure?',
|
|
'deleteConfirmAnswer' => 'Yes, delete',
|
|
'deleteTooltip' => 'Delete selected failed job(s) by execution of "php artisan queue:forget" command.',
|
|
'flushAskConfirm' => 'Are you sure?',
|
|
'flushConfirmAnswer' => 'Yes, flush',
|
|
'flushTooltip' => 'Delete all failed jobs from the failed_jobs table by execution of "php artisan queue:flush" command.',
|
|
],
|
|
'emptyFailedJobListTitle' => 'There are no failed jobs',
|
|
],
|
|
],
|
|
'EnvDrawer' => [
|
|
'title' => 'Edit .env',
|
|
'update' => 'Update',
|
|
'confirm' => 'Discard',
|
|
'confirmReason' => 'Unsaved Changes',
|
|
'confirmAsk' => 'Discard unsaved changes?'
|
|
],
|
|
'DeploymentScenarios' => [
|
|
'title' => 'Deployment steps',
|
|
'enable_maintenance_mode' => '1. Enable maintenance mode',
|
|
'fetch_source_code' => '2. Fetch source code',
|
|
'deploy_source_code' => '3. Deploy source code from Git',
|
|
'install_composer_dependencies' => '4. Install %%item%% dependencies',
|
|
'install_package_dependencies' => '5. Install %%item%% dependencies',
|
|
'execute_additional_actions' => '6. Run deployment script',
|
|
'disable_maintenance_mode' => '7. Disable maintenance mode',
|
|
],
|
|
'DeploymentScriptDrawer' => [
|
|
'title' => 'Edit deployment script',
|
|
'update' => 'Update',
|
|
'confirm' => 'Discard',
|
|
'confirmReason' => 'Unsaved Changes',
|
|
'confirmAsk' => 'Discard unsaved changes?'
|
|
],
|
|
'NodeJsCommandLine' => [
|
|
'notSupported' => 'Cannot manage Node.js parameters. The Node.js extension is outdated or not installed.',
|
|
'installExtension' => 'Click here to install the extension.',
|
|
'askToInstallExtension' => 'Ask the Plesk administrator to install the "Node.js" extension to enable this functionality.',
|
|
'installButton' => 'Install',
|
|
'notRecommend' => 'not recommended',
|
|
'versionNotInstalled' => 'NodeJs version is not installed',
|
|
'unavailable' => 'Unavailable',
|
|
],
|
|
'CommandLine' => [
|
|
'executeButton' => 'Execute command',
|
|
],
|
|
],
|
|
'forms' => [
|
|
'applicationWizard' => [
|
|
'title' => 'Laravel',
|
|
'description' => 'Create a new website by installing a Laravel application',
|
|
],
|
|
],
|
|
'LaravelDeployRemoteTask' => [
|
|
'running' => 'Deploying project...',
|
|
'done' => 'Project deployed',
|
|
'redirectTitle' => 'View it',
|
|
],
|
|
'LaravelDeploySkeletonTask' => [
|
|
'running' => 'Deploying project...',
|
|
'done' => 'Project deployed',
|
|
'redirectTitle' => 'View it',
|
|
],
|
|
'LaravelScanTask' => [
|
|
'running' => 'Looking for Laravel applications',
|
|
'done' => 'Attached %%count%% application(s)',
|
|
'doneWithErrors' => 'Attached %%count%% application(s). Could not attach other applications because of the following errors: %%errors%%',
|
|
'redirectTitle' => 'View it',
|
|
],
|
|
'permissionDenied' => 'permission denied',
|
|
'missingRepositoryForDomain' => 'Failed to get repository information for the domain "%%domainName%%"',
|
|
'fileDoesntExist' => 'The file "%%filename%%" does not exist',
|
|
'failedEnableSchedule' => 'Failed to enable scheduled tasks',
|
|
'failedDisableSchedule' => 'Failed to disable scheduled tasks',
|
|
'laravelDoesNotSupportListCommand' => 'Your version of Laravel Framework does not support the scheduled tasks list view command.',
|
|
'laravelService' => [
|
|
'keyGenerateError' => 'keyGenerateError',
|
|
'gitCheckWarning' => 'To access the private repository, update the Git extension to version %%version%% or later',
|
|
'notInstalled' => '%%service%% extension is not installed',
|
|
'notActive' => '%%service%% extension is not active',
|
|
'phpMinVersionWarning' => 'Warning: To have Laravel Toolkit work properly, select PHP version %%min_version%% or later',
|
|
],
|
|
'gitService' => [
|
|
'deployError' => 'The Git extension error occurred',
|
|
'updateError' => 'Failed to update the Git repository',
|
|
'publicKeyError' => 'Failed to clone the Git repository. Make sure you have added the public key to your Git server and allowed read access to the repository.',
|
|
],
|
|
'composerService' => [
|
|
'registerError' => 'Failed to register the application',
|
|
'listError' => 'Failed to get the list of applications',
|
|
'appInstallError' => 'Failed to install the applications'
|
|
],
|
|
'nodeService' => [
|
|
'versionCheckFailed' => 'To use Node.js functionality, install the Node.js extension version %%version%% or later',
|
|
'noHandlersPresent' => 'No available Node.js handlers are present on the server',
|
|
'selectError' => 'Cannot select unregistered Node.js version %%nodeVersion%%',
|
|
],
|
|
'GitCreateStep' => [
|
|
'title' => 'Creating a Git repository',
|
|
],
|
|
'GitCommitStep' => [
|
|
'title' => 'Committing to the Git repository',
|
|
],
|
|
'GitDeployStep' => [
|
|
'title' => 'Cloning the Git repository'
|
|
],
|
|
'ActivateMaintenanceModeStep' => [
|
|
'title' => 'Switching the application to maintenance mode',
|
|
],
|
|
'RestartQueueWorkerStep' => [
|
|
'title' => 'Sending a command to restart a queue worker',
|
|
],
|
|
'ComposerInstallStep' => [
|
|
'noAppId' => 'Failed to get the application ID',
|
|
'title' => 'Installing Composer dependencies'
|
|
],
|
|
'NodeJsDependenciesInstallStep' => [
|
|
'title' => 'Installing Node.js dependencies'
|
|
],
|
|
'FinalUpdateStep' => [
|
|
'title' => 'Completing the update'
|
|
],
|
|
'DeactivateMaintenanceModeStep' => [
|
|
'title' => 'Switching the application to normal mode',
|
|
],
|
|
'ComposerCreateProjectStep' => [
|
|
'title' => 'Creating Laravel skeleton',
|
|
],
|
|
'HostingSettingsStep' => [
|
|
'title' => 'Configuring hosting settings'
|
|
],
|
|
'PhpEnvConfigurationStep' => [
|
|
'title' => 'Configuring PHP environment'
|
|
],
|
|
'LaravelStartStep' => [
|
|
'title' => 'Configuring Laravel application'
|
|
],
|
|
'ScanStep' => [
|
|
'title' => 'Scanning webspace files'
|
|
],
|
|
'GitAttachStep' => [
|
|
'title' => 'Attaching to Git'
|
|
],
|
|
'ComposerAttachStep' => [
|
|
'title' => 'Attaching to PHP Composer'
|
|
],
|
|
'LaravelAttachStep' => [
|
|
'title' => 'Attaching to Laravel Toolkit'
|
|
],
|
|
'NodeInitStep' => [
|
|
'title' => 'Preparing Node.js environment',
|
|
],
|
|
'customButton' => [
|
|
'sidebar' => [
|
|
'title' => 'Laravel',
|
|
'description' => 'Manage all available Laravel websites',
|
|
],
|
|
'domainCard' => [
|
|
'installApplication' => 'Install Laravel Application',
|
|
'manageApplication' => 'Laravel',
|
|
]
|
|
],
|
|
'GitUpdateStep' => [
|
|
'title' => 'Pulling updates from a Git repository'
|
|
],
|
|
'InstallNodeExtensionTask' => [
|
|
'running' => 'Preparing required extensions for Node.js support',
|
|
'done' => 'The Node.js feature is ready to use',
|
|
],
|
|
'NodeInstallExtensionStep' => [
|
|
'title' => 'Installing required extension %%extension%%',
|
|
'extensionVersionTooLow' => 'The installed version of the extension \'%%extension%%\' must be \'%%requiredVersion%%\' or later. The currently installed version is \'%%installedVersion%%\'.',
|
|
'noProperVersionFound' => 'Could not install the required extension from the Extension Catalog: %%error%%.',
|
|
],
|
|
'deploymentActionModifier' => [
|
|
'noCompatibleNode' => 'Could not find a Node.js interpreter compatible with the version %%version%% configured in Laravel Toolkit for this application',
|
|
],
|
|
'permissions' => [
|
|
'manage_laravel_toolkit' => 'Access to Laravel Toolkit',
|
|
'manage_laravel_toolkit_hint' => 'Provides full access to Laravel Toolkit.'
|
|
],
|
|
'common' => [
|
|
'error' => [
|
|
'noPhpSupportOnDomain' => 'The domain \'%%domainName%%\' does not have PHP support. <a href="%%domainHref%%">Please enable PHP for domain</a>',
|
|
],
|
|
],
|
|
];
|