From ed802569169a26812eecb70e7a36eb810651f9fa Mon Sep 17 00:00:00 2001 From: surenpi Date: Wed, 6 Dec 2017 11:58:49 +0800 Subject: [PATCH] Add Chinese translation --- .../hudson/markup/Messages_zh_CN.properties | 23 +++++++++++++ .../config_zh_CN.properties | 2 +- .../config_zh_CN.properties | 25 ++++++++++++++ .../config_zh_CN.properties | 24 +++++++++++++ .../model/Job/permalinks_zh_CN.properties | 2 ++ .../hudson/model/Messages_zh_CN.properties | 34 +++++++++++++++++++ .../config_zh_CN.properties | 25 ++++++++++++++ .../config_zh_CN.properties | 31 +++++++++++++++++ .../config_zh_CN.properties | 3 +- .../config_zh_CN.properties | 25 ++++++++++++++ .../config-assignedLabel_zh_CN.properties | 24 +++++++++++++ .../webapp/help/parameter/trim_zh_CN.html | 3 ++ 12 files changed, 219 insertions(+), 2 deletions(-) create mode 100644 core/src/main/resources/hudson/markup/Messages_zh_CN.properties create mode 100644 core/src/main/resources/hudson/model/ChoiceParameterDefinition/config_zh_CN.properties create mode 100644 core/src/main/resources/hudson/model/FileParameterDefinition/config_zh_CN.properties create mode 100644 core/src/main/resources/hudson/model/PasswordParameterDefinition/config_zh_CN.properties create mode 100644 core/src/main/resources/hudson/model/RunParameterDefinition/config_zh_CN.properties create mode 100644 core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_CN.properties create mode 100644 core/src/main/resources/lib/hudson/project/config-assignedLabel_zh_CN.properties create mode 100644 war/src/main/webapp/help/parameter/trim_zh_CN.html diff --git a/core/src/main/resources/hudson/markup/Messages_zh_CN.properties b/core/src/main/resources/hudson/markup/Messages_zh_CN.properties new file mode 100644 index 0000000000..9f9f5caf2e --- /dev/null +++ b/core/src/main/resources/hudson/markup/Messages_zh_CN.properties @@ -0,0 +1,23 @@ +# 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. + +EscapedMarkupFormatter.DisplayName=\u7EAF\u6587\u672C diff --git a/core/src/main/resources/hudson/model/BooleanParameterDefinition/config_zh_CN.properties b/core/src/main/resources/hudson/model/BooleanParameterDefinition/config_zh_CN.properties index 0703474e44..ce517528d3 100644 --- a/core/src/main/resources/hudson/model/BooleanParameterDefinition/config_zh_CN.properties +++ b/core/src/main/resources/hudson/model/BooleanParameterDefinition/config_zh_CN.properties @@ -21,4 +21,4 @@ # THE SOFTWARE. Name=\u540D\u79F0 Default\ Value=\u9ED8\u8BA4\u503C -Description=\u8BF4\u660E +Description=\u63CF\u8FF0 diff --git a/core/src/main/resources/hudson/model/ChoiceParameterDefinition/config_zh_CN.properties b/core/src/main/resources/hudson/model/ChoiceParameterDefinition/config_zh_CN.properties new file mode 100644 index 0000000000..628e80119f --- /dev/null +++ b/core/src/main/resources/hudson/model/ChoiceParameterDefinition/config_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. + +Name=\u540D\u79F0 +Choices=\u9009\u9879 +Description=\u63CF\u8FF0 diff --git a/core/src/main/resources/hudson/model/FileParameterDefinition/config_zh_CN.properties b/core/src/main/resources/hudson/model/FileParameterDefinition/config_zh_CN.properties new file mode 100644 index 0000000000..15c668fdb4 --- /dev/null +++ b/core/src/main/resources/hudson/model/FileParameterDefinition/config_zh_CN.properties @@ -0,0 +1,24 @@ +# 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. + +File\ location=\u6587\u4EF6\u8DEF\u5F84 +Description=\u63CF\u8FF0 diff --git a/core/src/main/resources/hudson/model/Job/permalinks_zh_CN.properties b/core/src/main/resources/hudson/model/Job/permalinks_zh_CN.properties index a743d1c687..f7ce595cdf 100644 --- a/core/src/main/resources/hudson/model/Job/permalinks_zh_CN.properties +++ b/core/src/main/resources/hudson/model/Job/permalinks_zh_CN.properties @@ -21,3 +21,5 @@ # THE SOFTWARE. Permalinks=\u76F8\u5173\u8FDE\u63A5 +Restrict\ where\ this\ project\ can\ be\ run=\u9650\u5236\u9879\u76EE\u7684\u8FD0\u884C\u8282\u70B9 +Label\ Expression=\u6807\u7B7E\u8868\u8FBE\u5F0F 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 379e26ac1d..7c3ccde407 100644 --- a/core/src/main/resources/hudson/model/Messages_zh_CN.properties +++ b/core/src/main/resources/hudson/model/Messages_zh_CN.properties @@ -26,6 +26,30 @@ FreeStyleProject.Description=\u8FD9\u662FJenkins\u7684\u4E3B\u8981\u529F\u80FD.J HealthReport.EmptyString= +BallColor.Aborted=\u5DF2\u7EC8\u6B62 +BallColor.Disabled=\u7981\u7528 +BallColor.Failed=\u5931\u8D25 +BallColor.InProgress=\u6267\u884C\u4E2D +BallColor.NotBuilt=\u672A\u6784\u5EFA +BallColor.Pending=\u7B49\u5F85 +BallColor.Success=\u6210\u529F +BallColor.Unstable=\u4E0D\u7A33\u5B9A + +Item.Permissions.Title=\u4EFB\u52A1 +Item.CREATE.description=\u521B\u5EFA\u65B0\u7684\u4EFB\u52A1\u3002 +Item.DELETE.description=\u5220\u9664\u4EFB\u52A1\u3002 +Item.CONFIGURE.description=\u4FEE\u6539\u4EFB\u52A1\u7684\u914D\u7F6E\u3002 + +ResultTrend.Aborted=\u5DF2\u7EC8\u6B62 +ResultTrend.Failure=\u5931\u8D25 +ResultTrend.Fixed=\u56FA\u5B9A +ResultTrend.NotBuilt=\u672A\u6784\u5EFA +ResultTrend.NowUnstable=\u4E0D\u7A33\u5B9A +ResultTrend.StillFailing=\u4ECD\u7136\u5931\u8D25 +ResultTrend.StillUnstable=\u4ECD\u7136\u4E0D\u7A33\u5B9A +ResultTrend.Success=\u6210\u529F +ResultTrend.Unstable=\u4E0D\u7A33\u5B9A + Node.Mode.NORMAL=\u5C3D\u53EF\u80FD\u7684\u4F7F\u7528\u8FD9\u4E2A\u8282\u70B9 Node.Mode.EXCLUSIVE=\u53EA\u5141\u8BB8\u8FD0\u884C\u7ED1\u5B9A\u5230\u8FD9\u53F0\u673A\u5668\u7684Job @@ -34,3 +58,13 @@ 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 + +ParameterAction.DisplayName=\u53C2\u6570 +StringParameterDefinition.DisplayName=\u5B57\u7B26\u53C2\u6570 +TextParameterDefinition.DisplayName=\u6587\u672C\u53C2\u6570 +FileParameterDefinition.DisplayName=\u6587\u4EF6\u53C2\u6570 +BooleanParameterDefinition.DisplayName=\u5E03\u5C14\u503C\u53C2\u6570 +ChoiceParameterDefinition.DisplayName=\u9009\u9879\u53C2\u6570 +ChoiceParameterDefinition.MissingChoices=\u9700\u8981\u9009\u9879\u3002 +RunParameterDefinition.DisplayName=\u8FD0\u884C\u65F6\u53C2\u6570 +PasswordParameterDefinition.DisplayName=\u5BC6\u7801\u53C2\u6570 diff --git a/core/src/main/resources/hudson/model/PasswordParameterDefinition/config_zh_CN.properties b/core/src/main/resources/hudson/model/PasswordParameterDefinition/config_zh_CN.properties new file mode 100644 index 0000000000..67cd3a0398 --- /dev/null +++ b/core/src/main/resources/hudson/model/PasswordParameterDefinition/config_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. + +Name=\u540D\u79F0 +Default\ Value=\u9ED8\u8BA4\u503C +Description=\u63CF\u8FF0 diff --git a/core/src/main/resources/hudson/model/RunParameterDefinition/config_zh_CN.properties b/core/src/main/resources/hudson/model/RunParameterDefinition/config_zh_CN.properties new file mode 100644 index 0000000000..22a181a57a --- /dev/null +++ b/core/src/main/resources/hudson/model/RunParameterDefinition/config_zh_CN.properties @@ -0,0 +1,31 @@ +# 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. + +Name=\u540D\u79F0 +Project=\u9879\u76EE +Description=\u63CF\u8FF0 + +All\ Builds=\u6240\u6709\u6784\u5EFA +Successful\ Builds\ Only=\u6210\u529F\u7684\u6784\u5EFA +Completed\ Builds\ Only=\u6267\u884C\u5B8C\u6210\u7684\u6784\u5EFA +Stable\ Builds\ Only=\u7A33\u5B9A\u7684\u6784\u5EFA + diff --git a/core/src/main/resources/hudson/model/StringParameterDefinition/config_zh_CN.properties b/core/src/main/resources/hudson/model/StringParameterDefinition/config_zh_CN.properties index 43c49864a8..f051916103 100644 --- a/core/src/main/resources/hudson/model/StringParameterDefinition/config_zh_CN.properties +++ b/core/src/main/resources/hudson/model/StringParameterDefinition/config_zh_CN.properties @@ -2,4 +2,5 @@ Default\ Value=\u9ED8\u8BA4\u503C Description=\u63CF\u8FF0 -Name=\u540D\u5B57 +Name=\u540D\u79F0 +Trim\ the\ string=\u6E05\u9664\u7A7A\u767D\u5B57\u7B26 diff --git a/core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_CN.properties b/core/src/main/resources/hudson/model/TextParameterDefinition/config_zh_CN.properties new file mode 100644 index 0000000000..67cd3a0398 --- /dev/null +++ b/core/src/main/resources/hudson/model/TextParameterDefinition/config_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. + +Name=\u540D\u79F0 +Default\ Value=\u9ED8\u8BA4\u503C +Description=\u63CF\u8FF0 diff --git a/core/src/main/resources/lib/hudson/project/config-assignedLabel_zh_CN.properties b/core/src/main/resources/lib/hudson/project/config-assignedLabel_zh_CN.properties new file mode 100644 index 0000000000..b9384115a4 --- /dev/null +++ b/core/src/main/resources/lib/hudson/project/config-assignedLabel_zh_CN.properties @@ -0,0 +1,24 @@ +# 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. + +Restrict\ where\ this\ project\ can\ be\ run=\u9650\u5236\u9879\u76EE\u7684\u8FD0\u884C\u8282\u70B9 +Label\ Expression=\u6807\u7B7E\u8868\u8FBE\u5F0F diff --git a/war/src/main/webapp/help/parameter/trim_zh_CN.html b/war/src/main/webapp/help/parameter/trim_zh_CN.html new file mode 100644 index 0000000000..a3c56e13b7 --- /dev/null +++ b/war/src/main/webapp/help/parameter/trim_zh_CN.html @@ -0,0 +1,3 @@ +
+ 清除字符串前后的清白字符。 +
-- GitLab