From a720b5584351b6023bd470b5e7acaf16be11de7b Mon Sep 17 00:00:00 2001 From: lqli Date: Tue, 16 Oct 2018 14:26:21 +0800 Subject: [PATCH] Add translation for github branch source plugin --- .gitignore | 6 ++ .../config_zh_CN.properties | 23 ++++++ .../help-strategyId_zh_CN.html | 18 +++++ .../BranchDiscoveryTrait/help_zh_CN.html | 3 + .../Endpoint/config_zh_CN.properties | 23 ++++++ .../Endpoint/help-apiUri_zh_CN.html | 3 + .../TrustContributors/config_zh_CN.properties | 23 ++++++ .../TrustEveryone/config_zh_CN.properties | 23 ++++++ .../TrustPermission/config_zh_CN.properties | 23 ++++++ .../config_zh_CN.properties | 24 ++++++ .../help-strategyId_zh_CN.html | 18 +++++ .../help_zn_CN.html | 3 + .../columnHeader_zh_CN.properties | 23 ++++++ .../config_zh_CN.properties | 25 ++++++ .../GitHubSCMNavigator/help-apiUri_zh_CN.html | 4 + .../help-credentialsId_zh_CN.html | 17 ++++ .../help-repoOwner_zh_CN.html | 3 + .../config-detail_zh_CN.properties | 28 +++++++ .../GitHubSCMSource/help-apiUri_zh_CN.html | 3 + .../help-credentialsId_zh_CN.html | 17 ++++ .../GitHubSCMSource/help-repoOwner_zh_CN.html | 3 + .../help-repository_zh_CN.html | 3 + .../GitHubSCMSource/help-traits_zh_CN.html | 10 +++ .../Messages_zh_CN.properties | 77 +++++++++++++++++++ .../config_zh_CN.properties | 23 ++++++ .../help-strategyId_zh_CN.html | 17 ++++ .../help_zh_CN.html | 3 + .../SSHCheckoutTrait/config_zh_CN.properties | 23 ++++++ .../help-credentialsId._zh_CN.html | 3 + .../SSHCheckoutTrait/help_zh_CN.html | 7 ++ .../TagDiscoveryTrait/help_zh_CN.html | 3 + 31 files changed, 482 insertions(+) create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help-strategyId_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustContributors/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustEveryone/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustPermission/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help-strategyId_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help_zn_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubRepositoryDescriptionColumn/columnHeader_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-apiUri_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-credentialsId_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-repoOwner_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/config-detail_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-apiUri_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-credentialsId_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repoOwner_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repository_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-traits_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Messages_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/help-strategyId_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/help_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/config_zh_CN.properties create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/help-credentialsId._zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/help_zh_CN.html create mode 100644 github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait/help_zh_CN.html diff --git a/.gitignore b/.gitignore index acf9c8f..f5e0cbc 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,9 @@ target # jenkins stuff work + +.classpath +.settings/ +.bin/ +.factorypath +.project \ No newline at end of file diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/config_zh_CN.properties new file mode 100644 index 0000000..0e354ef --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/config_zh_CN.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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 diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help-strategyId_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help-strategyId_zh_CN.html new file mode 100644 index 0000000..9fb6715 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help-strategyId_zh_CN.html @@ -0,0 +1,18 @@ +
+ 发现分支策略 +
+
不包括作为 PRs 的分支
+
+ 如果你想要发现 PR 分支,那同时发现 PR 分支和与其拥有相同变更的分支是没有意义的。 +
+
只包括作为 PRs 的分支
+
+ 此选项用于在从插件的旧版本升级时保留遗留行为。 + 注释: 如果你有这个选项的实际使用场景,可以对本段文本提一个 Pull Request。 +
+
所有分支
+
+ 发现所有的源仓库分支。 +
+
+
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help_zh_CN.html new file mode 100644 index 0000000..1be650e --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/BranchDiscoveryTrait/help_zh_CN.html @@ -0,0 +1,3 @@ +
+ 在目标仓库中发现分支。 +
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/config_zh_CN.properties new file mode 100644 index 0000000..6d4d48e --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/config_zh_CN.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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 diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri_zh_CN.html new file mode 100644 index 0000000..739082a --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Endpoint/help-apiUri_zh_CN.html @@ -0,0 +1,3 @@ +

+ GitHub API 地址,例如:https://github.example.com/api/v3/。 +

