提交 cd397d31 编写于 作者: K kohsuke

i18n

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13043 71c3de6d-444a-0410-be80-ed276b4c234a
上级 83393cb3
......@@ -897,13 +897,16 @@ public class Queue extends ResourceController implements Saveable {
name = label.getName();
if (label.isOffline()) {
if (label.getNodes().size() > 1)
return "All nodes of label '" + name + "' is offline";
return Messages.Queue_AllNodesOffline(name);
else
return name + " is offline";
return Messages.Queue_NodeOffline(name);
}
}
return "Waiting for next available executor" + (name == null ? "" : " on " + name);
if(name==null)
return Messages.Queue_WaitingForNextAvailableExecutor();
else
return Messages.Queue_WaitingForNextAvailableExecutorOn(name);
}
@Override
......
......@@ -82,11 +82,15 @@ Job.NoRecentBuildFailed=No recent builds failed.
Job.Pronoun=Project
Job.minutes=mins
Queue.AllNodesOffline=All nodes of label ''{0}'' is offline
Queue.BlockedBy=Blocked by {0}
Queue.InProgress=A build is already in progress
Queue.InQuietPeriod=In the quiet period. Expires in {0}
Queue.NodeOffline={0} is offline
Queue.Unknown=???
Queue.WaitingForNextAvailableExecutor=Waiting for next available executor
Queue.WaitingForNextAvailableExecutorOn=Waiting for next available executor on {0}
Run.BuildAborted=Build was aborted
Run.MarkedExplicitly=explicitly marked to keep the record
Run.Permissions.Title=Run
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册