From 498af5d20321cca2484373b6fbc270625bab8a90 Mon Sep 17 00:00:00 2001 From: walking Date: Thu, 31 Dec 2009 13:10:33 +0000 Subject: [PATCH] i2ptunnel\jsp tagging and translation --- apps/i2ptunnel/jsp/editClient.jsp | 160 +- apps/i2ptunnel/jsp/editServer.jsp | 164 +- apps/i2ptunnel/jsp/index.jsp | 98 +- apps/routerconsole/locale/messages_zh.po | 8457 +++++++++++----------- 4 files changed, 4554 insertions(+), 4325 deletions(-) diff --git a/apps/i2ptunnel/jsp/editClient.jsp b/apps/i2ptunnel/jsp/editClient.jsp index 40d1028b0..ce4cfacae 100644 --- a/apps/i2ptunnel/jsp/editClient.jsp +++ b/apps/i2ptunnel/jsp/editClient.jsp @@ -56,17 +56,17 @@
- + <%=tunnelTypeName%>
@@ -77,9 +77,9 @@
<% if ("streamrclient".equals(tunnelType)) { %> - + <% } else { %> - + <% } %>
@@ -87,7 +87,9 @@ Port: <% String value = editBean.getClientPort(curTunnel); if (value == null || "".equals(value.trim())) - out.write(" (required)"); + out.write(" ("); + out.write(intl._("required")); + out.write(")"); %> @@ -99,7 +101,7 @@ } else { %>
<% } // streamrclient %> @@ -120,10 +122,12 @@ Host: <% String vvv = otherInterface; if (vvv == null || "".equals(vvv.trim())) - out.write(" (required)"); + out.write(" ("); + out.write(intl._("required")); + out.write(")"); %> <% } else { %> - Other: + <%=intl._("Other")%>(O): <% } %> @@ -136,55 +140,57 @@ <% if ("httpclient".equals(tunnelType) || "connectclient".equals(tunnelType)) { %>
<% } else if ("client".equals(tunnelType) || "ircclient".equals(tunnelType) || "streamrclient".equals(tunnelType)) { %>
- (name or destination) + (<%=intl._("name or destination")%>)
<% } %> <% if (!"streamrclient".equals(tunnelType)) { %>
class="tickbox" /> - (for request/response connections) + (<%=intl._("for request/response connections")%>)
class="tickbox" /> - (Share tunnels with other clients and irc/httpclients? Change requires restart of client proxy) + <%=intl._("(Share tunnels with other clients and irc/httpclients? Change requires restart of client proxy)")%>
<% } // !streamrclient %>
class="tickbox" /> - (Check the Box for 'YES') + <%=intl._("(Check the Box for 'YES')")%>