提交 2795dbe4 编写于 作者: S sogabe

i18n Slave

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13093 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8037908f
......@@ -49,15 +49,15 @@ public final class ClockDifference {
*/
public String toString() {
if(-1000<diff && diff <1000)
return "In sync"; // clock is in sync
return Messages.ClockDifference_InSync(); // clock is in sync
long abs = Math.abs(diff);
String s = Util.getTimeSpanString(abs);
if(diff<0)
s += " ahead";
s += Messages.ClockDifference_Ahead();
else
s += " behind";
s += Messages.ClockDifference_Behind();
return s;
}
......@@ -91,5 +91,5 @@ public final class ClockDifference {
public static final ClockDifference ZERO = new ClockDifference(0);
private static final String FAILED_HTML = "<span class='error'>Failed to check</span>";
private static final String FAILED_HTML = "<span class='error'>" + Messages.ClockDifference_Failed() + "</span>";
}
......@@ -4,7 +4,7 @@
<l:main-panel>
<h1>
<img src="${imagesURL}/48x48/notepad.gif" />
Build History on ${it.displayName}
${%title(it.displayName)}
</h1>
<t:buildListTable builds="${it.builds}"/>
</l:main-panel>
......
title=Build History on {0}
\ No newline at end of file
<!-- Disconnect confirmation -->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<l:layout title="${it.displayName} log">
<l:layout title="${it.displayName} ${%disconnect}">
<st:include page="sidepanel.jelly" />
<l:main-panel>
<form method="get" action="doDisconnect">
Are you sure about disconnecting?
<f:submit value="Yes" />
${%Are you sure about disconnecting?}
<f:submit value="${%Yes}" />
</form>
</l:main-panel>
</l:layout>
......
......@@ -4,16 +4,16 @@
TODO: merge this with Hudson/systemInfo.jelly
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<l:layout title="${it.displayName} System Information">
<l:layout title="${it.displayName} ${%System Information}">
<st:include page="sidepanel.jelly" />
<l:main-panel>
<l:isAdmin>
<h1>System Properties</h1>
<h1>${%System Properties}</h1>
<t:propertyTable items="${it.systemProperties}" />
<h1>Environment Variables</h1>
<h1>${%Environment Variables}</h1>
<t:propertyTable items="${it.envVars}" />
<h1>Thread Dump</h1>
<h1>${%Thread Dump}</h1>
<j:forEach var="t" items="${it.getThreadDump().entrySet()}">
<h2>${t.key}</h2>
<pre>${t.value}</pre>
......
ClockDifference.InSync=In sync
ClockDifference.Ahead=" ahead"
ClockDifference.Behind=" behind"
ClockDifference.Failed=Failed to check
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册