提交 4f66b3fb 编写于 作者: C Christoph Kutzinski

Fixed wrong English

上级 5a56ba2f
......@@ -1244,7 +1244,11 @@ public class Queue extends ResourceController implements Saveable {
return this.inQueueSince;
}
public String getInQueueSinceString() {
/**
* Returns a human readable presentation of how long this item is already in the queue.
* E.g. something like '3 minutes 40 seconds'
*/
public String getInQueueForString() {
long duration = System.currentTimeMillis() - this.inQueueSince;
return Util.getTimeSpanString(duration);
}
......
......@@ -58,7 +58,7 @@ THE SOFTWARE.
<j:otherwise>
<j:forEach var="item" items="${items}">
<tr>
<td class="pane" width="100%" tooltip="${item.why}${h.escape(item.params)}&lt;br&gt;${%WaitingSince(item.inQueueSinceString)}" style="white-space: normal;">
<td class="pane" width="100%" tooltip="${item.why}${h.escape(item.params)}&lt;br&gt;${%WaitingFor(item.inQueueForString)}" style="white-space: normal;">
<j:set var="stuck" value="${item.isStuck()}"/>
<j:choose>
<j:when test="${h.hasPermission(item.task,item.task.READ)}">
......
WaitingSince=Waiting since {0}
\ No newline at end of file
WaitingFor=Waiting for {0}
\ No newline at end of file
......@@ -25,4 +25,4 @@ No\ builds\ in\ the\ queue.=Keine Builds geplant
Jenkins\ is\ going\ to\ shut\ down.\ No\ further\ builds\ will\ be\ performed.=Jenkins fährt gerade herunter. Es werden keine weiteren Builds ausgeführt.
cancel=Abbrechen
Unknown\ Task=Unbekannter Task
WaitingSince=Wartet seit {0}
\ No newline at end of file
WaitingFor=Wartet seit {0}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册