Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localization for Chinese #184

Merged
merged 2 commits into from
Jan 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div>
发现分支策略
<dl>
<dt>不包括作为 PRs 的分支</dt>
<dd>
如果你想要发现 PR 分支,那同时发现 PR 分支和与其拥有相同变更的分支是没有意义的。
</dd>
<dt>只包括作为 PRs 的分支</dt>
<dd>
此选项用于在从插件的旧版本升级时保留遗留行为。
注释: 如果你有这个选项的实际使用场景,可以对本段文本提一个 Pull Request。
</dd>
<dt>所有分支</dt>
<dd>
发现所有的源仓库分支。
</dd>
</dl>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
在目标仓库中发现分支。
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
<a href="https://developer.github.com/v3/">GitHub API</a> 地址,例如:<code>https://github.example.com/api/v3/</code>。
</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div>
发现 Pull Request 的策略
<dl>
<dt>合并该 Pull Request 到当前目标分支的版本</dt>
<dd>
一次发现操作,找到要合并到当前目标分支的 Pull Request。
</dd>
<dt>当前 Pull Request 的版本</dt>
<dd>
一次发现操作,找到相对于其自己修改的 Pull Request。
</dd>
<dt>当前 Pull Request 的版本和已经与目标分支合并了的 Pull Request</dt>
<dd>
两次发现操作,第一次找到要合并到当前目标分支的 Pull Request,紧接着第二次并行的找到相对于其自己修改的 Pull Request。
</dd>
</dl>
</div>

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
从目标库的派生库发现 Pull Request。
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

Behaviours=\u884c\u4e3a
API\ endpoint=API \u5730\u5740
Credentials=\u51ED\u636E
Owner=\u62E5\u6709\u8005
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

Behaviours=\u884c\u4e3a
API\ endpoint=API \u5730\u5740
Behaviours=\u884C\u4E3A
Credentials=\u51ED\u636E
Owner=\u62E5\u6709\u8005
Repository=\u4EE3\u7801\u4ED3\u5E93

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
需要连接的服务器地址。已配置的服务列表在<strong>系统管理 » 系统配置 › GitHub Enterprise Servers</strong>区域。
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div>
<p>
用于<strong>扫描</strong>分支和 Pull Request,<strong>获取</strong>源代码,<strong>标记</strong>提交状态。
</p>
<p>
注意: 仅支持<strong>“用户名+密码”</strong>类型的凭据。
由于 Jenkins 使用的是 GitHub API, 而它仅支持上述类型的授权方式,所以其他类型的凭据将会被过滤掉。
</p>
<p>
如果凭据为空,则只能访问公有代码仓库,且本地的变更信息不能同步到 GitHub。
</p>
<p>
如果您的组织下包含私有库,您需要指定一个对这些库有访问权限的凭据。
可以通过创建一个“用户名密+码类型”的凭据,密码通配置 Token 获取:<a href="https://github.com/settings/tokens">GitHub personal access tokens</a>。
必要的权限范围为 "repo"。
</p>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
<p>指定<strong>Github 组织名</strong>或<strong>GitHub 用户名</strong>。</p>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
需要扫描的代码仓库。
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -20,58 +20,58 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

BranchSCMHead.Pronoun=\u5206\u652f
GitHubTagSCMHead.Pronoun=\u6807\u7b7e
BranchSCMHead.Pronoun=\u5206\u652F
GitHubTagSCMHead.Pronoun=\u6807\u7B7E