\ No newline at end of file diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustContributors/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustContributors/config_zh_CN.properties new file mode 100644 index 0000000..36268ca --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustContributors/config_zh_CN.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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=
\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
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustEveryone/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustEveryone/config_zh_CN.properties new file mode 100644 index 0000000..47375ef --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustEveryone/config_zh_CN.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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=
\u8be5\u9009\u9879\u901a\u5e38\u5f0f\u4e0d\u5b89\u5168\u7684\u3002\u8bf7\u70b9\u51fb\u5e2e\u52a9\u6309\u94ae\u67e5\u770b\u8be6\u60c5\u3002
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustPermission/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustPermission/config_zh_CN.properties new file mode 100644 index 0000000..23bc36c --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/TrustPermission/config_zh_CN.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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 diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/config_zh_CN.properties new file mode 100644 index 0000000..62fd6ff --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/config_zh_CN.properties @@ -0,0 +1,24 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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 diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help-strategyId_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help-strategyId_zh_CN.html new file mode 100644 index 0000000..a0f381c --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help-strategyId_zh_CN.html @@ -0,0 +1,18 @@ +
+ 发现 Pull Request 的策略 +
+
合并该 Pull Request 到当前目标分支的版本
+
+ 一次发现操作,找到要合并到当前目标分支的 Pull Request。 +
+
当前 Pull Request 的版本
+
+ 一次发现操作,找到相对于其自己修改的 Pull Request。 +
+
当前 Pull Request 的版本和已经与目标分支合并了的 Pull Request
+
+ 两次发现操作,第一次找到要合并到当前目标分支的 Pull Request,紧接着第二次并行的找到相对于其自己修改的 Pull Request。 +
+
+
+ \ No newline at end of file diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help_zn_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help_zn_CN.html new file mode 100644 index 0000000..2d57e12 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/ForkPullRequestDiscoveryTrait/help_zn_CN.html @@ -0,0 +1,3 @@ +
+ 从目标库的派生库发现 Pull Request。 +
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubRepositoryDescriptionColumn/columnHeader_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubRepositoryDescriptionColumn/columnHeader_zh_CN.properties new file mode 100644 index 0000000..7a54890 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubRepositoryDescriptionColumn/columnHeader_zh_CN.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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 diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/config_zh_CN.properties new file mode 100644 index 0000000..a191a31 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/config_zh_CN.properties @@ -0,0 +1,25 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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 diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-apiUri_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-apiUri_zh_CN.html new file mode 100644 index 0000000..50cae93 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-apiUri_zh_CN.html @@ -0,0 +1,4 @@ +
+ The server to connect to. The list of servers is configured in the Manage Jenkins » Configure + Jenkins › GitHub Enterprise Servers screen. +
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-credentialsId_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-credentialsId_zh_CN.html new file mode 100644 index 0000000..6ce13a8 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-credentialsId_zh_CN.html @@ -0,0 +1,17 @@ +
+

+ 用于扫描分支和 Pull Request,获取源代码,标记提交状态。 +

+

+ 注意: 仅支持“用户名+密码”类型的凭据。 + 由于 Jenkins 使用的是 GitHub API, 而它仅支持上述类型的授权方式,所以其他类型的凭据将会被过滤掉。 +

+

+ 如果凭据为空,则只能访问公有代码仓库,且本地的变更信息不能同步到 GitHub。 +

+

+ 如果您的组织下包含私有库,您需要指定一个对这些库有访问权限的凭据。 + 可以通过创建一个“用户名密+码类型”的凭据,密码通配置 Token 获取:GitHub personal access tokens。 + 必要的权限范围为 "repo"。 +

+
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-repoOwner_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-repoOwner_zh_CN.html new file mode 100644 index 0000000..172cf40 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator/help-repoOwner_zh_CN.html @@ -0,0 +1,3 @@ +
+

指定Github 组织名GitHub 用户名

+
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/config-detail_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/config-detail_zh_CN.properties new file mode 100644 index 0000000..91b17dd --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/config-detail_zh_CN.properties @@ -0,0 +1,28 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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 + diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-apiUri_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-apiUri_zh_CN.html new file mode 100644 index 0000000..60238cb --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-apiUri_zh_CN.html @@ -0,0 +1,3 @@ +
+ 需要连接的服务器地址。已配置的服务列表在系统管理 » 系统配置 › GitHub Enterprise Servers区域。 +
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-credentialsId_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-credentialsId_zh_CN.html new file mode 100644 index 0000000..6ce13a8 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-credentialsId_zh_CN.html @@ -0,0 +1,17 @@ +
+

+ 用于扫描分支和 Pull Request,获取源代码,标记提交状态。 +

+

+ 注意: 仅支持“用户名+密码”类型的凭据。 + 由于 Jenkins 使用的是 GitHub API, 而它仅支持上述类型的授权方式,所以其他类型的凭据将会被过滤掉。 +

