Files
server/opt/psa/admin/plib/modules/nodejs/resources/locales/en-US.php
2026-01-07 20:52:11 +01:00

285 lines
13 KiB
PHP

<?php
// Copyright 1999-2024. WebPros International GmbH. All rights reserved.
$messages = [
'activeList' => [
'button' => [
'title' => 'Node.js',
'description' => 'Manage Node.js for this website.',
'enabled' => 'Node.js version: %%version%%',
],
'service' => [
'version' => 'Node.js version: %%version%%',
'mode' => 'mode: %%mode%%',
'restartButton' => 'Restart App',
],
],
'application' => [
'unsupportedPkgManager' => "Unsupported package manager '%%pkgManager%%'",
],
'controllers' => [
'index' => [
'index' => [
'title' => 'Node.js Manager',
],
],
'domain' => [
'index' => [
'title' => 'Node.js',
'titleForObject' => 'Node.js on %%name%%',
'noStartupFileHint' => 'Node.js is enabled on this domain. But the startup file %%file%% is not found.',
'enableButton' => 'Enable Node.js',
'enableButtonDescription' => 'Enable Node.js on this domain.',
'restartButton' => 'Restart App',
'restartButtonDescription' => 'Restart your Node.js application.',
'npmInstallButton' => 'NPM install',
'yarnInstallButton' => 'Yarn install',
'installButtonDescription' => 'Install the package(s) listed in the \'package.json\' file.',
'runScriptButton' => 'Run script',
'runScriptButtonDescription' => 'Run a command specified in the \'Scripts\' section of the \'package.json\' file.',
'disableButton' => 'Disable Node.js',
'disableButtonDescription' => 'Disable Node.js on this domain.',
'openFileManagerButton' => 'File Manager',
'openFileManagerButtonDescription' => 'Open the file manager to view and edit your files.',
'version' => 'Node.js Version',
'versionPopupTitle' => 'Node.js Version of this Application',
'versionPopupDescription' => 'Select the version of Node.js for this application:',
'environment' => 'Custom environment variables',
'environmentEdit' => 'specify',
'documentRoot' => 'Document Root',
'documentRootMatchesApplicationRootWarning' => 'It is recommended to set the document root to a subdirectory of the application root (such as public/) due to security considerations.',
'documentRootNotInApplicationRootWarning' => 'Application will not work because document root is not a subchild of application root',
'applicationMode' => 'Application Mode',
'applicationModePopupTitle' => 'Application Mode',
'applicationModePopupDescription' => 'Select the mode of the Node.js application:',
'applicationUrl' => 'Application URL',
'applicationPath' => 'Application Root',
'applicationPathOpen' => 'open',
'applicationStartupFileEdit' => 'edit',
'applicationPathPopupTitle' => 'Application Root',
'applicationPathPopupDescription' => 'Select the root of the Node.js application:',
'applicationStartupFile' => 'Application Startup File',
'applicationStartupFilePopupTitle' => 'Application Startup File',
'applicationStartupFilePopupDescription' => 'Change the startup file of the Node.js application:',
'applicationStartupFileNotExist' => 'The file does not exist',
'packageManager' => 'Package Manager',
'pkgManagerPopupTitle' => 'Package Manager',
'pkgManagerPopupDescription' => 'Select the package manager for this application:',
'packageManagerNotSpecified' => 'This is what we detected, you can change it',
'configurationFilesTitle' => 'Access to Configuration Files',
'configurationFilesDescription' => 'Click a file name to edit:',
'documentRootPopupTitle' => 'Document Root',
'documentRootPopupDescription' => 'Select the root directory of the website:',
'rootDirectoryTitle' => 'Root directory',
'pleaseWait' => 'Please wait...',
],
'enable' => [
'success' => 'Node.js was enabled on %%domain%%.',
],
'restart' => [
'success' => 'Application will be restarted after the first request.',
],
'disable' => [
'success' => 'Node.js was disabled on %%domain%%.',
],
'change-version' => [
'success' => 'Node.js version was successfully updated.',
],
'change-application-mode' => [
'success' => 'Application mode was successfully updated.',
'failed' => 'The application mode "%%value%%" is invalid.',
],
'change-package-manager' => [
'success' => 'Package manager was successfully changed.',
'failed' => 'Failed to change package manager: %%message%%.',
],
'change-application-path' => [
'success' => 'Application path was successfully updated.',
'failed' => 'The path %%path%% is invalid.',
],
'application-path-in-use' => [
'title' => 'Another Node.js application in the subscription already uses this application root. Specify another application root that contains the document root.',
],
'change-document-root' => [
'success' => 'Document root was successfully updated.',
'failed' => 'Unable to change document root: %%cause%%',
],
'change-application-startup-file' => [
'success' => 'Application startup file was successfully updated.',
'failed' => 'The file name %%file%% is invalid.',
],
'environment' => [
'title' => 'Edit custom environment variables',
'failed' => "The json-representation of personal environment variable '%%var%%' should not exceed 255 characters.",
'success' => 'Custom environment variables were updated.',
],
'dashboard' =>
[
'title' => 'Dashboard',
],
'command-line' =>
[
'title' => 'Run Node.js commands',
],
],
],
'permissions' => [
'supportManagement' => 'Node.js support management',
'supportManagementDescription' => 'Allow customers to use Node.js',
'stateManagement' => 'Node.js state management',
'stateManagementDescription' => 'Allow customers to change Node.js state',
'versionManagement' => 'Node.js version management',
'versionManagementDescription' => 'Allow customers to change Node.js version',
],
'components' => [
'buttons' => [
'ok' => 'OK',
'cancel' => 'Cancel',
],
'forms' => [
'environment' => [
'variables' => 'Custom Environment Variables',
'variableName' => 'Variable',
'variableValue' => 'Value',
'addButton' => 'Add variable',
'removeButton' => 'Remove',
],
],
'command-line' => [
'executeCommandTooltip' => 'Execute command',
'commandInputDescription' => 'Enter Node.js command to execute',
'selectNodeVersion' => 'Select Node.js version',
'selectPackageManager' => 'Select package manager',
],
'icons' => [
'warning' => 'Warning',
],
'links' => [
'opensInNewTab' => 'opens in new tab',
],
'editableSelect' => [
'toggleDropdown' => 'Toggle dropdown options',
],
'run-script-popup' => [
'title' => 'Run script',
'options' => 'Script name and parameters',
'optionsDescription' => 'Examples:%%examples%%',
'optionsInputLabel' => 'Script options',
'output' => 'Output',
'run' => 'Run',
'pleaseWait' => 'Please wait',
],
'lists' => [
'handlers' => [
'refreshButton' => 'Refresh',
'refreshButtonDescription' => 'Refresh the list of Node.js handlers',
'version' => 'Version',
'path' => 'Path',
'domains' => 'Domains',
'enableVersion' => 'Enable Node.js version %%version%%',
'disableVersion' => 'Disable Node.js version %%version%%',
'versionInstallation' => [
'install' => 'Install',
'installing' => 'Installing...',
'installTooltip' => 'Install Node.js version %%version%%',
'uninstall' => 'Uninstall',
'uninstalling' => 'Uninstalling...',
'uninstallTooltip' => 'Uninstall Node.js version %%version%%',
'uninstallBlockadeReasons' => [
'domains' => 'Cannot uninstall version because it is used by %%count%% domain(s).',
'enabled' => 'Cannot uninstall version because it is enabled.',
]
]
],
],
'tasks' => [
'npm-install' => [
'title' => 'NPM install',
],
'yarn-install' => [
'title' => 'Yarn install',
],
'step-install-title' => 'Installing the application dependencies.',
],
],
'api' => [
'common' => [
'permissionDenied' => 'Permission denied',
'domainDoesNotHaveHosting' => 'The domain "%%domain%%" does not have physical hosting.',
'commandNotFound' => 'The command "%%command%%" was not found.',
'handlerNotFound' => 'The Node.js version "%%version%%" was not found.',
'noHandlerOnDomain' => 'At least one Node.js version should be enabled for the domain.',
'disabledOnDomain' => 'Node.js support is disabled on the domain.',
'versionIsEmpty' => 'The version is empty.',
],
'cli' => [
'versions' => [
'enabled' => 'Enabled',
'version' => 'Version',
'path' => 'Path',
'empty' => 'No versions of Node.js found.',
],
'enable' => [
'success' => 'The Node.js version "%%version%%" was enabled.',
],
'disable' => [
'success' => 'The Node.js version "%%version%%" was disabled.',
],
'enableOnDomain' => [
'success' => 'Node.js on the domain "%%domain%%" was enabled.',
],
'disableOnDomain' => [
'success' => 'Node.js on the domain "%%domain%%" was disabled.',
],
'setVersion' => [
'success' => 'The Node.js version on the domain "%%domain%%" was changed to "%%version%%".',
],
'install' => [
'success' => 'The Node.js version "%%version%%" was installed.',
],
'uninstall' => [
'success' => 'The Node.js version "%%version%%" was uninstalled.',
],
],
],
'cli' => [
'commands' => [
'versions' => 'Display the list of Node.js versions.',
'enable' => 'Enable Node.js version or enable Node.js support on a domain.',
'disable' => 'Disable Node.js version or disable Node.js support on a domain.',
'set-version' => 'Set Node.js version on a domain.',
'get-version' => 'Show Node.js version on a domain.',
'install' => 'Install Node.js version.',
'uninstall' => 'Uninstall Node.js version.',
],
'options' => [
'domain' => 'Domain name (use with the "enable", "disable", and "get-version" commands).',
'version' => 'Node.js version (use with the "enable", "disable", "set-version", "install", and "uninstall" commands).',
],
],
'forms' => [
'applicationWizard' => [
'title' => 'Node.js application',
'description' => 'Enable Node.js on your domain',
],
'installApplication' => [
'title' => 'Node.js',
'description' => 'Enable Node.js on your domain',
],
],
];