ForkPullRequestDiscoveryTrait.contributorsDisplayName=\u8d21\u732e\u8005
ForkPullRequestDiscoveryTrait.permissionsDisplayName=\u7ba1\u7406\u5458\u6216\u8005\u6709\u5199\u5165\u6743\u9650\u7684\u7528\u6237
ForkPullRequestDiscoveryTrait.displayName=\u4ece\u6d3e\u751f\u5e93\u4e0a\u53d1\u73b0 pull requests
ForkPullRequestDiscoveryTrait.everyoneDisplayName=\u6bcf\u4e2a\u4eba
ForkPullRequestDiscoveryTrait.headAndMerge=\u5f53\u524d pull request \u7684\u7248\u672c\u548c\u5df2\u7ecf\u4e0e\u76ee\u6807\u5206\u652f\u7248\u672c\u5408\u5e76\u4e86\u7684 pull request
ForkPullRequestDiscoveryTrait.headOnly=\u5f53\u524d pull request \u7684\u7248\u672c
ForkPullRequestDiscoveryTrait.mergeOnly=\u5408\u5e76\u8be5 pull request \u5230\u5f53\u524d\u76ee\u6807\u5206\u652f\u7684\u7248\u672c
ForkPullRequestDiscoveryTrait.nobodyDisplayName=\u6ca1\u6709\u4eba
GitHubBranchFilter.DisplayName=\u53ea\u6709 GitHub \u5206\u652f\u7684\u4efb\u52a1
ForkPullRequestDiscoveryTrait.contributorsDisplayName=\u8D21\u732E\u8005
ForkPullRequestDiscoveryTrait.permissionsDisplayName=\u7BA1\u7406\u5458\u6216\u8005\u6709\u5199\u5165\u6743\u9650\u7684\u7528\u6237
ForkPullRequestDiscoveryTrait.displayName=\u4ECE\u6D3E\u751F\u5E93\u4E0A\u53D1\u73B0 Pull Request
ForkPullRequestDiscoveryTrait.everyoneDisplayName=\u6BCF\u4E2A\u4EBA
ForkPullRequestDiscoveryTrait.headAndMerge=\u5F53\u524D Pull Request \u7684\u7248\u672C\u548C\u5DF2\u7ECF\u4E0E\u76EE\u6807\u5206\u652F\u7248\u672C\u5408\u5E76\u4E86\u7684 Pull Request
ForkPullRequestDiscoveryTrait.headOnly=\u5F53\u524D Pull Request \u7684\u7248\u672C
ForkPullRequestDiscoveryTrait.mergeOnly=\u5408\u5E76\u8BE5 Pull Request \u5230\u5F53\u524D\u76EE\u6807\u5206\u652F\u7684\u7248\u672C
ForkPullRequestDiscoveryTrait.nobodyDisplayName=\u6CA1\u6709\u4EBA
GitHubBranchFilter.DisplayName=\u53EA\u6709 GitHub \u5206\u652F\u7684\u4EFB\u52A1

GitHubBuildStatusNotification.CommitStatus.Good=\u8fd9\u6b21\u63d0\u4ea4\u6ca1\u95ee\u9898
GitHubBuildStatusNotification.CommitStatus.Unstable=\u8fd9\u6b21\u63d0\u4ea4\u6709\u6d4b\u8bd5\u5931\u8d25
GitHubBuildStatusNotification.CommitStatus.Failure=\u8fd9\u6b21\u63d0\u4ea4\u6784\u5efa\u5931\u8d25
GitHubBuildStatusNotification.CommitStatus.Aborted=\u8fd9\u6b21\u63d0\u4ea4\u7684\u6784\u5efa\u88ab\u7ec8\u6b62
GitHubBuildStatusNotification.CommitStatus.Other=\u8fd9\u6b21\u63d0\u4ea4\u7684\u6784\u5efa\u53d1\u751f\u672a\u77e5\u9519\u8bef
GitHubBuildStatusNotification.CommitStatus.Pending=\u8fd9\u6b21\u63d0\u4ea4\u6b63\u5728\u6784\u5efa
GitHubBuildStatusNotification.CommitStatus.Queued=\u8fd9\u6b21\u63d0\u4ea4\u51c6\u5907\u6784\u5efa
GitHubBuildStatusNotification.CommitStatusSet=GitHub \u5df2\u7ecf\u901a\u77e5\u4e86\u8fd9\u6b21\u6784\u5efa\u7684\u7ed3\u679c
GitHubBuildStatusNotification.CommitStatus.Good=\u8FD9\u6B21\u63D0\u4EA4\u6CA1\u95EE\u9898
GitHubBuildStatusNotification.CommitStatus.Unstable=\u8FD9\u6B21\u63D0\u4EA4\u6709\u6D4B\u8BD5\u5931\u8D25
GitHubBuildStatusNotification.CommitStatus.Failure=\u8FD9\u6B21\u63D0\u4EA4\u6784\u5EFA\u5931\u8D25
GitHubBuildStatusNotification.CommitStatus.Aborted=\u8FD9\u6B21\u63D0\u4EA4\u7684\u6784\u5EFA\u88AB\u7EC8\u6B62
GitHubBuildStatusNotification.CommitStatus.Other=\u8FD9\u6B21\u63D0\u4EA4\u7684\u6784\u5EFA\u53D1\u751F\u672A\u77E5\u9519\u8BEF
GitHubBuildStatusNotification.CommitStatus.Pending=\u8FD9\u6B21\u63D0\u4EA4\u6B63\u5728\u6784\u5EFA
GitHubBuildStatusNotification.CommitStatus.Queued=\u8FD9\u6B21\u63D0\u4EA4\u51C6\u5907\u6784\u5EFA
GitHubBuildStatusNotification.CommitStatusSet=GitHub \u5DF2\u7ECF\u901A\u77E5\u4E86\u8FD9\u6B21\u6784\u5EFA\u7684\u7ED3\u679C