+

+ 如果凭据为空,则只能访问公有代码仓库,且本地的变更信息不能同步到 GitHub。 +

+

+ 如果您的组织下包含私有库,您需要指定一个对这些库有访问权限的凭据。 + 可以通过创建一个“用户名密+码类型”的凭据,密码通配置 Token 获取:GitHub personal access tokens。 + 必要的权限范围为 "repo"。 +

+
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repoOwner_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repoOwner_zh_CN.html new file mode 100644 index 0000000..172cf40 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repoOwner_zh_CN.html @@ -0,0 +1,3 @@ +
+

指定Github 组织名GitHub 用户名

+
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repository_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repository_zh_CN.html new file mode 100644 index 0000000..72ecfcd --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-repository_zh_CN.html @@ -0,0 +1,3 @@ +
+ 需要扫描的代码仓库。 +
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-traits_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-traits_zh_CN.html new file mode 100644 index 0000000..890a083 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource/help-traits_zh_CN.html @@ -0,0 +1,10 @@ +
+ 控制行为来源于 Github 仓库。所有的行为都按编号分组。 +
+
仓库内
+
这些行为决定会发现的结果,如果没有配置发现行为,则什么都不会被发现
+
普通行为
+
这种行为影响所有的分支和 pull request +
+
+
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Messages_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Messages_zh_CN.properties new file mode 100644 index 0000000..8ac5f72 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/Messages_zh_CN.properties @@ -0,0 +1,77 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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. + +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 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 + +GitHubLink.DisplayName=GitHub + +GitHubOrgMetadataAction.IconDescription=GitHub \u7EC4\u7EC7 +GitHubPullRequestFilter.DisplayName=\u53EA\u6709 GitHub Pull Request \u7684\u4EFB\u52A1 + +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 + +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} + +OriginPullRequestDiscoveryTrait.authorityDisplayName=\u4FE1\u4EFB origin \u7684 Pull Request +PullRequestSCMHead.Pronoun=Pull Request +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 diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/config_zh_CN.properties new file mode 100644 index 0000000..0e354ef --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/config_zh_CN.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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 diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/help-strategyId_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/help-strategyId_zh_CN.html new file mode 100644 index 0000000..a8f1ddf --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/help-strategyId_zh_CN.html @@ -0,0 +1,17 @@ +
+ 发现 Pull Request 的策略 +
+
合并该 Pull Request 到当前目标分支的版本
+
+ 一次发现操作,找到要合并到当前目标分支的 Pull Request。 +
+
当前 Pull Request 的版本
+
+ 一次发现操作,找到相对于其自己修改的 Pull Request。 +
+
当前 Pull Request 的版本和已经与目标分支合并了的 Pull Request
+
+ 两次发现操作,第一次找到要合并到当前目标分支的 Pull Request,紧接着第二次并行的找到相对于其自己修改的 Pull Request。 +
+
+
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/help_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/help_zh_CN.html new file mode 100644 index 0000000..1c1a7c8 --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/OriginPullRequestDiscoveryTrait/help_zh_CN.html @@ -0,0 +1,3 @@ +
+ 发现源仓库和目标仓库相同的 Pull Request。 +
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/config_zh_CN.properties b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/config_zh_CN.properties new file mode 100644 index 0000000..fb5339e --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/config_zh_CN.properties @@ -0,0 +1,23 @@ +# The MIT License +# +# Copyright (c) 2018, suren +# +# 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. + +Credentials=\u51ed\u636e diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/help-credentialsId._zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/help-credentialsId._zh_CN.html new file mode 100644 index 0000000..4da3e6e --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/help-credentialsId._zh_CN.html @@ -0,0 +1,3 @@ +
+ 用于获取源码的凭据,必须是一个基于 SSH key 的凭据。 +
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/help_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/help_zh_CN.html new file mode 100644 index 0000000..1c815ff --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait/help_zh_CN.html @@ -0,0 +1,7 @@ +
+ 默认情况下,发现分支和 Pull Request 将和获取源代码的凭据一样使用“用户名加密码”类型。 + 这意味着获取代码就需要使用https://协议. +

+ 这个选项可以让你使用选择的 SSH 私有 key 的凭据来通过ssh://协议拉取代码。 +

+
diff --git a/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait/help_zh_CN.html b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait/help_zh_CN.html new file mode 100644 index 0000000..404f3be --- /dev/null +++ b/github-branch-source-plugin/src/main/resources/org/jenkinsci/plugins/github_branch_source/TagDiscoveryTrait/help_zh_CN.html @@ -0,0 +1,3 @@ +
+ 发现代码库的标签。 +