提交 dc32c7ae 编写于 作者: K kohsuke

i18n


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6823 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e0c9cdfa
......@@ -43,7 +43,7 @@ public class NullSCM extends SCM {
}
public String getDisplayName() {
return "None";
return Messages.NullSCM_DisplayName();
}
public SCM newInstance(StaplerRequest req, JSONObject formData) throws FormException {
......
......@@ -43,7 +43,7 @@ public class BatchFile extends CommandInterpreter {
}
public String getDisplayName() {
return "Execute Windows batch command";
return Messages.BatchFile_DisplayName();
}
public Builder newInstance(StaplerRequest req, JSONObject data) {
......
......@@ -93,7 +93,7 @@ public class Shell extends CommandInterpreter {
}
public String getDisplayName() {
return "Execute shell";
return Messages.Shell_DisplayName();
}
public Builder newInstance(StaplerRequest req, JSONObject data) {
......
......@@ -150,7 +150,7 @@ public class SCMTrigger extends Trigger<SCMedItem> {
}
public String getDisplayName() {
return "Poll SCM";
return Messages.SCMTrigger_DisplayName();
}
public String getHelpFile() {
......
......@@ -45,7 +45,7 @@ public class TimerTrigger extends Trigger<BuildableItem> {
}
public String getDisplayName() {
return "Build periodically";
return Messages.TimerTrigger_DisplayName();
}
public String getHelpFile() {
......
NullSCM.DisplayName=None
SCM.Permissions.Title=SCM
\ No newline at end of file
BatchFile.DisplayName=Execute Windows batch command
Shell.DisplayName=Execute shell
\ No newline at end of file
SCMTrigger.DisplayName=Poll SCM
\ No newline at end of file
......@@ -2,11 +2,11 @@
<l:layout>
<st:include it="${it.owner}" page="sidepanel.jelly" />
<l:main-panel>
<h1>Last ${it.displayName}</h1>
<h1>${%title(it.displayName)}</h1>
<j:set var="log" value="${it.log}" />
<j:choose>
<j:when test="${empty(log)}">
Polling has not run yet.
${%Polling has not run yet.}
</j:when>
<j:otherwise>
<pre>${it.log}</pre>
......
<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">
<f:entry title="Schedule" help="/help/project-config/timer-format.html">
<f:entry title="${%Schedule}" help="/help/project-config/timer-format.html">
<f:textarea name="scmpoll_spec" checkUrl="'${rootURL}/trigger/TimerTrigger/check?value='+escape(this.value)" value="${instance.spec}"/>
</f:entry>
</j:jelly>
\ No newline at end of file
......@@ -4,8 +4,8 @@
unless you have a fair number of projects, this option is likely pointless.
so let's hide this option for new users to avoid confusing them.
-->
<f:section title="SCM Polling">
<f:entry title="Max # of concurrent polling"
<f:section title="${%SCM Polling}">
<f:entry title="${%Max # of concurrent polling}"
help="/help/triggers/SCMTrigger/concurrency.html">
<input class="setting-input" name="poll_scm_threads"
type="text" value="${h.ifThenElse(descriptor.pollingThreadCount==0,'',descriptor.pollingThreadCount)}"/>
......
<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">
<f:entry title="Schedule" help="/help/project-config/timer-format.html">
<f:entry title="${%Schedule}" help="/help/project-config/timer-format.html">
<f:textarea name="timer_spec" checkUrl="'${rootURL}/trigger/TimerTrigger/check?value='+escape(this.value)" value="${instance.spec}"/>
</f:entry>
</j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册