-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from xuesea/master
Add translation for github branch source plugin
- Loading branch information
Showing
31 changed files
with
482 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,9 @@ target | |
|
||
# jenkins stuff | ||
work | ||
|
||
.classpath | ||
.settings/ | ||
.bin/ | ||
.factorypath | ||
.project |
23 changes: 23 additions & 0 deletions
23
...s/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/config_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
Strategy=\u7b56\u7565 |
18 changes: 18 additions & 0 deletions
18
...rg/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help-strategyId_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
3 changes: 3 additions & 0 deletions
3
...resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
在目标仓库中发现分支。 | ||
</div> |
23 changes: 23 additions & 0 deletions
23
...ain/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/config_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
Name=\u540d\u79f0 |
3 changes: 3 additions & 0 deletions
3
...main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
23 changes: 23 additions & 0 deletions
23
...hub_branch_source/ForkPullRequestDiscoveryTrait/TrustContributors/config_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
blurb=<div class="warning">\u8be5\u9009\u9879\u5728\u67d0\u4e9b\u73af\u5883\u4e0b\u662f\u4e0d\u5b89\u5168\u7684\u3002\u8bf7\u70b9\u51fb\u5e2e\u52a9\u6309\u94ae\u67e5\u770b\u8be6\u60c5\u3002</div> |
23 changes: 23 additions & 0 deletions
23
.../github_branch_source/ForkPullRequestDiscoveryTrait/TrustEveryone/config_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
blurb=<div class="warning">\u8be5\u9009\u9879\u901a\u5e38\u5f0f\u4e0d\u5b89\u5168\u7684\u3002\u8bf7\u70b9\u51fb\u5e2e\u52a9\u6309\u94ae\u67e5\u770b\u8be6\u60c5\u3002</div> |
23 changes: 23 additions & 0 deletions
23
...ithub_branch_source/ForkPullRequestDiscoveryTrait/TrustPermission/config_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
blurb=\u53ef\u80fd\u4e0d\u652f\u6301\u65e7\u7248\u672c\u7684\u4f01\u4e1a\u7ea7 GitHub \u3002\u70b9\u51fb\u5e2e\u52a9\u6309\u94ae\u67e5\u770b\u8be6\u60c5\u3002 |
24 changes: 24 additions & 0 deletions
24
...kinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/config_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
Strategy=\u7b56\u7565 | ||
Trust=\u4fe1\u4efb |
18 changes: 18 additions & 0 deletions
18
...sci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help-strategyId_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|
3 changes: 3 additions & 0 deletions
3
.../org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help_zn_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
从目标库的派生库发现 Pull Request。 | ||
</div> |
23 changes: 23 additions & 0 deletions
23
...gins/github_branch_source/GitHubRepositoryDescriptionColumn/columnHeader_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
Description=\u63cf\u8ff0 |
25 changes: 25 additions & 0 deletions
25
...ces/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/config_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
API\ endpoint=API \u5730\u5740 | ||
Credentials=\u51ED\u636E | ||
Owner=\u62E5\u6709\u8005 |
4 changes: 4 additions & 0 deletions
4
...rces/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-apiUri_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div> | ||
The server to connect to. The list of servers is configured in the <strong>Manage Jenkins » Configure | ||
Jenkins › GitHub Enterprise Servers</strong> screen. | ||
</div> |
17 changes: 17 additions & 0 deletions
17
...g/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-credentialsId_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
3 changes: 3 additions & 0 deletions
3
...s/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-repoOwner_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
<p>指定<strong>Github 组织名</strong>或<strong>GitHub 用户名</strong>。</p> | ||
</div> |
28 changes: 28 additions & 0 deletions
28
...org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/config-detail_zh_CN.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# The MIT License | ||
# | ||
# Copyright (c) 2018, suren <zxjlwt@126.com> | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is | ||
# furnished to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
# THE SOFTWARE. | ||
|
||
API\ endpoint=API \u5730\u5740 | ||
Behaviours=\u884C\u4E3A | ||
Credentials=\u51ED\u636E | ||
Owner=\u62E5\u6709\u8005 | ||
Repository=\u4EE3\u7801\u4ED3\u5E93 | ||
|
3 changes: 3 additions & 0 deletions
3
...sources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-apiUri_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
需要连接的服务器地址。已配置的服务列表在<strong>系统管理 » 系统配置 › GitHub Enterprise Servers</strong>区域。 | ||
</div> |
17 changes: 17 additions & 0 deletions
17
.../org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-credentialsId_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
3 changes: 3 additions & 0 deletions
3
...rces/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repoOwner_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
<p>指定<strong>Github 组织名</strong>或<strong>GitHub 用户名</strong>。</p> | ||
</div> |
3 changes: 3 additions & 0 deletions
3
...ces/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repository_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
需要扫描的代码仓库。 | ||
</div> |
10 changes: 10 additions & 0 deletions
10
...sources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-traits_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div> | ||
控制行为来源于 Github 仓库。所有的行为都按编号分组。 | ||
<dl> | ||
<dt>仓库内</dt> | ||
<dd>这些行为决定会发现的结果,<strong>如果没有配置发现行为,则什么都不会被发现</strong></dd> | ||
<dt>普通行为</dt> | ||
<dd>这种行为影响所有的分支和 pull request | ||
</dd> | ||
</dl> | ||
</div> |
Oops, something went wrong.