GitHubLink.DisplayName=GitHub

GitHubOrgMetadataAction.IconDescription=GitHub \u7ec4\u7ec7
GitHubPullRequestFilter.DisplayName=\u53ea\u6709 GitHub Pull Request \u7684\u4efb\u52a1
GitHubOrgMetadataAction.IconDescription=GitHub \u7EC4\u7EC7
GitHubPullRequestFilter.DisplayName=\u53EA\u6709 GitHub Pull Request \u7684\u4EFB\u52A1

GitHubRepoMetadataAction.IconDescription=GitHub \u4ed3\u5e93
GitHubRepoMetadataAction.IconDescription=GitHub \u4ED3\u5E93

GitHubSCMNavigator.DisplayName=GitHub \u7ec4\u7ec7
GitHubSCMNavigator.Description=\u626b\u63cf\u4e00\u4e2a GitHub \u7ec4\u7ec7\uff08\u6216\u8005\u4e2a\u4eba\u8d26\u6237\uff09\u7684\u6240\u6709\u4ed3\u5e93\u6765\u5339\u914d\u5df2\u5b9a\u4e49\u7684\u6807\u8bb0\u3002
GitHubSCMNavigator.Pronoun=\u7ec4\u7ec7
GitHubSCMNavigator.UncategorizedCategory=\u4ed3\u5e93
GitHubSCMNavigator.DisplayName=GitHub \u7EC4\u7EC7
GitHubSCMNavigator.Description=\u626B\u63CF\u4E00\u4E2A GitHub \u7EC4\u7EC7\uFF08\u6216\u8005\u4E2A\u4EBA\u8D26\u6237\uFF09\u7684\u6240\u6709\u4ED3\u5E93\u6765\u5339\u914D\u5DF2\u5B9A\u4E49\u7684\u6807\u8BB0\u3002
GitHubSCMNavigator.Pronoun=\u7EC4\u7EC7
GitHubSCMNavigator.UncategorizedCategory=\u4ED3\u5E93

GitHubSCMSource.ChangeRequestCategory=Pull Requests
GitHubSCMSource.TagCategory=\u6807\u7b7e
GitHubSCMSource.ChangeRequestCategory=Pull Request
GitHubSCMSource.TagCategory=\u6807\u7B7E
GitHubSCMSource.DisplayName=GitHub
GitHubSCMSource.Pronoun=\u4ed3\u5e93
GitHubSCMSource.UncategorizedCategory=\u5206\u652f
GitHubSCMSource.did_you_mean_to_use_to_match_all_branches=\u4f60\u7684\u610f\u601d\u662f\u8981\u4f7f\u7528 * \u5339\u914d\u6240\u6709\u7684\u5206\u652f\u5417\uff1f
GitHubSCMSource.NoMatchingOwner=\u65e0\u6cd5\u627e\u5230\u62e5\u6709\u8005\uff1a {0}
GitHubSCMSource.Pronoun=\u4ED3\u5E93
GitHubSCMSource.UncategorizedCategory=\u5206\u652F
GitHubSCMSource.did_you_mean_to_use_to_match_all_branches=\u4F60\u7684\u610F\u601D\u662F\u8981\u4F7F\u7528 * \u5339\u914D\u6240\u6709\u7684\u5206\u652F\u5417\uFF1F
GitHubSCMSource.NoMatchingOwner=\u65E0\u6CD5\u627E\u5230\u62E5\u6709\u8005\uFF1A {0}

