forked from I2P_Developers/i2p.i2p
Translate "Dest" instead of "Dest:", tabbing (thx zzz)
This commit is contained in:
@ -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(" ");
|
out.write(" ");
|
||||||
out.write(_("Dest: "));
|
out.write(_("Dest") + ":");
|
||||||
|
out.write(" ");
|
||||||
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(" ");
|
out.write(" ");
|
||||||
out.write(_("Totals"));
|
out.write(_("Totals"));
|
||||||
|
Reference in New Issue
Block a user