From 3036a61f07980474e8ee1f6b9c278dafba5f1201 Mon Sep 17 00:00:00 2001 From: sogabe Date: Thu, 23 Sep 2010 09:40:29 +0000 Subject: [PATCH] i18n & Japanese localization. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35125 71c3de6d-444a-0410-be80-ed276b4c234a --- .../main/java/hudson/triggers/SCMTrigger.java | 2 +- .../PluginManager/sidepanel_ja.properties | 5 ++-- .../hudson/triggers/Messages.properties | 3 ++- .../hudson/triggers/Messages_ja.properties | 13 +++++----- .../SCMTrigger/BuildAction/index.jelly | 2 +- .../SCMTrigger/BuildAction/index.properties | 21 +++++++++++++++ .../BuildAction/index_ja.properties | 26 +++++++++++++++++++ 7 files changed, 61 insertions(+), 11 deletions(-) create mode 100644 core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index_ja.properties diff --git a/core/src/main/java/hudson/triggers/SCMTrigger.java b/core/src/main/java/hudson/triggers/SCMTrigger.java index 1c40306d02..c8d942c8b4 100644 --- a/core/src/main/java/hudson/triggers/SCMTrigger.java +++ b/core/src/main/java/hudson/triggers/SCMTrigger.java @@ -286,7 +286,7 @@ public class SCMTrigger extends Trigger { } public String getDisplayName() { - return "Polling Log"; + return Messages.SCMTrigger_BuildAction_DisplayName(); } public String getUrlName() { diff --git a/core/src/main/resources/hudson/PluginManager/sidepanel_ja.properties b/core/src/main/resources/hudson/PluginManager/sidepanel_ja.properties index c7b0456132..f5203fc835 100644 --- a/core/src/main/resources/hudson/PluginManager/sidepanel_ja.properties +++ b/core/src/main/resources/hudson/PluginManager/sidepanel_ja.properties @@ -1,6 +1,6 @@ # The MIT License # -# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe +# Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe # # 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,4 +20,5 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -Back\ to\ Dashboard=\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3078\u623b\u308b \ No newline at end of file +Back\ to\ Dashboard=\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3078\u623b\u308b +Update\ Center=\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u30bb\u30f3\u30bf\u30fc \ No newline at end of file diff --git a/core/src/main/resources/hudson/triggers/Messages.properties b/core/src/main/resources/hudson/triggers/Messages.properties index e7baa839b9..74ed172e4e 100644 --- a/core/src/main/resources/hudson/triggers/Messages.properties +++ b/core/src/main/resources/hudson/triggers/Messages.properties @@ -1,6 +1,6 @@ # The MIT License # -# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:cactusman, Seiji Sogabe +# Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:cactusman, Seiji Sogabe # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -22,6 +22,7 @@ SCMTrigger.DisplayName=Poll SCM SCMTrigger.getDisplayName={0} Polling Log +SCMTrigger.BuildAction.DisplayName=Polling Log SCMTrigger.SCMTriggerCause.ShortDescription=Started by an SCM change TimerTrigger.DisplayName=Build periodically TimerTrigger.TimerTriggerCause.ShortDescription=Started by timer diff --git a/core/src/main/resources/hudson/triggers/Messages_ja.properties b/core/src/main/resources/hudson/triggers/Messages_ja.properties index abe2501103..29b06a4a55 100644 --- a/core/src/main/resources/hudson/triggers/Messages_ja.properties +++ b/core/src/main/resources/hudson/triggers/Messages_ja.properties @@ -1,6 +1,6 @@ # The MIT License # -# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:cactusman, Seiji Sogabe +# Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:cactusman, Seiji Sogabe # # 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,8 +20,9 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -SCMTrigger.DisplayName=SCM\u3092\u30DD\u30FC\u30EA\u30F3\u30B0 -SCMTrigger.getDisplayName={0}\u306E\u30DD\u30FC\u30EA\u30F3\u30B0\u30ED\u30B0 -SCMTrigger.SCMTriggerCause.ShortDescription=SCM\u306E\u30DD\u30FC\u30EA\u30F3\u30B0\u304C\u5B9F\u884C -TimerTrigger.DisplayName=\u5B9A\u671F\u7684\u306B\u5B9F\u884C -TimerTrigger.TimerTriggerCause.ShortDescription=\u5B9A\u671F\u7684\u306B\u5B9F\u884C \ No newline at end of file +SCMTrigger.DisplayName=SCM\u3092\u30dd\u30fc\u30ea\u30f3\u30b0 +SCMTrigger.getDisplayName={0}\u306e\u30dd\u30fc\u30ea\u30f3\u30b0\u30ed\u30b0 +SCMTrigger.BuildAction.DisplayName=\u30dd\u30fc\u30ea\u30f3\u30b0 +SCMTrigger.SCMTriggerCause.ShortDescription=SCM\u306e\u30dd\u30fc\u30ea\u30f3\u30b0\u304c\u5b9f\u884c +TimerTrigger.DisplayName=\u5b9a\u671f\u7684\u306b\u5b9f\u884c +TimerTrigger.TimerTriggerCause.ShortDescription=\u5b9a\u671f\u7684\u306b\u5b9f\u884c \ No newline at end of file diff --git a/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index.jelly b/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index.jelly index c74a90d49a..01a28b84e4 100644 --- a/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index.jelly +++ b/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index.jelly @@ -26,7 +26,7 @@ THE SOFTWARE. Displays the polling log output --> - +

${%Polling Log}

diff --git a/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index.properties b/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index.properties index 1df279b00e..71b591976d 100644 --- a/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index.properties +++ b/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index.properties @@ -1,2 +1,23 @@ +# The MIT License +# +# Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe +# +# 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=\ This page captures the polling log that triggered this build. \ No newline at end of file diff --git a/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index_ja.properties b/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index_ja.properties new file mode 100644 index 0000000000..77bfacff56 --- /dev/null +++ b/core/src/main/resources/hudson/triggers/SCMTrigger/BuildAction/index_ja.properties @@ -0,0 +1,26 @@ +# The MIT License +# +# Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe +# +# 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=\ + \u3053\u306e\u30d3\u30eb\u30c9\u3092\u8d77\u52d5\u3057\u305f\u30dd\u30fc\u30ea\u30f3\u30b0\u30ed\u30b0\u3092\u8a18\u9332\u3057\u307e\u3059\u3002 +Polling\ Log=\u30dd\u30fc\u30ea\u30f3\u30b0\u30ed\u30b0 +View\ as\ plain\ text=\u30d7\u30ec\u30a4\u30f3\u30c6\u30ad\u30b9\u30c8\u3067\u8868\u793a -- GitLab