From 3e0ce9cfb5b09f2594b55351d49808cb16c520e5 Mon Sep 17 00:00:00 2001 From: Yanjun Shi Date: Tue, 7 Apr 2020 21:27:57 +0800 Subject: [PATCH] Add label verifier localization support (#109) * Add label-vevifier localization support * add pom resources * update folders --- .../label_verifier/Messages_zh_CN.properties | 19 +++++++++++++++++++ pom.xml | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 plugins/label-verifier-plugin/src/main/resources/hudson/plugins/label_verifier/Messages_zh_CN.properties diff --git a/plugins/label-verifier-plugin/src/main/resources/hudson/plugins/label_verifier/Messages_zh_CN.properties b/plugins/label-verifier-plugin/src/main/resources/hudson/plugins/label_verifier/Messages_zh_CN.properties new file mode 100644 index 0000000..5336db3 --- /dev/null +++ b/plugins/label-verifier-plugin/src/main/resources/hudson/plugins/label_verifier/Messages_zh_CN.properties @@ -0,0 +1,19 @@ +# Main +LabelAtomPropertyImpl.displayName=\u9A8C\u8BC1\u6B64\u6807\u7B7E + +# Shared messages +shared.validatingLabelMessage=\u9A8C\u8BC1\u6807\u7B7E ''{0}'' +shared.evalFailureMessage=\u8BC4\u4F30 ''{0}'' \u8868\u8FBE\u5F0F\u8FD4\u56DE\u662F\u5426\u6B63\u5E38 + +# Verifiers +verifiers.shell.displayName=\u901A\u8FC7 shell \u811A\u672C\u9A8C\u8BC1 +verifiers.shell.shortName=Shell \u811A\u672C +verifiers.shell.failMessage=\u811A\u672C\u5931\u8D25\u3002\u6807\u7B7E ''{0}'' \u88AB\u62D2\u7EDD\u3002 +verifiers.regex.displayName=\u901A\u8FC7\u6B63\u5219\u8868\u8FBE\u5F0F\u9A8C\u8BC1\u8BA1\u7B97\u673A\u540D\u79F0 +verifiers.regex.shortName=\u6B63\u5219\u8868\u8FBE\u5F0F +verifiers.regex.invalidRegexMessage=\u6807\u7B7E\u7684\u6B63\u5219\u8868\u8FBE\u5F0F ''{0}'' \u65E0\u6548\u3002\u9650\u5236\u5C06\u88AB\u8DF3\u8FC7 +logic.always.displayName=\u603B\u662F\u5931\u8D25 +logic.never.displayName=\u4ECE\u672A\u5931\u8D25 +logic.and.displayName=\u548C +logic.or.displayName=\u6216\u8005 +logic.not.displayName=\u4E0D diff --git a/pom.xml b/pom.xml index da28066..a3ec9e0 100644 --- a/pom.xml +++ b/pom.xml @@ -171,6 +171,9 @@ plugins/ws-cleanup-plugin/main/resources + + plugins/label-verifier-plugin/src/main/resources +