199 lines
7.8 KiB
PHP
199 lines
7.8 KiB
PHP
<?php
|
|
// Copyright 1999-2017. Parallels IP Holdings GmbH. All Rights Reserved.
|
|
|
|
$messages = [
|
|
'activeList' => [
|
|
'button' => [
|
|
'title' => 'Ruby',
|
|
'description' => 'Manage Ruby for this website.',
|
|
'enabled' => 'Ruby version: %%version%%',
|
|
],
|
|
'service' => [
|
|
'version' => 'Ruby version: %%version%%',
|
|
'mode' => 'mode: %%mode%%',
|
|
'restartButton' => 'Restart App',
|
|
],
|
|
],
|
|
|
|
'dynamicList' => [
|
|
'drawerButton' => [
|
|
'title' => 'Ruby',
|
|
'description' => 'Enable Ruby on your domain',
|
|
]
|
|
],
|
|
|
|
'controllers' => [
|
|
'index' => [
|
|
'list' => [
|
|
'title' => 'Ruby Manager',
|
|
],
|
|
],
|
|
'domain' => [
|
|
'index' => [
|
|
'title' => 'Ruby',
|
|
'titleForObject' => 'Ruby on %%name%%',
|
|
|
|
'noStartupFileHint' => 'Ruby is enabled on this domain. But the startup file %%file%% is not found.',
|
|
|
|
'enableButton' => 'Enable Ruby',
|
|
'enableButtonDescription' => 'Enable Ruby for this domain and detect Ruby applications',
|
|
'restartButton' => 'Restart App',
|
|
'restartButtonDescription' => 'Restart the application',
|
|
'bundleInstallButton' => 'Bundle install',
|
|
'bundleInstallButtonDescription' => 'Install the gems required by the application using the Bundler utility',
|
|
'runRakeTaskButton' => 'Run rake task',
|
|
'runRakeTaskButtonDescription' => 'Run a rake task available for the application',
|
|
'disableButton' => 'Disable Ruby',
|
|
'disableButtonDescription' => 'Disable Ruby for this domain',
|
|
|
|
'rubyVersion' => 'Ruby Version',
|
|
'rubyVersionPopupTitle' => 'Ruby Version of this Application',
|
|
'rubyVersionPopupDescription' => 'Select version of Ruby for this application:',
|
|
'environment' => 'Custom environment variables',
|
|
'environmentEdit' => 'specify',
|
|
'applicationMode' => 'Application Mode',
|
|
'applicationModePopupTitle' => 'Application Mode',
|
|
'applicationModePopupDescription' => 'Select mode of Ruby application:',
|
|
'applicationUrl' => 'Application URL',
|
|
'applicationPath' => 'Application Root',
|
|
'applicationPathOpen' => 'open',
|
|
'applicationPathPopupTitle' => 'Application Root',
|
|
'applicationPathPopupDescription' => 'Select the root of Node.js application:',
|
|
'applicationType' => 'Ruby app type',
|
|
'railsType' => 'Ruby on Rails',
|
|
'rackType' => 'Rack-based',
|
|
|
|
'configurationFilesTitle' => 'Access to Configuration Files',
|
|
'configurationFilesDescription' => 'Click on a file name to edit:',
|
|
|
|
'rootDirectoryTitle' => 'Root directory',
|
|
'pleaseWait' => 'Please wait...',
|
|
],
|
|
'enable' => [
|
|
'success' => 'Ruby was enabled on %%domain%%.',
|
|
],
|
|
'restart' => [
|
|
'success' => 'The restart.txt file was touched. Application will be restarted after the first request.',
|
|
],
|
|
'disable' => [
|
|
'success' => 'Ruby was disabled on %%domain%%.',
|
|
],
|
|
'change-version' => [
|
|
'success' => 'Ruby version was successfully updated.',
|
|
],
|
|
'change-application-mode' => [
|
|
'success' => 'Application mode was successfully updated.',
|
|
'failed' => 'Application mode "%%value%%" is invalid.',
|
|
],
|
|
'change-application-path' => [
|
|
'success' => 'Application path was successfully updated.',
|
|
'failed' => 'Unable to change application path: %%cause%%',
|
|
],
|
|
'environment' => [
|
|
'title' => 'Edit custom environment variables',
|
|
'success' => 'Custom environment variables were changed.',
|
|
],
|
|
'bundle-install' => [
|
|
'success' => 'Bundle was successfully installed.',
|
|
],
|
|
],
|
|
],
|
|
|
|
'permissions' => [
|
|
'supportManagement' => 'Ruby support management',
|
|
'supportManagementDescription' => 'Allow customers to use Ruby',
|
|
'stateManagement' => 'Ruby state management',
|
|
'stateManagementDescription' => 'Allow customers to change Ruby state',
|
|
'versionManagement' => 'Ruby version management',
|
|
'versionManagementDescription' => 'Allow customers to change Ruby version',
|
|
],
|
|
|
|
'components' => [
|
|
'buttons' => [
|
|
'ok' => 'OK',
|
|
'cancel' => 'Cancel',
|
|
],
|
|
'forms' => [
|
|
'environment' => [
|
|
'variables' => 'Custom environment variables',
|
|
'variableName' => 'Variable',
|
|
'variableValue' => 'Value',
|
|
'addButton' => 'Add variable',
|
|
'removeButton' => 'Remove',
|
|
],
|
|
],
|
|
'run-rake-task-popup' => [
|
|
'title' => 'Run rake task',
|
|
'options' => 'Task parameters',
|
|
'optionsDescription' => 'Examples:%%examples%%',
|
|
'output' => 'Output',
|
|
'run' => 'Run',
|
|
'pleaseWait' => 'Please wait',
|
|
],
|
|
'lists' => [
|
|
'handlers' => [
|
|
'refreshButton' => 'Refresh',
|
|
'refreshButtonDescription' => 'Refresh the list of Ruby handlers',
|
|
|
|
'version' => 'Version',
|
|
'path' => 'Path',
|
|
'domains' => 'Domains',
|
|
],
|
|
],
|
|
'tasks' => [
|
|
'bundle-install' => [
|
|
'title' => 'Bundle install',
|
|
'installing' => 'Installing...',
|
|
]
|
|
],
|
|
],
|
|
|
|
'api' => [
|
|
'common' => [
|
|
'permissionDenied' => 'Permission denied',
|
|
'domainDoesNotHaveHosting' => 'The domain "%%domain%%" does not have physical hosting.',
|
|
'commandNotFound' => 'The command "%%command%%" was not found.',
|
|
'handlerNotFound' => 'The Ruby version "%%version%%" was not found.',
|
|
'versionIsEmpty' => 'The version is empty.',
|
|
],
|
|
'cli' => [
|
|
'versions' => [
|
|
'enabled' => 'Enabled',
|
|
'version' => 'Version',
|
|
'fullVersion' => 'Full version',
|
|
'path' => 'Path',
|
|
],
|
|
'enable' => [
|
|
'success' => 'The Ruby version "%%version%%" was enabled.',
|
|
],
|
|
'disable' => [
|
|
'success' => 'The Ruby version "%%version%%" was disabled.',
|
|
],
|
|
'enableOnDomain' => [
|
|
'success' => 'Ruby was enabled on the domain "%%domain%%".',
|
|
],
|
|
'disableOnDomain' => [
|
|
'success' => 'Ruby was disabled on the domain "%%domain%%".',
|
|
],
|
|
'setVersion' => [
|
|
'success' => 'The Ruby version on domain "%%domain%%" was changed to "%%version%%".',
|
|
],
|
|
],
|
|
],
|
|
|
|
'cli' => [
|
|
'commands' => [
|
|
'versions' => 'Display the list of Ruby versions.',
|
|
'enable' => 'Enable Ruby version or enable Ruby support on domain.',
|
|
'disable' => 'Disable Ruby version or disable Ruby support on domain.',
|
|
'set-version' => 'Set Ruby version on domain.',
|
|
'get-version' => 'Show Ruby version on domain.',
|
|
],
|
|
'options' => [
|
|
'domain' => 'Domain name (use with the "enable", "disable", "set-version", and "get-version" commands).',
|
|
'version' => 'Ruby version (use with the "enable", "disable", and "set-version" commands).',
|
|
],
|
|
],
|
|
];
|
|
|