631 lines
33 KiB
PHP
631 lines
33 KiB
PHP
<?php
|
||
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
|
||
|
||
$messages = [
|
||
'App' => [
|
||
'hostingAccessLinkTitle' => '主机访问权限页面',
|
||
'BranchSelect' => [
|
||
'field.label' => 'Branch',
|
||
],
|
||
'CommitsList' => [
|
||
'drawerTitle' => '%%repository%% commit 命令',
|
||
'drawerSubtitle' => '%%branch%% branch',
|
||
'columns' => [
|
||
'date' => '日期',
|
||
'message' => '信息',
|
||
'hash' => '散列',
|
||
'author' => '创建者',
|
||
],
|
||
'noCommits' => '未找到 commit 命令',
|
||
'noCommitsFiltered' => '没有 commit 命令与指定的筛选选项相匹配',
|
||
'filterButtonTooltip' => '过滤器',
|
||
],
|
||
'CommitsListFilter' => [
|
||
'panelTitle' => '过滤器',
|
||
'clearButtonTitle' => '清空',
|
||
'Form' => [
|
||
'applyButton' => '应用',
|
||
'resetButton' => '重设',
|
||
'afterLabel' => '时间自',
|
||
'afterDescription' => '指定日期和时间是备选项',
|
||
'messageLabel' => '信息',
|
||
'messagePlaceholder' => '键入 commit 信息',
|
||
'hashLabel' => '散列',
|
||
'hashPlaceholder' => '键入 commit hash',
|
||
'authorLabel' => '创建者',
|
||
'authorPlaceholder' => '键入名称或电子邮件',
|
||
],
|
||
],
|
||
'CommitsListPreview' => [
|
||
'showMoreAction' => '显示更多',
|
||
],
|
||
'CommitsPane' => [
|
||
'commitsPreview.noCommitsText' => '尚无 commit 命令',
|
||
'commitsPreview.title' => '最新的 commit 命令',
|
||
'localUpdateButton.text' => '如何更新',
|
||
'pullButton.text' => '现在 Pull 更新',
|
||
'pullButton.tooltip' => 'Pull 更新来自远程 repository 的更改。',
|
||
],
|
||
'DeploymentForm' => [
|
||
'actionsCheckbox.label' => '启用其它的部署操作',
|
||
'actionsCheckbox.description' => '指定部署时每次运行的shell命令。',
|
||
'actionsField.label' => '部署操作',
|
||
'actionsField.description' => '每个命令另起一行。',
|
||
],
|
||
'DeploymentMode' => [
|
||
'field.label' => '部署模式',
|
||
'auto.title' => '自动',
|
||
'auto.description' => '一旦文件在 Plesk repository 中可用,将立即部署到生产性站点。',
|
||
'manual.title' => '手动',
|
||
'manual.description' => '文件在 Plesk repository 中可用后,必须手动将其部署到生产性站点。',
|
||
'none.title' => '禁用',
|
||
'none.description' => '文件将不会被部署到任何地方。',
|
||
],
|
||
'DeploymentPane' => [
|
||
'deployButton.text' => '现在部署',
|
||
'deployButton.tooltip' => '请将文件从已配置的 repository branch 传输到 web 服务器。',
|
||
'deployment.description.auto' => '%%branch%% branch 自动到 %%path%%',
|
||
'deployment.description.manual' => '%%branch%% branch 手动到 %%path%%',
|
||
'deployment.disabledText' => '无部署',
|
||
'deployment.title' => '部署',
|
||
],
|
||
'DeployKeyPanel' => [
|
||
'deployKey.title' => '部署秘钥',
|
||
'deployKey.longNameError' => '部署密钥的名称太长。长度不能超过 100 个字符。',
|
||
'deployKey.existsName' => '已存在带有相同名称的部署密钥。',
|
||
'deployKey.invalidNameCharacters' => '部署密钥的名称只能包含字母或数字。',
|
||
'deployKey.emptyName' => '部署密钥的名称不能为空。',
|
||
],
|
||
'DeploymentPath' => [
|
||
'button.tooltip' => '在服务器上选择一个目录',
|
||
'directoryNotFound' => '在服务器上找不到指定的目录',
|
||
'field.label' => '服务器路径',
|
||
'field.description' => '将部署文件的服务器上的目录。',
|
||
'popover.title' => '在服务器上选择一个目录',
|
||
'popover.confirmButton' => '确认',
|
||
'popover.cancelButton' => '取消',
|
||
],
|
||
'DirectoryNode' => [
|
||
'buttonCreate.tooltip' => '创建子目录。',
|
||
'buttonRefresh.tooltip' => '刷新子目录的列表',
|
||
'creationToolbar.title' => '创建子目录',
|
||
'creationToolbar.buttonConfirm.tooltip' => '创建',
|
||
'creationToolbar.buttonCancel.tooltip' => '取消',
|
||
],
|
||
'DirectoryTree' => [
|
||
'creationErrorMessage' => '在 %%path%% 下创建 %%subdir%% 失败',
|
||
],
|
||
'FormFieldDatetime' => [
|
||
'days' => [
|
||
'Su' => '周日',
|
||
'Mo' => '周一',
|
||
'Tu' => '周二',
|
||
'We' => '周三',
|
||
'Th' => '周四',
|
||
'Fr' => '周五',
|
||
'Sa' => '周六'
|
||
],
|
||
'months' => [
|
||
'Jan' => '一月',
|
||
'Feb' => '二月',
|
||
'Mar' => '三月',
|
||
'Apr' => '四月',
|
||
'May' => '五月',
|
||
'Jun' => '六月',
|
||
'Jul' => '七月',
|
||
'Aug' => '八月',
|
||
'Sep' => '九月',
|
||
'Oct' => '十月',
|
||
'Nov' => '十一月',
|
||
'Dec' => '十二月'
|
||
],
|
||
'pickerButton.title' => "显示日期和时间选择器",
|
||
'timeLabel' => '时间:'
|
||
],
|
||
'LocalRepoInitInstruction' => [
|
||
'caseRepoExistsLabel' => '如果您的计算机上已经有了一个 repository',
|
||
'caseNewRepoLabel' => '如果您要创建一个新的 repository',
|
||
'text' => '在这两种方案下,git push 更新过程中,您都需要提供系统用户密码(用于FTP、RDP和SSH的密码)。如果您不记得密码,可在此处 %%link%% 将其更改。',
|
||
'title' => '如何初始化本地 repository',
|
||
],
|
||
'LocalRepoUpdateInstruction' => [
|
||
'text' => '在您的计算机上运行 `git push` 命令。',
|
||
'title' => '如何更新本地 repository',
|
||
],
|
||
'RepoBranch' => [
|
||
'field.label' => 'Repository branch',
|
||
'field.description' => '',
|
||
],
|
||
'RepoCard' => [
|
||
'refreshButton.tooltip' => '刷新此 repository 卡。',
|
||
'removeButton.tooltip' => '移除 repository',
|
||
'removingConfirmation.title' => '移除 repository %%repository%%?',
|
||
'removingConfirmation.body' => '移除 %%repository%%?此操作无法撤销。',
|
||
'removingConfirmation.buttonRemove' => '移除 repository',
|
||
'removingConfirmation.buttonCancel' => '取消',
|
||
'settingsButton.tooltip' => 'Repository 设置',
|
||
'additionalUsers.title' => '其他用户',
|
||
],
|
||
'RepoCardUrl' => [
|
||
'copyToClipboard' => '复制到剪切板',
|
||
'fieldLabel' => 'URL',
|
||
'sshUnavailableMessage' => '要使 repository 通过 SSH 可用,请在此处 %%link%% 为系统用户启用 SSH 访问权限。',
|
||
'urlCopied' => 'Repository URL 已被复制到剪切板',
|
||
],
|
||
'RepoCreationDrawer' => [
|
||
'applyButton.title' => '创建',
|
||
'deploymentSection.title' => '部署设置',
|
||
'locationSection.title' => '代码位置',
|
||
'smbUsersSection.title' => '其他用户',
|
||
'progress.initStep' => '正在初始化……',
|
||
'progress.title' => '创建 repository',
|
||
'progress.localRepoCreating.title' => '创建本地 repository',
|
||
'title' => '创建 repository',
|
||
],
|
||
'RepoFormRemote' => [
|
||
'httpCredentials.hint' => '如果访问 repository 是由 HTTP 基本验证凭据保护的,请在下面指定它们',
|
||
'httpCredentials.password.label' => '密码',
|
||
'httpCredentials.user.label' => '用户名',
|
||
'publicKeySelect.label' => '选择 ssh 公共密钥:',
|
||
'publicKeySelectCreation.title' => 'SSH 公共密钥创建:',
|
||
'publicKeySelectCreation.label' => 'Ssh 公共密钥名称:',
|
||
'publicKeySelectCreationLink.label' => '添加新的部署密钥',
|
||
'publicKey.label' => 'SSH 公共密钥内容:',
|
||
'publicKey.description' => '这是用于在远程 repository 中验证的 SSH 密钥的公共部分。必须在远程服务中添加此部分。',
|
||
'publicKey.copyMessage' => 'SSH 公共秘钥已被复制到剪切板',
|
||
'urlField.descriptionEditable' => '同时支持 HTTP(S) 和 SSH 协议',
|
||
'urlField.descriptionReadonly' => '若要更改 URL,请创建一个新的 repository',
|
||
'urlField.label' => 'Repository URL',
|
||
'webhook.label' => 'Webhook URL',
|
||
'webhook.description' => '请在远程服务的 repository 设置中指定此URL。',
|
||
'webhook.copyMessage' => 'Webhook URL 已被复制到剪切板',
|
||
],
|
||
'RepoInitializationWarning' => [
|
||
'heading' => '未选定 Repository branch',
|
||
'localInitButtonText' => '如何初始化本地 repository。',
|
||
'whatHappened' => '选择一个 branch 来查看最新的 commit 命令,并将文件从 repository 部署到服务器上。',
|
||
],
|
||
'RepoList' => [
|
||
'addButton' => '添加 Repository',
|
||
'emptyListTitle' => "添加 repository 以部署站点更改",
|
||
'emptyListDescription' => "您可以连接云服务(如 GitHub 或 Bitbucket)中托管的 Git repository 以及自托管的 repository。",
|
||
'repositoryUpdated' => '"%%repository%%" repository 已从远程服务器进行更新。',
|
||
'repositoryDeployed' => '已部署了来自 "%%repository%%" repository 中的文件。',
|
||
'repositoryRefreshed' => '"%%repository%%" repository 的卡已被刷新。',
|
||
'repositoryRemoved' => '"%%repository%%" repository 已被移除。',
|
||
],
|
||
'RepoNameField' => [
|
||
'descriptionCommon' => '指定域名内唯一的名称。',
|
||
'descriptionLocalAddition' => '它还将是 repository 的 URL 的一部分。',
|
||
'label' => 'Repository 名称',
|
||
],
|
||
'SmbUsersSelect' => [
|
||
'label' => '选择可以通过 HTTP/HTTPS 访问 repository 的用户,并将文件部署到生产网站。',
|
||
'description' => '默认情况下,系统用户%%sysUserLogin%%有权访问该订阅中的所有 repository,但您可以选择其他用户。这些用户可以通过 HTTP/HTTPS pull 和 push 到该 repository。',
|
||
'placeholder' => '选择用户...',
|
||
'infoNoUsers' => [
|
||
'text' => '要指定其他用户,请将它们添加到 %%link%% 中。您可以稍后这样做,并在 repository 设置中选择它们。',
|
||
'linkText' => '用户帐户',
|
||
],
|
||
],
|
||
'RepoSettingsDrawer' => [
|
||
'applyButton.title' => '应用',
|
||
'sectionProperties.title' => '属性',
|
||
'sectionDeployment.title' => '部署设置',
|
||
'subtitleLocal' => '本地 repository',
|
||
'subtitleRemote' => '远程 repository',
|
||
'title' => '%%repository%% 设置',
|
||
],
|
||
'RepoTypeSelector' => [
|
||
'action.pull' => 'pull 更新',
|
||
'action.push' => 'push 更新',
|
||
'type.local.content' => '您将自己使用Plesk将代码 %%action%% 到服务器。',
|
||
'type.local.description' => '您的代码在Plesk无法连接到的计算机上。例如,您的 LAN 之外不可用的笔记本电脑或一些服务器。',
|
||
'type.local.title' => '本地 repository',
|
||
'type.local.disabledTooltip' => '仅订阅所有者可以创建本地 repository',
|
||
'type.remote.content' => 'Plesk 将从该处 %%action%% 代码。',
|
||
'type.remote.description' => '您的代码在线托管(如 GitHub、GitLab 或 Bitbucket 的云服务,或您自己的服务器)。',
|
||
'type.remote.title' => '远程 repository',
|
||
],
|
||
],
|
||
|
||
'rootDirectoryTitle' => '根目录',
|
||
|
||
// buttons
|
||
'gitButton' => 'Git',
|
||
'gitButtonDescription' => '管理该网站的 Git repositories。',
|
||
'gitButtonNoCommits' => '无 commit 命令',
|
||
'gitButtonMultipleRepositories' => '%%count%% 个 repository',
|
||
'gitButtonDeployedCommitHash' => '已部署的 commit 命令:%%hash%%',
|
||
'gitButtonDeployedCommitDate' => '日期:%%date%%',
|
||
'gitButtonDeployedCommitAuthor' => '创建者:%%author%%',
|
||
'gitButtonLastCommitDeployed' => '上一个 commit 命令:%%hash%%',
|
||
'gitButtonLastCommitNotDeployed' => '上一个 commit 命令:%%hash%%,未部署',
|
||
'deployButton' => '部署',
|
||
'deployFromButton' => '从 Repository 部署',
|
||
'pullButton' => '以 Pull 方式更新',
|
||
'settingsButton' => 'Repository 设置',
|
||
'commitLogButton' => 'Commit 日志',
|
||
'howToInitButton' => '帮助',
|
||
'removeButton' => '移除 Repository',
|
||
'addButton' => '添加 Repository',
|
||
'addButtonDescription' => '添加 Repository',
|
||
'refreshButton' => '刷新',
|
||
|
||
// permissions
|
||
'gitPermission' => 'Git 管理',
|
||
'gitPermissionDescription' => '允许客户使用 Git。',
|
||
|
||
'controllers' => [
|
||
'api' => [
|
||
'pullFailed' => '无法从远程服务器将更改 pull 更新到 "%%repository%%" repository。',
|
||
'deployFailed' => '无法从 "%%repository%%" repository 部署文件。',
|
||
'deployTitle' => '从 Repository 部署',
|
||
],
|
||
'index' => [
|
||
'title' => 'Git 模块信息',
|
||
],
|
||
'domain' => [
|
||
'list' => [
|
||
'title' => 'Git Repository',
|
||
'titleForObject' => '%%name%% 上的 Git Repositories',
|
||
],
|
||
'add' => [
|
||
'title' => '添加 Git Repository',
|
||
'success' => '已创建 Repository',
|
||
'fail' => '无法创建 repository:%%message%%',
|
||
],
|
||
'settings' => [
|
||
'title' => '设置',
|
||
'titleForObject' => '%%name%% 的设置',
|
||
'success' => '已更新 repository "%%name%%" 设置。',
|
||
'updateFail' => '无法更新 repository "%%name%%" 设置:%%message%%',
|
||
'settingsFail' => '无法显示 repository "%%name%%" 的设置:%%message%%'
|
||
],
|
||
'remove' => [
|
||
'success' => '已移除 repository "%%name%%"。',
|
||
'fail' => '无法删除 repository:%%message%%',
|
||
],
|
||
'deploy' => [
|
||
'success' => '已部署 Repository "%%name%%" 文件。',
|
||
'fail' => '无法从 repository "%%name%%" 部署文件:%%message%%',
|
||
],
|
||
'pull' => [
|
||
'fail' => '无法 pull 到 repository "%%name%%"',
|
||
],
|
||
'howTo' => [
|
||
'title' => '“如何”操作说明',
|
||
'titleForObject' => '%%name%% 的操作说明',
|
||
],
|
||
'changeDeployment' => [
|
||
'success' => '已为 %%name%% 更新 Branch 和路径。',
|
||
'error' => '没有为 %%name%% 更新 Branch 和路径。错误:%%message%%。',
|
||
'emptyBranches' => 'Repository branch 为空',
|
||
'unexpectedActiveBranch' => '异常 branch %%name%% (%%branches%%)',
|
||
],
|
||
'commit-log' => [
|
||
'title' => 'Commit 日志',
|
||
'titleForObject' => '%%name%% 的 Commit 日志',
|
||
],
|
||
'repositories' => [
|
||
'title' => '%%domain%% 上的 Git Repositories',
|
||
]
|
||
|
||
]
|
||
],
|
||
'forms' => [
|
||
'index' => [
|
||
'description' => 'Git Manager 扩展',
|
||
'statisticTitle' => '使用统计',
|
||
'commonRepositories' => 'repositories 的总体数量',
|
||
'remoteRepositories' => '远程 repositories 的数量',
|
||
'localRepositories' => '本地 repositories 的数量',
|
||
'autoDeployRepositories' => '带有自动化部署模式的 repositories 的数量',
|
||
'manualDeployRepositories' => '带有手动部署模式的 repositories 的数量',
|
||
'noDeployRepositories' => '没有部署模式的 repositories 的数量',
|
||
'deploymentsTotal' => '从所有 repository 中上传的文件数',
|
||
'repositoriesWithSmbUsers' => '含有额外 HTTP 用户的本地 repository 的数量',
|
||
'smbUsersTotal' => '分配给所有 repository 的其他 HTTP 用户总数',
|
||
],
|
||
'addWithDomain' => [
|
||
'deploymentDisabledHint' => '从 Git repository 上传文件',
|
||
'deploymentEnabledHint' => '启用 Git 支持',
|
||
'deploymentSectionLegend' => '复制您的文件到主机',
|
||
'deploymentSectionDescriptionHint' => '如果保持禁用 Git 支持,将会创建一个空的根目录(网站/应用程序根目录和文件根目录),而站点将会在浏览器里显示默认的页面。您需要使用 FTP 或文件管理器上传站点文件到文档根目录。另外,还可以现在或之后启用 Git (在 网站与域名 中启用)从 Git repository 上传文件。',
|
||
],
|
||
'applicationWizard' => [
|
||
'title' => '使用 Git 部署',
|
||
'description' => '从 Git repository Pull 文件',
|
||
],
|
||
'add' => [
|
||
'deployment' => [
|
||
'title' => '您的网站',
|
||
'path' => 'Git 文件根目录',
|
||
'pathHint' => '文件的路径存储在您的 Git repository 中。',
|
||
'modes' => [
|
||
'auto' => [
|
||
'title' => '自动部署',
|
||
'linkText' => '自动部署',
|
||
'head' => '来自 repository 的文件将会',
|
||
'hint' => '文件将会在被 push 到 Plesk repository 后立即部署到生产环境下的站点。',
|
||
'value' => '自动'
|
||
],
|
||
'manual' => [
|
||
'title' => '手动部署',
|
||
'linkText' => '手动部署',
|
||
'head' => '来自 repository 的文件必须',
|
||
'hint' => '文件在被 push 到 Plesk repository 后必须以手动方式部署到生产环境下的站点。',
|
||
'value' => '手动'
|
||
],
|
||
'none' => [
|
||
'title' => '不部署(repository 主机)',
|
||
'linkText' => '未被部署。',
|
||
'head' => '来自 repository 的文件将',
|
||
'hint' => '文件将不会部署到生产环境下的站点。',
|
||
'value' => '无'
|
||
]
|
||
],
|
||
'deploymentModeTitle' => '部署模式',
|
||
'deploymentModeDescription' => '选择部署模式:',
|
||
'deploymentPathTitle' => '部署路径',
|
||
'deploymentPathDescription' => '选择部署的目录:',
|
||
'deploymentPathCreateFolder' => '创建文件夹',
|
||
'popUpOk' => '确定',
|
||
'popUpCancel' => '取消',
|
||
'rootDirectoryTitle' => '根目录',
|
||
'to' => '到',
|
||
'toLongDescription' => '到以下目录',
|
||
'directory' => '目录。',
|
||
],
|
||
'type' => '您的代码存储于:',
|
||
'typeLocal' => '您的工作站上的本地 repository',
|
||
'typeRemote' => 'GitHub 或 BitBucket 等远程 git 主机',
|
||
'sshKey' => 'SSH 公共密钥',
|
||
'sshKeyHint' => '这是用于在远程 repository 中验证的 SSH 密钥的公共部分。应在远程服务中添加此部分。',
|
||
'sshKeyNotice' => '执行前请复制和粘贴 SSH 密钥的公共部分到用于远程 repository 的服务(GitHub 或 BitBucket)中。',
|
||
'url' => '远程 Git repository',
|
||
'urlHint' => '支持 HTTPS 和 SSH 协议。',
|
||
'name' => 'Repository 链接',
|
||
'nameHint' => '该名称将用于 repository 的 URL 中。',
|
||
'nameForm' => 'Plesk 中的 Git Repository',
|
||
'nameFormDescription' => '创建 repository 后,您应在本地 repository 设置中指定其 URL 作为远程目标 URL。',
|
||
],
|
||
'list' => [
|
||
'fetchUrl' => '远程 repository 的 URL:',
|
||
'pushUrl' => 'Repository URL:',
|
||
'automaticDeploy' => '自动部署到',
|
||
'manualDeploy' => '手动部署到',
|
||
'noDeploy' => '部署已被<b>禁用</b>',
|
||
'copyToClipboardToolTip' => '复制 URL 到剪切板',
|
||
'branch' => 'Branch',
|
||
'changeBranch' => '更改 branch 和路径',
|
||
],
|
||
'settings' => [
|
||
'sshKey' => 'SSH 公共密钥',
|
||
'sshKeyHint' => '这是用于在远程 repository 中验证的 SSH 密钥的公共部分。应在远程服务中添加此部分。',
|
||
'webhookUrlLabel' => 'Webhook URL',
|
||
'webhookUrlDescription' => '请在 repository 设置中于一项远程服务(例如,Bitbucket 或 GitHub)上指定该 URL。',
|
||
'actionsEnabled' => '启用其它的部署操作',
|
||
'actionsEnabledHint' => '指定每次部署即运行的 shell 命令。',
|
||
'name' => 'Repository 名称',
|
||
'nameHint' => '该名称将用于 repository 的 URL 中。',
|
||
'remoteUrlLabel' => 'Git repository',
|
||
'actions' => '操作',
|
||
'actionsHint' => '每个命令另起一行。',
|
||
|
||
],
|
||
'howTo' => [
|
||
'howToDescription' => '以下说明如何创建本地 repository 和更新现有 repository。',
|
||
'creteLabel' => '创建 Repository',
|
||
'existLabel' => '现有的 Git Repository',
|
||
],
|
||
],
|
||
'lists' => [
|
||
'common' => [
|
||
'less' => '更少',
|
||
'more' => '更多',
|
||
],
|
||
'commit-log' => [
|
||
'date' => '时间',
|
||
'dateFilter' => '时间来自',
|
||
|
||
'hash' => '散列',
|
||
|
||
'userNameEmail' => '用户名<email>',
|
||
'userNameEmailFilter' => '用户名称、电子邮件',
|
||
|
||
'message' => '信息',
|
||
|
||
'refreshButtonHint' => '刷新日志数据',
|
||
'logsForBranch' => 'branch %%branch%% 的日志'
|
||
],
|
||
],
|
||
|
||
// list
|
||
'buttonDeployFromRepository' => '从 Repository 部署',
|
||
'buttonPull' => '以 Pull 方式更新',
|
||
'disabledDeploy' => '部署已被禁用',
|
||
'repositorySettings' => 'Repository 设置',
|
||
'howToInitRepository' => '帮助',
|
||
'removeRepository' => '移除 Repository',
|
||
'wasCopiedToClipboardToolTip' => '已复制 URL 到剪切板。',
|
||
'removeConfirmation' => '要移除 "%%name%%" repository 吗?',
|
||
'removeConfirmationButtonYes' => '是',
|
||
'removeConfirmationButtonNo' => '否',
|
||
'lastCommitInfo' => '上次 commit 信息:',
|
||
'additionalActionsInfo' => '其它的部署操作:',
|
||
'repositoryNotFound' => '无法找到 ID 为 %%id%% 的 repository。',
|
||
'repositoryNotExist' => '无法在文件系统上找到 repository "%%name%%"。',
|
||
// popup
|
||
'popupTitle' => '更改 %%repositoryName%% 的 branch 和路径',
|
||
'popupBranchLabel' => 'Branch',
|
||
'popupDeployPathLabel' => 'branch 的部署路径',
|
||
'popupDeployPathCreate' => '创建文件夹',
|
||
'popupRootDirectory' => '根目录',
|
||
'popupWaitMessage' => '请稍候',
|
||
'popupButtonOk' => '确定',
|
||
'popupButtonCancel' => '取消',
|
||
'popupBranchNotSelected' => '<branch not selected>',
|
||
|
||
// validators
|
||
'repositoryNameInvalid' => 'repository 名称 "%value%" 中包含被禁的字符。只允许使用拉丁字符、数字、破折号、下划线和点号。',
|
||
'repositoryNameAlreadyExists' => '已存在带有相同名称 "%value%" 的 repository。',
|
||
'deploymentPathNotInWebspaceRoot' => '部署路径 "%value%" 不在订阅的目录 "%path%" 中。',
|
||
'deploymentPathNotDirectory' => '部署路径 "%value%" 不是一个目录。',
|
||
'deploymentPathAlreadyUsed' => '部署路径 "%value%" 已被其它的 repository 使用。如果继续可能会导致数据丢失。',
|
||
'notGitUrl' => '字串 "%value%" 不是 Git URL。',
|
||
'containsPassword' => '保存包含密码的 URL 不安全。请指定一个没有包含密码的 URL。',
|
||
'smbUserDoesntExist' => '"%invalidUser%"用户不存在或不属于当前域名。',
|
||
|
||
'validators' => [
|
||
'branchNotExists' => 'Branch "%%branch%%" 不存在。',
|
||
'dateTimeFormat' => '以适当的格式指定日期和时间。',
|
||
'deployActionsShouldNotBeEmpty' => '如果启用了部署操作,就不能为空。',
|
||
'deploymentModeInvalid' => '指定的部署模式无效。',
|
||
'deploymentPathAlreadyUsed' => '部署路径 "%%path%%" 已被其它的 repository 使用。如果继续可能会导致数据丢失。',
|
||
'deploymentPathIsEmpty' => '指定要部署文件的路径。',
|
||
'deploymentPathNotDirectory' => '部署路径 "%%path%%" 不是一个目录。',
|
||
'deploymentPathNotInWebspaceRoot' => '部署路径 "%%path%%" 不在订阅的目录 "%%root%%" 中。',
|
||
'hashCharacters' => 'Hash 包含无效的字符。',
|
||
'invalidValue' => '指定正确的值。',
|
||
'notBlank' => '此值不能为空。',
|
||
'nullableString' => '此值必须为字符串或为空。',
|
||
'positive' => '此值必须为正数。',
|
||
'repositoryNotExists' => '指定的 repository 不存在。',
|
||
'repositoryNameInvalid' => 'repository 名称 "%%name%%" 中包含被禁的字符。只允许使用拉丁字符、数字、破折号、下划线和点号。',
|
||
'repositoryNameAlreadyExists' => '已存在带有相同名称 "%%name%%" 的 repository。',
|
||
'repositoryTypeInvalid' => '不支持指定的 repository 类型。',
|
||
'repositoryUrlInvalid' => '不支持将此值作为 repository URL。',
|
||
'repositoryUrlContainsPassword' => '保存包含密码的 URL 不安全。请指定一个没有包含密码的 URL。',
|
||
'smbUserTypeInvalid' => '该值必须是一个整数数组。',
|
||
'smbUserDoesntExist' => '用户不存在或不属于当前域名。',
|
||
],
|
||
|
||
'tasks' => [
|
||
'create' => [
|
||
'title' => '部署文件到 %%name%%',
|
||
'clone' => '正在克隆 Git repository %%name%%...',
|
||
'redirectTitle' => '打开 Git repository'
|
||
],
|
||
'deployment' => [
|
||
'progress' => '部署任务正在运行',
|
||
'done' => '部署任务已完成',
|
||
]
|
||
],
|
||
'deployer' => [
|
||
'step' => [
|
||
'fetchSource' => [
|
||
'title' => 'Pull更新 Git repository "%%repoName%%"',
|
||
],
|
||
'deploySource' => [
|
||
'title' => '部署文件到 "%%domainName%%"',
|
||
],
|
||
'additionalActions' => [
|
||
'title' => '正在运行其他部署操作',
|
||
],
|
||
'validateDeployKey' => [
|
||
'title' => '部署密钥的验证',
|
||
'errorMessageExists' => '无法在 "%%domainSshPath%%" 中找到部署秘钥。转到 "Repository 设置",复制新的 "SSH 公共密钥" 并将其添加到远程 repository。',
|
||
],
|
||
],
|
||
],
|
||
'exceptions' => [
|
||
'defaultTitle' => '错误',
|
||
'needSiteId' => '未定义 site_id 参数。',
|
||
'siteDoesNotHaveHosting' => '该站点没有物理主机。',
|
||
'clientHasNotAccessToDomain' => '访问被拒:用户无权限访问域名。',
|
||
'clientHasNotManagePermission' => '访问被拒:用户没有管理权限。',
|
||
'repositoryDeployDisabled' => '部署 repository "%%repository%%" 被禁。',
|
||
],
|
||
'api' => [
|
||
'commandNotFound' => '未找到命令 "%%command%%"。',
|
||
'domainNameIsEmpty' => '域名为空。',
|
||
'repositoryNameIsEmpty' => 'repository 名称为空。',
|
||
'domainDoesNotExist' => '域名 "%%domain%%" 不存在。',
|
||
'domainDoesNotHaveHosting' => '域名 "%%domain%%" 没有物理主机。',
|
||
'clientHasNotAccessToDomain' => '用户无权限访问域名 "%%domain%%。',
|
||
'gitNotAllowedOnDomain' => '域名 "%%domain%%" 上不支持 Git。',
|
||
'repositoryOnDomainDoesNotExist' => '域名 %%domain%% 上不存在名为 %%name%% 的 repository。',
|
||
'fetchAllowOnlyPullRepositories' => '只有通过远程 Git 主机上的 repository 才能获取命令。',
|
||
'invalidActiveBranch' => '无效的活动 branch %%active-branch%% 未包含在 [%%branches%%] 中',
|
||
'invalidActiveBranchBranchesEmpty' => 'Branch 为空。',
|
||
'additionalUsersOnlyForLocalRepository' => '只能为本地 repository 指定其他用户。',
|
||
|
||
'cli' => [
|
||
'warning' => '警告:%%warning%%',
|
||
'list' => [
|
||
'empty' => '无 repository',
|
||
'columnDomainName' => '域名',
|
||
'columnRepositoryName' => 'Repository 名称',
|
||
'columnRepositoryType' => '类型',
|
||
],
|
||
'info' => [
|
||
'domainName' => '域名',
|
||
'repositoryName' => 'Repository 名称',
|
||
'deploymentPath' => '部署路径',
|
||
'deploymentMode' => '部署模式',
|
||
'activeBranch' => '活动的 branch',
|
||
'repositoryType' => 'Repository 类型',
|
||
'remoteUrl' => '远程 URL',
|
||
'webHookUrl' => 'Webhook URL',
|
||
'skipSsl' => '跳过 SSL 验证',
|
||
'url' => '克隆 URL',
|
||
'runActions' => '运行部署后操作',
|
||
'actions' => '部署后操作',
|
||
'additionalUsers' => '其他用户',
|
||
],
|
||
'create' => [
|
||
'success' => '已创建 repository "%%name%%"。',
|
||
],
|
||
'update' => [
|
||
'success' => '已更新 repository "%%name%%"。',
|
||
],
|
||
'remove' => [
|
||
'success' => '已移除 repository "%%name%%"。',
|
||
],
|
||
'deploy' => [
|
||
'success' => '已部署 repository "%%name%%"。',
|
||
],
|
||
'fetch' => [
|
||
'success' => '已获取 repository "%%name%%" 信息。',
|
||
],
|
||
'getLastCommit' => [
|
||
'noCommits' => 'repository "%%name%%" 没有 commit 信息。',
|
||
],
|
||
'publicKey' => [
|
||
'success' => '域名 "%%name%%" 公共密钥是:%%key%%',
|
||
],
|
||
],
|
||
],
|
||
'cli' => [
|
||
'commands' => [
|
||
'list' => '显示所有域名上的一系列 Git repositories(默认)。若要显示某个域名上的 repositories,请一同使用域名选项。',
|
||
'info' => '显示 repository 设置。',
|
||
'create' => '创建一个 repository。',
|
||
'update' => '更新 repository 设置。',
|
||
'remove' => '移除一个 repository。',
|
||
'deploy' => '部署一个 repository。',
|
||
'fetch' => '获取一个远程的 repository。',
|
||
'get-last-commit' => '显示上一次 commit 信息。',
|
||
'get-public-key' => '显示域名存在的公钥或生成新公钥。',
|
||
'run-deployment-actions' => '运行部署操作。',
|
||
'async-deploy' => '执行 git pull 操作并异步部署源。',
|
||
],
|
||
'options' => [
|
||
'domain' => '域名(与 "list"、"info"、"create"、"update"、"remove"、"deploy"、"async-deploy"、"fetch" 和"run-deployment-actions" 命令一同使用)。',
|
||
'name' => 'Repository 名称(与 "info"、"create"、"update"、"remove"、"deploy"、"async-deploy"、"fetch" 和 "run-deployment-actions" 命令一同使用)。',
|
||
'deployment-path' => '部署路径(一同使用 "create" 和 "update" 命令)。',
|
||
'remote-url' => '远程 Git repository 的 URL(一同使用 "create" 和 "update" 命令)。',
|
||
'active-branch' => '活动的 branch(一同使用 "create" 和 "update" 命令)。',
|
||
'deployment-mode' => '部署模式(一同使用 "create" 和 "update" 命令)。',
|
||
'skip-ssl-verification' => '跳过 pull 操作时 ssl 验证远程 repository(一同使用 "create" 和 "update" 命令)。',
|
||
'run-actions' => '每次部署后运行 Shell 命令(与 "create" 和 "update" 命令一同使用)。',
|
||
'actions' => '每次部署即运行的 Shell 命令(一同使用 "create" 和 "update" 命令)。',
|
||
'new-name' => 'Repository 名称(一同使用 "update" 命令)。',
|
||
'deploy-key-uuid' => '用于部署 repository 指定部署秘钥的 Uuid。',
|
||
'no-deployment-actions' => '部署repository 后,不要运行部署操作(与 "deploy" 命令一起使用)。',
|
||
'additional-users' => '格式为"login1、login2、login3"的登录列表(与"create"和"update"命令一起使用)。可以通过 HTTP/HTTPS pull 和 push 到 repository 的其他用户(系统用户可以访问订阅中的所有 repository)。',
|
||
],
|
||
],
|
||
];
|