提交 f119e1c8 编写于 作者: K kohsuke

Prepared for i18n


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6788 71c3de6d-444a-0410-be80-ed276b4c234a
上级 7bae341c
......@@ -6,27 +6,27 @@
<st:include page="sidepanel.jelly" />
<l:main-panel xmlns:local="local">
<s:form method="post" action="configSubmit">
<s:entry title="Home directory" help="/help/system-config/homeDirectory.html">
<s:entry title="${%Home directory}" help="/help/system-config/homeDirectory.html">
${it.rootDir}
</s:entry>
<s:entry title="System Message" help="/help/system-config/systemMessage.html">
<s:entry title="${%System Message}" help="/help/system-config/systemMessage.html">
<s:textarea name="system_message" value="${it.systemMessage}" />
</s:entry>
<s:entry title="# of executors" help="/help/system-config/numExecutors.html">
<s:entry title="${%# of executors}" help="/help/system-config/numExecutors.html">
<input type="text" name="numExecutors" class="setting-input number"
value="${it.numExecutors}"/>
</s:entry>
<s:entry title="Quiet period" help="/help/project-config/quietPeriod.html">
<s:entry title="${%Quiet period}" help="/help/project-config/quietPeriod.html">
<input class="setting-input number" name="quiet_period"
type="text" value="${it.quietPeriod}"/>
</s:entry>
<s:optionalBlock name="use_security" title="Enable security"
<s:optionalBlock name="use_security" title="${%Enable security}"
checked="${it.useSecurity}" help="/help/system-config/enableSecurity.html">
<s:entry title="TCP port for JNLP slave agents"
<s:entry title="${%TCP port for JNLP slave agents}"
help="/help/system-config/master-slave/slave-agent-port.html">
<s:radio name="slaveAgentPortType" value="fixed" id="sat.fixed"
checked="${it.slaveAgentPort &gt; 0}" onclick="$('sat.port').disabled=false"/>
<label for="sat.fixed">Fixed</label> :
<label for="sat.fixed">${%Fixed}</label> :
<input type="text" class="number" name="slaveAgentPort" id="sat.port"
value="${h.ifThenElse(it.slaveAgentPort &gt; 0, it.slaveAgentPort, null)}"
disabled="${h.ifThenElse(it.slaveAgentPort &gt; 0, null, 'true')}"/>
......@@ -35,16 +35,16 @@
<s:radio name="slaveAgentPortType" value="random" id="sat.random"
checked="${it.slaveAgentPort==0}" onclick="$('sat.port').disabled=true" />
<label for="sat.random">Random</label>
<label for="sat.random">${%Random}</label>
<st:nbsp />
<s:radio name="slaveAgentPortType" value="disable" id="sat.disabled"
checked="${it.slaveAgentPort==-1}" onclick="$('sat.port').disabled=true" />
<label for="sat.disabled">Disable</label>
<label for="sat.disabled">${%Disable}</label>
</s:entry>
<s:entry title="Access Control">
<s:entry title="${%Access Control}">
<table style="width:100%">
<s:descriptorRadioList title="Security Realm" varName="realm"
instance="${it.securityRealm}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册