OriginPullRequestDiscoveryTrait.authorityDisplayName=\u4fe1\u4efb origin \u7684 pull requests
OriginPullRequestDiscoveryTrait.authorityDisplayName=\u4FE1\u4EFB origin \u7684 Pull Request
PullRequestSCMHead.Pronoun=Pull Request
BranchDiscoveryTrait.excludePRs=\u4e0d\u5305\u62ec\u53ea\u6709\u4f5c\u4e3a PRs \u7684\u5206\u652f
BranchDiscoveryTrait.onlyPRs=\u53ea\u6709\u4f5c\u4e3a PRs \u7684\u5206\u652f
BranchDiscoveryTrait.allBranches=\u6240\u6709\u5206\u652f
BranchDiscoveryTrait.authorityDisplayName=\u4fe1\u4efb origin \u7684\u5206\u652f
BranchDiscoveryTrait.displayName=\u53d1\u73b0\u5206\u652f
SSHCheckoutTrait.displayName=\u901a\u8fc7 SSH \u68c0\u51fa
SSHCheckoutTrait.incompatibleCredentials=\u5f53\u524d\u914d\u7f6e\u7684\u51ed\u636e\u548c\u8be5\u884c\u4e3a\u4e0d\u5339\u914d
SSHCheckoutTrait.missingCredentials=\u5f53\u524d\u914d\u7f6e\u7684\u51ed\u636e\u65e0\u6cd5\u627e\u5230
SSHCheckoutTrait.useAgentKey=- \u4f7f\u7528\u6784\u5efa\u8282\u70b9\u7684 key -
TagDiscoveryTrait.authorityDisplayName=\u4fe1\u4efb origin \u7684\u6807\u7b7e
TagDiscoveryTrait.displayName=\u53d1\u73b0\u6807\u7b7e
BranchDiscoveryTrait.excludePRs=\u4E0D\u5305\u62EC\u4F5C\u4E3A PRs \u7684\u5206\u652F
BranchDiscoveryTrait.onlyPRs=\u53EA\u6709\u4F5C\u4E3A PRs \u7684\u5206\u652F
BranchDiscoveryTrait.allBranches=\u6240\u6709\u5206\u652F
BranchDiscoveryTrait.authorityDisplayName=\u4FE1\u4EFB origin \u7684\u5206\u652F
BranchDiscoveryTrait.displayName=\u53D1\u73B0\u5206\u652F
SSHCheckoutTrait.displayName=\u901A\u8FC7 SSH \u68C0\u51FA
SSHCheckoutTrait.incompatibleCredentials=\u5F53\u524D\u914D\u7F6E\u7684\u51ED\u636E\u548C\u8BE5\u884C\u4E3A\u4E0D\u5339\u914D
SSHCheckoutTrait.missingCredentials=\u5F53\u524D\u914D\u7F6E\u7684\u51ED\u636E\u65E0\u6CD5\u627E\u5230
SSHCheckoutTrait.useAgentKey=- \u4F7F\u7528\u6784\u5EFA\u8282\u70B9\u7684 key -
TagDiscoveryTrait.authorityDisplayName=\u4FE1\u4EFB origin \u7684\u6807\u7B7E
TagDiscoveryTrait.displayName=\u53D1\u73B0\u6807\u7B7E
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div>
发现 Pull Request 的策略
<dl>
<dt>合并该 Pull Request 到当前目标分支的版本</dt>
<dd>
一次发现操作,找到要合并到当前目标分支的 Pull Request。
</dd>
<dt>当前 Pull Request 的版本</dt>
<dd>
一次发现操作,找到相对于其自己修改的 Pull Request。
</dd>
<dt>当前 Pull Request 的版本和已经与目标分支合并了的 Pull Request</dt>
<dd>
两次发现操作,第一次找到要合并到当前目标分支的 Pull Request,紧接着第二次并行的找到相对于其自己修改的 Pull Request。
</dd>
</dl>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
发现源仓库和目标仓库相同的 Pull Request。
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
用于获取源码的凭据,必须是一个基于 SSH key 的凭据。
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div>
默认情况下,发现分支和 Pull Request 将和获取源代码的凭据一样使用“用户名加密码”类型。
这意味着获取代码就需要使用<code>https://</code>协议.
xuesea marked this conversation as resolved.
Show resolved Hide resolved
<p>
这个选项可以让你使用选择的 SSH 私有 key 的凭据来通过<code>ssh://</code>协议拉取代码。
</p>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div>
发现代码库的标签。
</div>