285 lines
12 KiB
PHP
285 lines
12 KiB
PHP
<?php
|
|
// Copyright 1999-2024. WebPros International GmbH. All rights reserved.
|
|
|
|
$messages = [
|
|
'activeList' => [
|
|
'button' => [
|
|
'title' => 'Node.js',
|
|
'description' => '管理该网站的 Node.js。',
|
|
'enabled' => 'Node.js 版本:%%version%%',
|
|
],
|
|
'service' => [
|
|
'version' => 'Node.js 版本:%%version%%',
|
|
'mode' => '模式:%%mode%%',
|
|
'restartButton' => '重启应用',
|
|
],
|
|
],
|
|
|
|
'application' => [
|
|
'unsupportedPkgManager' => "不支持的程序包管理器 '%%pkgManager%%'",
|
|
],
|
|
|
|
'controllers' => [
|
|
'index' => [
|
|
'index' => [
|
|
'title' => 'Node.js Manager',
|
|
],
|
|
],
|
|
'domain' => [
|
|
'index' => [
|
|
'title' => 'Node.js',
|
|
'titleForObject' => '%%name%% 上的 Node.js',
|
|
|
|
'noStartupFileHint' => '在该域名上启用了 Node.js。但是未找到启动文件 %%file%%。',
|
|
|
|
'enableButton' => '启用 Node.js',
|
|
'enableButtonDescription' => '启用该域名上的 Node.js。',
|
|
'restartButton' => '重启应用',
|
|
'restartButtonDescription' => '重启您的 Node.js 应用程序。',
|
|
'npmInstallButton' => 'NPM 安装',
|
|
'yarnInstallButton' => 'Yarn 安装',
|
|
'installButtonDescription' => '安装在 \'package.json\' 文件中列出的程序包。',
|
|
'runScriptButton' => '运行脚本',
|
|
'runScriptButtonDescription' => '运行在 \'package.json\' 文件的 \'Scripts\' 部分中指定的命令。',
|
|
'disableButton' => '禁用 Node.js',
|
|
'disableButtonDescription' => '禁用该域名上的 Node.js。',
|
|
'openFileManagerButton' => '文件管理器',
|
|
'openFileManagerButtonDescription' => '打开文件管理器以查看和编辑您的文件。',
|
|
|
|
'version' => 'Node.js 版本',
|
|
'versionPopupTitle' => '该应用程序的 Node.js 版本',
|
|
'versionPopupDescription' => '为该应用程序选择 Node.js 版本:',
|
|
'environment' => '自定义的环境变量',
|
|
'environmentEdit' => '指定',
|
|
'documentRoot' => '文档根目录',
|
|
'documentRootMatchesApplicationRootWarning' => '出于安全考虑,建议将文档根目录设置为应用程序根目录下的子目录(例如 public/)。',
|
|
'documentRootNotInApplicationRootWarning' => '应用程序将不会运行因为文档根目录不是应用程序根目录的一个子目录。',
|
|
'applicationMode' => '应用程序模式',
|
|
'applicationModePopupTitle' => '应用程序模式',
|
|
'applicationModePopupDescription' => '选择 Node.js 应用程序的模式:',
|
|
'applicationUrl' => '应用程序 URL',
|
|
'applicationPath' => '应用程序的根目录',
|
|
'applicationPathOpen' => '打开',
|
|
'applicationStartupFileEdit' => '编辑',
|
|
'applicationPathPopupTitle' => '应用程序的根目录',
|
|
'applicationPathPopupDescription' => '选择 Node.js 应用程序的根目录:',
|
|
'applicationStartupFile' => '应用程序启动文件',
|
|
'applicationStartupFilePopupTitle' => '应用程序启动文件',
|
|
'applicationStartupFilePopupDescription' => '更改 Node.js 应用程序的启动文件:',
|
|
'applicationStartupFileNotExist' => '该文件不存在。',
|
|
'packageManager' => '程序包管理器',
|
|
'pkgManagerPopupTitle' => '程序包管理器',
|
|
'pkgManagerPopupDescription' => '为此应用程序选择程序包管理器',
|
|
'packageManagerNotSpecified' => '这是我们检测到的,您可以将其更改',
|
|
|
|
'configurationFilesTitle' => '配置文件的访问',
|
|
'configurationFilesDescription' => '点击一个文件名以编辑:',
|
|
|
|
'documentRootPopupTitle' => '文档根目录',
|
|
'documentRootPopupDescription' => '选择网站的根目录:',
|
|
'rootDirectoryTitle' => '根目录',
|
|
'pleaseWait' => '请稍候...',
|
|
],
|
|
'enable' => [
|
|
'success' => '已在 %%domain%% 上启用 Node.js。',
|
|
],
|
|
'restart' => [
|
|
'success' => '应用程序将在第一次请求后重新启动。',
|
|
],
|
|
'disable' => [
|
|
'success' => '已在 %%domain%% 上禁用 Node.js。',
|
|
],
|
|
'change-version' => [
|
|
'success' => '已成功更新 Node.js 版本。',
|
|
],
|
|
'change-application-mode' => [
|
|
'success' => '已成功更新应用程序模式。',
|
|
'failed' => '该应用程序模式 "%%value%%" 无效。',
|
|
],
|
|
'change-package-manager' => [
|
|
'success' => '程序包管理器已成功更改。',
|
|
'failed' => '更改程序包管理器失败:%%message%%。',
|
|
],
|
|
'change-application-path' => [
|
|
'success' => '已成功更新应用程序路径。',
|
|
'failed' => '该路径 %%path%% 无效。',
|
|
],
|
|
'application-path-in-use' => [
|
|
'title' => '订阅中的另一个Node.js应用程序已经在使用此应用程序根目录。请指定包含文档根目录的其它应用程序根目录。',
|
|
],
|
|
'change-document-root' => [
|
|
'success' => '已成功更新文档根目录。',
|
|
'failed' => '无法更改文档根目录:%%cause%%',
|
|
],
|
|
'change-application-startup-file' => [
|
|
'success' => '已成功更新应用程序启动文件。',
|
|
'failed' => '该文件名称 %%file%% 无效。',
|
|
],
|
|
'environment' => [
|
|
'title' => '编辑自定义的环境变量',
|
|
'failed' => "个人环境变量'%%var%%' 的 json 表示不应超过255个字符。",
|
|
'success' => '已更新自定义的环境变量。',
|
|
],
|
|
'dashboard' =>
|
|
[
|
|
'title' => 'Dashboard',
|
|
],
|
|
'command-line' =>
|
|
[
|
|
'title' => '运行 Node.js 指令',
|
|
],
|
|
],
|
|
],
|
|
|
|
'permissions' => [
|
|
'supportManagement' => 'Node.js 支持管理',
|
|
'supportManagementDescription' => '允许客户使用 Node.js',
|
|
'stateManagement' => 'Node.js 状态管理',
|
|
'stateManagementDescription' => '允许客户更改 Node.js 状态',
|
|
'versionManagement' => 'Node.js 版本管理',
|
|
'versionManagementDescription' => '允许客户更改 Node.js 版本',
|
|
],
|
|
|
|
'components' => [
|
|
'buttons' => [
|
|
'ok' => '确定',
|
|
'cancel' => '取消',
|
|
],
|
|
'forms' => [
|
|
'environment' => [
|
|
'variables' => '自定义的环境变量',
|
|
'variableName' => '变量',
|
|
'variableValue' => '值',
|
|
'addButton' => '添加变量',
|
|
'removeButton' => '移除',
|
|
],
|
|
],
|
|
'command-line' => [
|
|
'executeCommandTooltip' => '执行命令',
|
|
'commandInputDescription' => '输入要执行的 Node.js 命令',
|
|
'selectNodeVersion' => '选择 Node.js 版本',
|
|
'selectPackageManager' => '选择程序包管理器',
|
|
],
|
|
'icons' => [
|
|
'warning' => '警告',
|
|
],
|
|
'links' => [
|
|
'opensInNewTab' => '在新的标签中打开',
|
|
],
|
|
'editableSelect' => [
|
|
'toggleDropdown' => '切换下拉选项',
|
|
],
|
|
'run-script-popup' => [
|
|
'title' => '运行脚本',
|
|
'options' => '脚本名称和参数',
|
|
'optionsDescription' => '示例:%%examples%%',
|
|
'optionsInputLabel' => '脚本选项',
|
|
'output' => '输出',
|
|
'run' => '运行',
|
|
'pleaseWait' => '请稍候',
|
|
],
|
|
'lists' => [
|
|
'handlers' => [
|
|
'refreshButton' => '刷新',
|
|
'refreshButtonDescription' => '刷新 Node.js 处理程序列表',
|
|
|
|
'version' => '版本',
|
|
'path' => '路径',
|
|
'domains' => '域名',
|
|
'enableVersion' => '启用 Node.js 版本 %%version%%',
|
|
'disableVersion' => '禁用 Node.js 版本 %%version%%',
|
|
'versionInstallation' => [
|
|
'install' => '安装',
|
|
'installing' => '正在安装...',
|
|
'installTooltip' => '安装 Node.js 版本 %%version%%',
|
|
'uninstall' => '卸载',
|
|
'uninstalling' => '正在卸载...',
|
|
'uninstallTooltip' => '卸载 Node.js 版本 %%version%%',
|
|
'uninstallBlockadeReasons' => [
|
|
'domains' => '无法卸载版本,因为它已被 %%count%% 域名使用。',
|
|
'enabled' => '无法卸载版本,因为它已被启用。',
|
|
]
|
|
]
|
|
],
|
|
],
|
|
'tasks' => [
|
|
'npm-install' => [
|
|
'title' => 'NPM 安装',
|
|
],
|
|
'yarn-install' => [
|
|
'title' => 'Yarn 安装',
|
|
],
|
|
'step-install-title' => '安装应用程序依赖。',
|
|
],
|
|
],
|
|
|
|
'api' => [
|
|
'common' => [
|
|
'permissionDenied' => '拒绝访问',
|
|
'domainDoesNotHaveHosting' => '域名 "%%domain%%" 没有物理主机。',
|
|
'commandNotFound' => '未找到命令 "%%command%%"。',
|
|
'handlerNotFound' => '未找到 Node.js 版本 "%%version%%"。',
|
|
'noHandlerOnDomain' => '应至少为域名启用一个 Node.js 版本。',
|
|
'disabledOnDomain' => '已在域名上禁用 Node.js 支持。',
|
|
'versionIsEmpty' => '版本为空。',
|
|
],
|
|
'cli' => [
|
|
'versions' => [
|
|
'enabled' => '启用',
|
|
'version' => '版本',
|
|
'path' => '路径',
|
|
'empty' => '未找到 Node.js 版本。',
|
|
],
|
|
'enable' => [
|
|
'success' => '已启用 Node.js 版本 "%%version%%"。',
|
|
],
|
|
'disable' => [
|
|
'success' => '已禁用 Node.js 版本 "%%version%%"。',
|
|
],
|
|
'enableOnDomain' => [
|
|
'success' => '域名 "%%domain%%" 上的 Node.js 已被启用。',
|
|
],
|
|
'disableOnDomain' => [
|
|
'success' => '域名 "%%domain%%" 上的 Node.js 已被禁用。',
|
|
],
|
|
'setVersion' => [
|
|
'success' => '域名 "%%domain%%" 上的 Node.js 版本已被更改为 "%%version%%"。',
|
|
],
|
|
'install' => [
|
|
'success' => '已安装 Node.js 版本 "%%version%%"。',
|
|
],
|
|
'uninstall' => [
|
|
'success' => '已卸载 Node.js 版本 "%%version%%"。',
|
|
],
|
|
],
|
|
],
|
|
|
|
'cli' => [
|
|
'commands' => [
|
|
'versions' => '显示一系列 Node.js 版本。',
|
|
'enable' => '启用 Node.js 版本或启用域名上的 Node.js 支持。',
|
|
'disable' => '禁用 Node.js 版本或禁用域名上的 Node.js 支持。',
|
|
'set-version' => '在域名上设置 Node.js 版本。',
|
|
'get-version' => '在域名上显示 Node.js 版本。',
|
|
'install' => '安装 Node.js 版本。',
|
|
'uninstall' => '卸载 Node.js 版本。',
|
|
],
|
|
'options' => [
|
|
'domain' => '域名(一同使用 "enable"、"disable" 和 "get-version" 命令)。',
|
|
'version' => 'Node.js version (use with the "enable", "disable", "set-version", "install", and "uninstall" commands).',
|
|
],
|
|
],
|
|
|
|
'forms' => [
|
|
'applicationWizard' => [
|
|
'title' => 'Node.js 应用程序',
|
|
'description' => '在您的域名上启用 Node.js',
|
|
],
|
|
'installApplication' => [
|
|
'title' => 'Node.js',
|
|
'description' => '在您的域名上启用 Node.js',
|
|
],
|
|
],
|
|
];
|
|
|