提交 48c29e9f 编写于 作者: K kohsuke

- picking up stapler 1.54 for i18n support.

- started internationalizing some files.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6435 71c3de6d-444a-0410-be80-ed276b4c234a
上级 01927478
......@@ -273,7 +273,7 @@
<dependency>
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler</artifactId>
<version>1.53</version>
<version>1.54</version>
</dependency>
<dependency>
<groupId>org.kohsuke</groupId>
......@@ -461,11 +461,6 @@
<artifactId>commons-collections</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>org.jvnet.localizer</groupId>
<artifactId>localizer</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>com.octo.captcha</groupId>
<artifactId>jcaptcha-all</artifactId>
......
......@@ -7,16 +7,16 @@
<form action="${it.securityRealm.authenticationGatewayUrl}" method="post" style="text-size:smaller">
<table>
<tr>
<td>User:</td>
<td>${%User}:</td>
<td><input type="text" name="j_username" id="j_username" /></td>
</tr>
<tr>
<td>Password:</td>
<td>${%Password}:</td>
<td><input type="password" name="j_password" /></td>
</tr>
</table>
<input type="hidden" name="from" value="${request.getParameter('from')}" />
<f:submit value="login" />
<f:submit value="${%login}" />
<script>
$('j_username').focus();
</script>
......
User=\u30e6\u30fc\u30b6\u30fc\u540d
Password=\u30d1\u30b9\u30ef\u30fc\u30c9
login=\u30ed\u30b0\u30a4\u30f3
\ No newline at end of file
......@@ -32,7 +32,7 @@
<!-- The first row will show grouping -->
<tr class="group-row">
<td rowspan="2" class="pane-header blank">
User/group
${%User/group}
</td>
<j:forEach var="g" items="${groups}">
<td class="pane-header" colspan="${g.size()}">
......@@ -58,7 +58,7 @@
</tr>
</j:forEach>
<tr name="anonymous">
<local:row sid="anonymous" title="Anonymous" />
<local:row sid="anonymous" title="${%Anonymous}" />
</tr>
......@@ -69,9 +69,9 @@
</tr>
</table>
<div style="margin-top:0.5em; margin-left: 2em;">
User/group to add:
${%User/group to add}:
<input type="text" id="${id}text" />
<input type="button" value="Add" id="${id}button"/>
<input type="button" value="${%Add}" id="${id}button"/>
</div>
<script>
(function() {
......
Add=\u8ffd\u52a0
Anonymous=\u533f\u540d\u30e6\u30fc\u30b6\u30fc
User/group=\u30e6\u30fc\u30b6\u30fc/\u30b0\u30eb\u30fc\u30d7
User/group\ to\ add=\u8ffd\u52a0\u3059\u308b\u30e6\u30fc\u30b6\u30fc/\u30b0\u30eb\u30fc\u30d7
\ No newline at end of file
......@@ -10,6 +10,7 @@
#global-matrix-authorization-strategy-table TD.blank {
vertical-align: middle;
padding: 0.2em;
}
#global-matrix-authorization-strategy-table .caption-row TH {
......
......@@ -95,7 +95,7 @@
<script>createSearchBox("${searchURL}");</script>
</div>
</form>
</td><td style="vertical-align: middle; padding-right: 1em; width:1px; whtiespace:nowrap;">
</td><td style="vertical-align: middle; padding-right: 1em; width:1px; white-space:nowrap;">
<!-- login field -->
<j:if test="${app.useSecurity}">
<st:nbsp/>
......@@ -104,11 +104,11 @@
<span style="color:white; white-space:nowrap">
<a style="color:white" href="${rootURL}/user/${app.authentication.name}"><b>${app.authentication.name}</b></a>
|
<a style="color:white" href="${rootURL}/logout"><b>logout</b></a>
<a style="color:white" href="${rootURL}/logout"><b>${%logout}</b></a>
</span>
</j:when>
<j:otherwise>
<a style="color:white" href="${rootURL}/${app.securityRealm.loginUrl}?from=${request.requestURI}"><b>login</b></a>
<a style="color:white" href="${rootURL}/${app.securityRealm.loginUrl}?from=${request.requestURI}"><b>${%login}</b></a>
</j:otherwise>
</j:choose>
</j:if>
......
login=\u30ed\u30b0\u30a4\u30f3
logout=\u30ed\u30b0\u30a2\u30a6\u30c8
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册