diff --git a/apps/susidns/src/java/src/i2p/susi/dns/AddressbookBean.java b/apps/susidns/src/java/src/i2p/susi/dns/AddressbookBean.java index 86aa56a38d..b60fb25f7e 100644 --- a/apps/susidns/src/java/src/i2p/susi/dns/AddressbookBean.java +++ b/apps/susidns/src/java/src/i2p/susi/dns/AddressbookBean.java @@ -261,16 +261,16 @@ public class AddressbookBean int newBegin = Math.max(0, getBeginInt() - DISPLAY_SIZE); int newEnd = Math.max(0, getBeginInt() - 1); message += " " + newBegin + - '-' + newEnd + " | "; + "&begin=" + newBegin + "&end=" + newEnd + "\">" + (newBegin+1) + + '-' + (newEnd+1) + " | "; } - message += ' ' + _("Showing {0} of {1}", getBegin() + '-' + getEnd(), Integer.valueOf(resultCount)); + message += ' ' + _("Showing {0} of {1}", "" + (getBeginInt()+1) + '-' + (getEndInt()+1), Integer.valueOf(resultCount)); if (getEndInt() < resultCount - 1) { int newBegin = Math.min(resultCount - 1, getEndInt() + 1); int newEnd = Math.min(resultCount, getEndInt() + DISPLAY_SIZE); message += " | " + newBegin + - '-' + newEnd + ""; + "&begin=" + newBegin + "&end=" + newEnd + "\">" + (newBegin+1) + + '-' + (newEnd+1) + ""; } } return message;