From 31bac883a3976a6ded70c1da31ac81737cecda37 Mon Sep 17 00:00:00 2001 From: surenpi Date: Sat, 4 Nov 2017 22:17:36 +0800 Subject: [PATCH] Add Chinese translation --- .../configure-entries_zh_CN.properties | 7 ++-- .../hudson/model/Messages_zh_CN.properties | 1 + .../hudson/model/View/newJob_zh_CN.properties | 1 + .../hudson/model/View/sidepanel.properties | 7 +++- .../model/View/sidepanel_zh_CN.properties | 7 ++-- .../SlaveComputer/disconnect_zh_CN.properties | 3 ++ .../model/Jenkins/newView_zh_CN.properties | 4 ++- .../jenkins/model/Messages_zh_CN.properties | 33 +++++++++++++++++++ 8 files changed, 55 insertions(+), 8 deletions(-) diff --git a/core/src/main/resources/hudson/model/ListView/configure-entries_zh_CN.properties b/core/src/main/resources/hudson/model/ListView/configure-entries_zh_CN.properties index 5b6ea514ed..4e571856e2 100644 --- a/core/src/main/resources/hudson/model/ListView/configure-entries_zh_CN.properties +++ b/core/src/main/resources/hudson/model/ListView/configure-entries_zh_CN.properties @@ -23,11 +23,12 @@ Add\ column=\u6DFB\u52A0\u5217 All\ selected\ jobs=\u6240\u6709\u9009\u62E9\u7684Jobs Columns=\u5217 -Disabled\ jobs\ only=\u53EA\u663E\u793A\u7981\u7528\u7684Jobs -Enabled\ jobs\ only=\u53EA\u663E\u793A\u542F\u7528\u7684Jobs -Job\ Filters=Job\u8FC7\u6EE4\u5668 +Disabled\ jobs\ only=\u53EA\u663E\u793A\u7981\u7528\u7684\u4EFB\u52A1 +Enabled\ jobs\ only=\u53EA\u663E\u793A\u542F\u7528\u7684\u4EFB\u52A1 +Job\ Filters=\u4EFB\u52A1\u8FC7\u6EE4\u5668 Regular\ expression=\u6B63\u5219\u8868\u8FBE\u5F0F Status\ Filter=\u72B6\u6001\u8FC7\u6EE4 Recurse\ in\ subfolders=\u904D\u5386\u5B50\u6587\u4EF6\u5939 Jobs=\u4EFB\u52A1\u5217\u8868 Use\ a\ regular\ expression\ to\ include\ jobs\ into\ the\ view=\u4F7F\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u5728\u89C6\u56FE\u4E2D\u663E\u793AJobs +Add\ Job\ Filter=\u589E\u52A0\u4EFB\u52A1\u8FC7\u6EE4\u5668 diff --git a/core/src/main/resources/hudson/model/Messages_zh_CN.properties b/core/src/main/resources/hudson/model/Messages_zh_CN.properties index 15e32b0d30..379e26ac1d 100644 --- a/core/src/main/resources/hudson/model/Messages_zh_CN.properties +++ b/core/src/main/resources/hudson/model/Messages_zh_CN.properties @@ -33,3 +33,4 @@ MyView.DisplayName=\u6211\u7684\u89C6\u56FE ManageJenkinsAction.DisplayName=\u7CFB\u7EDF\u7BA1\u7406 ParametersDefinitionProperty.DisplayName=\u53C2\u6570\u5316\u6784\u5EFA\u8FC7\u7A0B +ListView.DisplayName=\u7B80\u5355\u89C6\u56FE diff --git a/core/src/main/resources/hudson/model/View/newJob_zh_CN.properties b/core/src/main/resources/hudson/model/View/newJob_zh_CN.properties index f8f0adb040..9f6b147f28 100644 --- a/core/src/main/resources/hudson/model/View/newJob_zh_CN.properties +++ b/core/src/main/resources/hudson/model/View/newJob_zh_CN.properties @@ -29,3 +29,4 @@ ItemName.help=\u5FC5\u586B\u9879 CopyOption.label=\u590D\u5236 CopyOption.placeholder=\u8F93\u5165\u81EA\u52A8\u5B8C\u6210 CopyOption.description=\u5982\u679C\u4F60\u60F3\u6839\u636E\u4E00\u4E2A\u5DF2\u7ECF\u5B58\u5728\u7684\u4EFB\u52A1\u521B\u5EFA\uFF0C\u53EF\u4EE5\u4F7F\u7528\u8FD9\u4E2A\u9009\u9879 +NewJob=\u65B0\u5EFA{0} diff --git a/core/src/main/resources/hudson/model/View/sidepanel.properties b/core/src/main/resources/hudson/model/View/sidepanel.properties index 41d26287d3..6e8a865f47 100644 --- a/core/src/main/resources/hudson/model/View/sidepanel.properties +++ b/core/src/main/resources/hudson/model/View/sidepanel.properties @@ -1 +1,6 @@ -NewJob=New {0} \ No newline at end of file +NewJob=New {0} +Build\ History= +Check\ File\ Fingerprint= +Delete\ View= +Edit\ View= +People= \ No newline at end of file diff --git a/core/src/main/resources/hudson/model/View/sidepanel_zh_CN.properties b/core/src/main/resources/hudson/model/View/sidepanel_zh_CN.properties index b31b076fe1..182c409c8e 100644 --- a/core/src/main/resources/hudson/model/View/sidepanel_zh_CN.properties +++ b/core/src/main/resources/hudson/model/View/sidepanel_zh_CN.properties @@ -1,6 +1,6 @@ # The MIT License # -# Copyright (c) 2004-2010, Sun Microsystems, Inc. +# Copyright (c) 2004-2017, Sun Microsystems, Inc., 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 @@ -20,10 +20,11 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -Build\ History=\u4EFB\u52A1\u5386\u53F2 +Build\ History=\u6784\u5EFA\u5386\u53F2 Check\ File\ Fingerprint=\u68C0\u67E5\u6587\u4EF6\u6307\u7EB9 Delete\ View=\u5220\u9664\u89C6\u56FE Edit\ View=\u7F16\u8F91\u89C6\u56FE -NewJob=\u65B0\u5EFA +NewJob=\u65B0\u5EFA{0} People=\u7528\u6237 Project\ Relationship=\u9879\u76EE\u5173\u7CFB +Manage\ Jenkins=\u7BA1\u7406Jenkins diff --git a/core/src/main/resources/hudson/slaves/SlaveComputer/disconnect_zh_CN.properties b/core/src/main/resources/hudson/slaves/SlaveComputer/disconnect_zh_CN.properties index aaa4ea2539..815e1b088d 100644 --- a/core/src/main/resources/hudson/slaves/SlaveComputer/disconnect_zh_CN.properties +++ b/core/src/main/resources/hudson/slaves/SlaveComputer/disconnect_zh_CN.properties @@ -21,3 +21,6 @@ # THE SOFTWARE. blurb=\u4F60\u53EF\u4EE5\u6DFB\u52A0\u8BA9\u8BE5\u8282\u70B9\u4E0B\u7EBF\u7684\u7406\u7531\uFF0C\u8FD9\u6837\u5176\u4ED6\u4EBA\u5C31\u80FD\u770B\u5230\u539F\u56E0\u4E86\u3002 +Yes=\u662F +disconnect=\u65AD\u5F00\u8FDE\u63A5 +Are\ you\ sure\ about\ disconnecting?=\u4F60\u786E\u5B9A\u8981\u65AD\u5F00\u8FDE\u63A5\uFF1F diff --git a/core/src/main/resources/jenkins/model/Jenkins/newView_zh_CN.properties b/core/src/main/resources/jenkins/model/Jenkins/newView_zh_CN.properties index 809ee9a343..3c312fb22d 100644 --- a/core/src/main/resources/jenkins/model/Jenkins/newView_zh_CN.properties +++ b/core/src/main/resources/jenkins/model/Jenkins/newView_zh_CN.properties @@ -1,6 +1,6 @@ # The MIT License # -# Copyright (c) 2004-2010, Sun Microsystems, Inc. +# Copyright (c) 2004-2017, Sun Microsystems, Inc. ,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 @@ -21,3 +21,5 @@ # THE SOFTWARE. View\ name=\u89C6\u56FE\u540D\u79F0 +New\ View=\u65B0\u5EFA\u89C6\u56FE +Copy\ Existing\ View=\u62F7\u8D1D\u5DF2\u7ECF\u5B58\u5728\u7684\u89C6\u56FE diff --git a/core/src/main/resources/jenkins/model/Messages_zh_CN.properties b/core/src/main/resources/jenkins/model/Messages_zh_CN.properties index a44bd54ddc..883f8b0f37 100644 --- a/core/src/main/resources/jenkins/model/Messages_zh_CN.properties +++ b/core/src/main/resources/jenkins/model/Messages_zh_CN.properties @@ -1,2 +1,35 @@ +# 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. + ParameterizedJobMixIn.build_now=\u7ACB\u5373\u6784\u5EFA BuildDiscarderProperty.displayName=\u4E22\u5F03\u65E7\u7684\u6784\u5EFA +NewViewLink.NewView=\u65B0\u5EFA\u89C6\u56FE +Hudson.ViewName=\u5168\u90E8 +Hudson.ViewAlreadyExists=\u89C6\u56FE"{0}"\u5DF2\u7ECF\u5B58\u5728 +Hudson.JobAlreadyExists=\u4EFB\u52A1\u540D"{0}"\u5DF2\u7ECF\u5B58\u5728 +CLI.restart.shortDescription=\u91CD\u65B0\u542F\u52A8Jenkins +CLI.safe-restart.shortDescription=\u5B89\u5168\u5730\u91CD\u65B0\u542F\u52A8Jenkins +CLI.keep-build.shortDescription=\u6C38\u4E45\u4FDD\u7559\u8FD9\u6B21\u6784\u5EFA +CauseOfInterruption.ShortDescription=\u88AB {0} \u7EC8\u6B62 +CLI.shutdown.shortDescription=\u7ACB\u523B\u5173\u95EDJenkins +CLI.disable-job.shortDescription=\u7981\u7528\u4EFB\u52A1 +CLI.enable-job.shortDescription=\u542F\u7528\u4EFB\u52A1 -- GitLab