forked from I2P_Developers/i2p.i2p
Console: Clean up help text, tag for translation (ticket #2298)
This commit is contained in:
@ -107,6 +107,9 @@ class NetDbRenderer {
|
||||
StringBuilder buf = new StringBuilder(4*1024);
|
||||
List<Hash> sybils = sybil != null ? new ArrayList<Hash>(128) : null;
|
||||
if (".".equals(routerPrefix)) {
|
||||
buf.append("<table><tr><td class=\"infohelp\">")
|
||||
.append(_t("Never reveal your router identity to anyone, as it is uniquely linked to your IP address in the network database."))
|
||||
.append("</td></tr></table>");
|
||||
renderRouterInfo(buf, _context.router().getRouterInfo(), true, true);
|
||||
} else {
|
||||
StringBuilder ubuf = new StringBuilder();
|
||||
|
@ -76,7 +76,7 @@ class TunnelRenderer {
|
||||
dname = DataHelper.escapeHTML(_t(name));
|
||||
}
|
||||
out.write("<h3 class=\"tabletitle\" id=\"" + b64
|
||||
+ "\" >" + _t("Client tunnels for") + ' ' + dname);
|
||||
+ "\" >" + _t("Client tunnels for {0}", dname));
|
||||
if (isLocal) {
|
||||
// links are set to float:right in CSS so they will be displayed in reverse order
|
||||
out.write(" <a href=\"/configtunnels#" + b64 + "\" title=\"" + _t("Configure tunnels for session") + "\">[" + _t("configure") + "]</a>");
|
||||
@ -97,7 +97,7 @@ class TunnelRenderer {
|
||||
if (aname == null)
|
||||
aname = ab64;
|
||||
out.write("<h3 class=\"tabletitle\" id=\"" + ab64
|
||||
+ "\" >" + _t("Client tunnels for") + ' ' + DataHelper.escapeHTML(_t(aname)));
|
||||
+ "\" >" + _t("Client tunnels for {0}", DataHelper.escapeHTML(_t(aname))));
|
||||
if (isLocal)
|
||||
out.write(" <a href=\"/configtunnels#" + b64 + "\" title=\"" + _t("Configure tunnels for session") + "\">[" + _t("configure") + "]</a></h3>\n");
|
||||
else
|
||||
|
Reference in New Issue
Block a user