I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 56c0fbee authored by str4d's avatar str4d
Browse files

Tag "local" strings on /tunnels (tagged for translation elsewhere pre-freeze)

parent 5bc9d0af
No related branches found
No related tags found
No related merge requests found
...@@ -212,8 +212,8 @@ class TunnelRenderer { ...@@ -212,8 +212,8 @@ class TunnelRenderer {
Hash peer = info.getPeer(j); Hash peer = info.getPeer(j);
TunnelId id = (info.isInbound() ? info.getReceiveTunnelId(j) : info.getSendTunnelId(j)); TunnelId id = (info.isInbound() ? info.getReceiveTunnelId(j) : info.getSendTunnelId(j));
if (_context.routerHash().equals(peer)) { if (_context.routerHash().equals(peer)) {
// Add empty content placeholders to force alignment. TODO tag "local" + tooltips for bandwidth tier / tunnel id for translation // Add empty content placeholders to force alignment. TODO tag tooltips for bandwidth tier / tunnel id for translation
out.write(" <td class=\"cells\" align=\"center\"><span class=\"tunnel_peer tunnel_local\" title=\"Locally hosted tunnel\">local</span>&nbsp;" out.write(" <td class=\"cells\" align=\"center\"><span class=\"tunnel_peer tunnel_local\" title=\"Locally hosted tunnel\">" + _t("Local") + "</span>&nbsp;"
+ "<span class=\"tunnel_id\" title=\"Tunnel identity\">" + + "<span class=\"tunnel_id\" title=\"Tunnel identity\">" +
(id == null ? "" : "" + id) + "</span><b class=\"tunnel_cap\" title=\"Bandwidth tier\"></b></td>"); (id == null ? "" : "" + id) + "</span><b class=\"tunnel_cap\" title=\"Bandwidth tier\"></b></td>");
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment