提交 7d6215e3 编写于 作者: S sogabe

i18n UpdateCenter and updated Japanese translations

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11326 71c3de6d-444a-0410-be80-ed276b4c234a
上级 9a026ac4
......@@ -361,15 +361,15 @@ public class UpdateCenter implements ModelObject {
public void run() {
try {
statuses.add("Checking internet connectivity");
statuses.add(Messages.UpdateCenter_Status_CheckingInternet());
testConnection(new URL("http://www.google.com/"));
statuses.add("Checking java.net connectivity");
statuses.add(Messages.UpdateCenter_Status_CheckingJavaNet());
testConnection(new URL("https://hudson.dev.java.net/?uctest"));
statuses.add("Success");
statuses.add(Messages.UpdateCenter_Status_Success());
} catch (UnknownHostException e) {
statuses.add("<span class=error>Failed to resolve host name "+e.getMessage()+". Perhaps you need to <a href='../pluginManager/advanced'>configure HTTP proxy?</a></span>");
statuses.add(Messages.UpdateCenter_Status_UnknownHostException(e.getMessage()));
addStatus(e);
} catch (IOException e) {
statuses.add(Functions.printThrowable(e));
......
......@@ -87,3 +87,10 @@ Slave.UnixSlave=This is a Unix slave
Slave.WindowsSlave=This is a Windows slave
View.Permissions.Title=View
UpdateCenter.Status.CheckingInternet=Checking internet connectivity
UpdateCenter.Status.CheckingJavaNet=Checking java.net connectivity
UpdateCenter.Status.Success=Success
UpdateCenter.Status.UnknownHostException=\
<span class=error>Failed to resolve host name {0}. \
Perhaps you need to <a href='../pluginManager/advanced'>configure HTTP proxy?</a></span>
......@@ -22,4 +22,11 @@ Job.BuildStability=\u5b89\u5b9a\u3057\u305f\u30d3\u30eb\u30c9: {0}
Job.NOfMFailed=\u6700\u8fd1\u306e{1}\u500b\u4e2d\u3001{0}\u500b\u30d3\u30eb\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002
Job.NoRecentBuildFailed=\u6700\u8fd1\u306e\u30d3\u30eb\u30c9\u306f\u5931\u6557\u3057\u3066\u307e\u305b\u3093\u3002
Job.Pronoun=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8
Job.minutes=\u5206
\ No newline at end of file
Job.minutes=\u5206
UpdateCenter.Status.CheckingInternet=\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3068\u306e\u63a5\u7d9a\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002
UpdateCenter.Status.CheckingJavaNet=java.net\u3068\u306e\u63a5\u7d9a\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002
UpdateCenter.Status.Success=\u6210\u529f
UpdateCenter.Status.UnknownHostException=\
<span class=error>\u30db\u30b9\u30c8\u540d {0}\u306e\u89e3\u6c7a\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002 \
\u305f\u3076\u3093\u3001<a href='../pluginManager/advanced'>HTTP\u30d7\u30ed\u30af\u30b7\u30fc\u3092\u8a2d\u5b9a</a>\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002</span>
\ No newline at end of file
<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">
<div>
<img src="${imagesURL}/24x24/red.gif" /> Failure
<img src="${imagesURL}/24x24/red.gif" /> ${%Failure}
</div>
<pre>${it.stackTrace}</pre>
</j:jelly>
\ No newline at end of file
<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">
<div>
<img src="${imagesURL}/24x24/grey_anime.gif" /> Installing
<img src="${imagesURL}/24x24/grey_anime.gif" /> ${%Installing}
</div>
<div style="padding-left: 32px">
<t:progressBar pos="${it.percentage}" />
......
Installing=\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d
\ No newline at end of file
<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">
<img src="${imagesURL}/24x24/grey.gif" /> Pending
<img src="${imagesURL}/24x24/grey.gif" /> ${%Pending}
</j:jelly>
\ No newline at end of file
<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">
<img src="${imagesURL}/24x24/blue.gif" /> Success
<img src="${imagesURL}/24x24/blue.gif" /> ${%Success}
</j:jelly>
\ No newline at end of file
......@@ -2,13 +2,13 @@
This page shows the status of the plugin installation
-->
<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="Update Center" permission="${app.ADMINISTER}">
<l:layout title="${%Update Center}" permission="${app.ADMINISTER}">
<st:include page="sidepanel.jelly" />
<l:main-panel>
<h1>Installing Plugins</h1>
<h1>${%Installing Plugins}</h1>
<p class="warning">
Once the installation is completed, Hudson needs to be restarted for new plugins to take effect.
${%warning}
</p>
<st:include page="body.jelly" />
......
warning=Once the installation is completed, Hudson needs to be restarted for new plugins to take effect.
\ No newline at end of file
Update\ Center=\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u30bb\u30f3\u30bf\u30fc
Installing\ Plugins=\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb
warning=\
\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001Hudson\u3092\u518d\u8d77\u52d5\u3057\u3066\u65b0\u3057\u3044\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册