Skip to content

Commit

Permalink
updated ja for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
ssogabe committed Sep 29, 2011
1 parent 2bd40df commit 08ddde0
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 10 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/cli/GetJobCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class GetJobCommand extends CLICommand {

@Override
public String getShortDescription() {
return "Dumps the job definition XML to stdout";
return Messages.GetJobCommand_ShortDescription();
}

protected int run() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class SetBuildDisplayNameCommand extends CLICommand implements Serializab

@Override
public String getShortDescription() {
return "Sets the displayName of a build";
return Messages.SetBuildDisplayNameCommand_ShortDescription();
}

@Argument(metaVar="JOB", usage="Name of the job to build", required=true, index=0)
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/cli/UpdateJobCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class UpdateJobCommand extends CLICommand {

@Override
public String getShortDescription() {
return "Updates the job definition XML from stdin. The opposite of the get-job command";
return Messages.UpdateJobCommand_ShortDescription();
}

protected int run() throws Exception {
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/cli/WhoAmICommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public class WhoAmICommand extends CLICommand {
@Override
public String getShortDescription() {
return "Reports your credential and permissions";
return Messages.WhoAmICommand_ShortDescription();
}

protected int run() {
Expand Down
10 changes: 9 additions & 1 deletion core/src/main/resources/hudson/cli/Messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,12 @@ SetBuildDescriptionCommand.ShortDescription=\
SetBuildResultCommand.ShortDescription=\
Sets the result of the current build. Works only if invoked from within a build.
VersionCommand.ShortDescription=\
Outputs the current version.
Outputs the current version.
GetJobCommand.ShortDescription=\
Dumps the job definition XML to stdout
SetBuildDisplayNameCommand.ShortDescription=\
Sets the displayName of a build
WhoAmICommand.ShortDescription=\
Reports your credential and permissions
UpdateJobCommand.ShortDescription=\
Updates the job definition XML from stdin. The opposite of the get-job command
10 changes: 9 additions & 1 deletion core/src/main/resources/hudson/cli/Messages_ja.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,12 @@ SetBuildDescriptionCommand.ShortDescription=\
SetBuildResultCommand.ShortDescription=\
\u73fe\u5728\u306e\u30d3\u30eb\u30c9\u306e\u7d50\u679c\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30d3\u30eb\u30c9\u4e2d\u306b\u547c\u3073\u51fa\u3055\u308c\u305f\u5834\u5408\u306e\u307f\u52d5\u4f5c\u3057\u307e\u3059\u3002
VersionCommand.ShortDescription=\
\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3057\u307e\u3059\u3002
\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3057\u307e\u3059\u3002
GetJobCommand.ShortDescription=\
\u30b8\u30e7\u30d6\u5b9a\u7fa9XML\u3092\u6a19\u6e96\u51fa\u529b\u306b\u51fa\u529b\u3057\u307e\u3059\u3002
SetBuildDisplayNameCommand.ShortDescription=\
\u30d3\u30eb\u30c9\u306e\u540d\u79f0\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002
WhoAmICommand.ShortDescription=\
\u8a8d\u8a3c\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002
UpdateJobCommand.ShortDescription=\
\u6a19\u6e96\u5165\u529b\u304b\u3089\u306e\u60c5\u5831\u3067\u30b8\u30e7\u30d6\u5b9a\u7fa9XML\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002get-job\u30b3\u30de\u30f3\u30c9\u306e\u6b63\u53cd\u5bfe\u306e\u3053\u3068\u3092\u884c\u3044\u307e\u3059\u3002
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc., Seiji Sogabe
# Copyright (c) 2004-2011, Sun Microsystems, Inc., 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
Expand All @@ -20,8 +20,9 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

blurb=\u30B3\u30DE\u30F3\u30C9\u30E9\u30A4\u30F3\u306E\u30C4\u30FC\u30EB\u304B\u3089Jenkins\u306E\u69D8\u3005\u306A\u6A5F\u80FD\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002\
\u8A73\u7D30\u306F<a href="http://wiki.jenkins-ci.org/display/JA/Jenkins+CLI">Wiki</a>\u3092\u53C2\u7167\u3057\u3066\u304F\u3060\u3055\u3044\u3002\
\u307E\u305A\u306F\u3001<a href="{0}/jnlpJars/jenkins-cli.jar">jenkins-cli.jar</a>\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u6B21\u306E\u3088\u3046\u306B\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002
blurb=\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u30c4\u30fc\u30eb\u304b\u3089Jenkins\u306e\u69d8\u3005\u306a\u6a5f\u80fd\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002\
\u8a73\u7d30\u306f<a href="http://wiki.jenkins-ci.org/display/JA/Jenkins+CLI">Wiki</a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\
\u307e\u305a\u306f\u3001<a href="{0}/jnlpJars/jenkins-cli.jar">jenkins-cli.jar</a>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u6b21\u306e\u3088\u3046\u306b\u8d77\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002
Jenkins\ CLI=Jenkins CLI
Available\ Commands=\u5229\u7528\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9

4 changes: 4 additions & 0 deletions core/src/main/resources/jenkins/model/Messages_ja.properties
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ CLI.keep-build.shortDescription=\u30d3\u30eb\u30c9\u3092\u4fdd\u5b58\u3059\u308b
CLI.quiet-down.shortDescription=Jenkins\u306f\u518d\u8d77\u52d5\u306b\u5411\u3051\u3066\u7d42\u4e86\u51e6\u7406\u3092\u5b9f\u65bd\u4e2d\u3067\u3059\u3002\u30d3\u30eb\u30c9\u3092\u958b\u59cb\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002
CLI.cancel-quiet-down.shortDescription="quite-down"\u30b3\u30de\u30f3\u30c9\u306e\u51e6\u7406\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u307e\u3059\u3002
CLI.reload-configuration.shortDescription=\u30e1\u30e2\u30ea\u306b\u3042\u308b\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u7834\u68c4\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u518d\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u4fee\u6b63\u3057\u305f\u5834\u5408\u306b\u5f79\u306b\u7acb\u3061\u307e\u3059\u3002
CauseOfInterruption.ShortDescription={0}\u306b\u3088\u308b\u4e2d\u65ad
CLI.shutdown.shortDescription=Jenkins\u30b5\u30fc\u30d0\u30fc\u3092\u76f4\u3061\u306b\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u307e\u3059\u3002
CLI.safe-shutdown.shortDescription=\
Jenkins\u3092\u7d42\u4e86\u30e2\u30fc\u30c9\u306b\u5909\u66f4\u3057\u30d3\u30eb\u30c9\u304c\u5b8c\u4e86\u5f8c\u306b\u3001\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u3057\u307e\u3059\u3002

0 comments on commit 08ddde0

Please sign in to comment.