Translate "Dest" instead of "Dest:", tabbing (thx zzz)

This commit is contained in:
dg2-new
2015-05-15 22:36:49 +00:00
parent b3472cfe80
commit 3b6d98fe38

View File

@ -670,14 +670,15 @@ public class I2PSnarkServlet extends BasicServlet {
out.write("<tfoot><tr>\n" + out.write("<tfoot><tr>\n" +
" <th align=\"left\" colspan=\"6\">"); " <th align=\"left\" colspan=\"6\">");
out.write("&nbsp;"); out.write("&nbsp;");
out.write(_("Dest: ")); out.write(_("Dest") + ":");
out.write("&nbsp;");
String IPString = _manager.util().getOurIPString(); String IPString = _manager.util().getOurIPString();
if(!IPString.equals("unknown")) { if(!IPString.equals("unknown")) {
// Only truncate if it's an actual dest // Only truncate if it's an actual dest
IPString = "<i>" + IPString.substring(0, 4) + "</i>"; IPString = "<i>" + IPString.substring(0, 4) + "</i>";
} else { } else {
IPString = IPString + "."; IPString = IPString + ".";
} }
out.write(IPString); out.write(IPString);
out.write("&nbsp;"); out.write("&nbsp;");
out.write(_("Totals")); out.write(_("Totals"));