From eb7582a53deed2cac2b0e986417f0dae311ee52b Mon Sep 17 00:00:00 2001 From: surenpi Date: Fri, 15 Dec 2017 21:07:16 +0800 Subject: [PATCH] Add Chinese translation for slave agent configure --- .../model/Computer/configure_zh_CN.properties | 25 +++++++++++ .../index_zh_CN.properties | 14 +++--- .../configure-entries_zh_CN.properties | 27 ++++++++++- .../master-slave/availability_zh_CN.html | 45 +++++++++++++++++++ .../master-slave/demand/idleDelay_zh_CN.html | 3 ++ .../demand/inDemandDelay_zh_CN.html | 3 ++ .../master-slave/description_zh_CN.html | 5 +++ 7 files changed, 115 insertions(+), 7 deletions(-) create mode 100644 core/src/main/resources/hudson/model/Computer/configure_zh_CN.properties create mode 100644 war/src/main/webapp/help/system-config/master-slave/availability_zh_CN.html create mode 100644 war/src/main/webapp/help/system-config/master-slave/demand/idleDelay_zh_CN.html create mode 100644 war/src/main/webapp/help/system-config/master-slave/demand/inDemandDelay_zh_CN.html create mode 100644 war/src/main/webapp/help/system-config/master-slave/description_zh_CN.html diff --git a/core/src/main/resources/hudson/model/Computer/configure_zh_CN.properties b/core/src/main/resources/hudson/model/Computer/configure_zh_CN.properties new file mode 100644 index 0000000000..b76bbc325a --- /dev/null +++ b/core/src/main/resources/hudson/model/Computer/configure_zh_CN.properties @@ -0,0 +1,25 @@ +# The MIT License +# +# Copyright (c) 2017, 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. + +title={0} \u8BBE\u7F6E +Name=\u540D\u79F0 +Save=\u4FDD\u5B58 diff --git a/core/src/main/resources/hudson/security/GlobalSecurityConfiguration/index_zh_CN.properties b/core/src/main/resources/hudson/security/GlobalSecurityConfiguration/index_zh_CN.properties index a4a5ce68dd..d8ee8ee3c0 100644 --- a/core/src/main/resources/hudson/security/GlobalSecurityConfiguration/index_zh_CN.properties +++ b/core/src/main/resources/hudson/security/GlobalSecurityConfiguration/index_zh_CN.properties @@ -21,9 +21,13 @@ # THE SOFTWARE. LOADING=\u52A0\u8F7D\u4E2D -Enable\ security=\u542f\u7528\u5b89\u5168 +Enable\ security=\u542F\u7528\u5B89\u5168 Markup\ Formatter= -Access\ Control=\u8bbf\u95ee\u63a7\u5236 -Security\ Realm=\u5b89\u5168\u57df -Authorization=\u6388\u6743\u7b56\u7565 -Save=\u4fdd\u5b58 + +Agents=\u4EE3\u7406 +Agent\ protocols=\u4EE3\u7406\u534F\u8BAE + +Access\ Control=\u8BBF\u95EE\u63A7\u5236 +Security\ Realm=\u5B89\u5168\u57DF +Authorization=\u6388\u6743\u7B56\u7565 +Save=\u4FDD\u5B58 diff --git a/core/src/main/resources/hudson/slaves/DumbSlave/configure-entries_zh_CN.properties b/core/src/main/resources/hudson/slaves/DumbSlave/configure-entries_zh_CN.properties index 2c6ac8d99d..ec8eb777e3 100644 --- a/core/src/main/resources/hudson/slaves/DumbSlave/configure-entries_zh_CN.properties +++ b/core/src/main/resources/hudson/slaves/DumbSlave/configure-entries_zh_CN.properties @@ -1,6 +1,29 @@ -# This file is under the MIT License by authors +# The MIT License +# +# Copyright (c) 2017, 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 +\#\ of\ executors=\u5E76\u53D1\u6784\u5EFA\u6570 Labels=\u6807\u7B7E -Launch\ method=\u542F\u52A8\u65B9\u6CD5 Remote\ root\ directory=\u8FDC\u7A0B\u5DE5\u4F5C\u76EE\u5F55 +Launch\ method=\u542F\u52A8\u65B9\u5F0F +Availability=\u53EF\u7528\u6027 +Node\ Properties=\u8282\u70B9\u5C5E\u6027 diff --git a/war/src/main/webapp/help/system-config/master-slave/availability_zh_CN.html b/war/src/main/webapp/help/system-config/master-slave/availability_zh_CN.html new file mode 100644 index 0000000000..9124339933 --- /dev/null +++ b/war/src/main/webapp/help/system-config/master-slave/availability_zh_CN.html @@ -0,0 +1,45 @@ +
+ 决定Jenkins的启动和停止。 + +
+
+ 尽可能保持代理在线 +
+
+ 该模式下,Jenkins会尽可能让代理保持在线。 +

+ 如果该代理由于临时性网络故障,Jenkins会定期尝试重启它。 +

+ +
+ 让代理在特定的时间段内在线或者离线 +
+
+ 该模式下,Jenkins会根据一个计划表来启动代理,并保持指定的时长。 +

+ 如果在计划周期内代理掉线,Jenkins会定期尝试重启它。 +

+ 当代理在线时间达到字段计划启动的时间,它将会被下线。 +
+ 如果勾选了当有构建时保持在线,并且根据计划表应该下线,Jenkins会等所有的 + 构建任务完成后再下线。 +

+ +
+ 当代理被需要时保持在线,空闲时离线 +
+
+ 该模式下,当代理被需要时Jenkins将会让代理上线,例如有排队的构建任务满足下列条件: +
    +
  • 在队列中排队时间达到需求延迟时间限制
  • +
  • 被构建任务指定(例如有一个匹配的标签表达式)
  • +
+ + 如果发生下述情况,代理将会被下线: +
    +
  • 代理没有需要构建的任务
  • +
  • 该代理已经空闲了指定的时间
  • +
+
+
+
diff --git a/war/src/main/webapp/help/system-config/master-slave/demand/idleDelay_zh_CN.html b/war/src/main/webapp/help/system-config/master-slave/demand/idleDelay_zh_CN.html new file mode 100644 index 0000000000..ab5063cc60 --- /dev/null +++ b/war/src/main/webapp/help/system-config/master-slave/demand/idleDelay_zh_CN.html @@ -0,0 +1,3 @@ +
+ 在Jenkins会把代理下线之前必须保持的空闲分钟数。 +
diff --git a/war/src/main/webapp/help/system-config/master-slave/demand/inDemandDelay_zh_CN.html b/war/src/main/webapp/help/system-config/master-slave/demand/inDemandDelay_zh_CN.html new file mode 100644 index 0000000000..ac944c565e --- /dev/null +++ b/war/src/main/webapp/help/system-config/master-slave/demand/inDemandDelay_zh_CN.html @@ -0,0 +1,3 @@ +
+ Jenkins把代理上线之前必须在队列中等待的分钟数。 +
diff --git a/war/src/main/webapp/help/system-config/master-slave/description_zh_CN.html b/war/src/main/webapp/help/system-config/master-slave/description_zh_CN.html new file mode 100644 index 0000000000..9b60348206 --- /dev/null +++ b/war/src/main/webapp/help/system-config/master-slave/description_zh_CN.html @@ -0,0 +1,5 @@ +
+ 使得该代理更加容易被识别的可选项。 +

+ 可以包含的信息有:CPU的核数、内存大小以及它的物理位置等。 +

\ No newline at end of file -- GitLab