forked from I2P_Developers/i2p.i2p
Make usage of 2-word Address Book consistent across console instead of mixed up(AddressBook, Address Book, addressbook, Addressbook, address book). Upper-case in app titles, lower-case in the text. Change CSS on address book to have the rounded buttons used in the rest of the console.
This commit is contained in:
@@ -246,7 +246,7 @@ public class ConfigClientsHelper extends HelperBase {
|
||||
else if (app.equals("imagegen"))
|
||||
desc = _t("Identification Image Generator");
|
||||
else if (app.equals("susidns"))
|
||||
desc = _t("Addressbook");
|
||||
desc = _t("Address Book");
|
||||
else if (app.equals("susimail"))
|
||||
desc = _t("Email");
|
||||
else
|
||||
|
||||
@@ -45,7 +45,7 @@ public class HomeHelper extends HelperBase {
|
||||
_x("Hidden Services Manager") + S + _x("Control your client and server tunnels") + S + "/i2ptunnelmgr" + S + I + "server_32x32.png" + S +
|
||||
_x("Torrents") + S + _x("Built-in anonymous BitTorrent Client") + S + "/torrents" + S + I + "i2psnark.png" + S +
|
||||
_x("Web Server") + S + _x("Local web server for hosting your own content on I2P") + S + "http://127.0.0.1:7658/" + S + I + "server_32x32.png" + S +
|
||||
_x("Addressbook") + S + _x("Manage your I2P hosts file here (I2P domain name resolution)") + S + "/dns" + S + I + "book_addresses.png" + S +
|
||||
_x("Address Book") + S + _x("Manage your I2P hosts file here (I2P domain name resolution)") + S + "/dns" + S + I + "book_addresses.png" + S +
|
||||
"";
|
||||
|
||||
/** @since 0.9.44 */
|
||||
|
||||
@@ -540,9 +540,9 @@ class NetDbRenderer {
|
||||
String b32 = key.toBase32();
|
||||
buf.append("<a href=\"http://").append(b32).append("\">").append(b32).append("</a></td>");
|
||||
if (linkSusi && !unpublished && host == null) {
|
||||
buf.append("<td class=\"addtobook\" colspan=\"2\">").append("<a title=\"").append(_t("Add to addressbook"))
|
||||
buf.append("<td class=\"addtobook\" colspan=\"2\">").append("<a title=\"").append(_t("Add to address book"))
|
||||
.append("\" href=\"/susidns/addressbook.jsp?book=private&destination=")
|
||||
.append(dest.toBase64()).append("#add\">").append(_t("Add to local addressbook")).append("</a></td>");
|
||||
.append(dest.toBase64()).append("#add\">").append(_t("Add to local address book")).append("</a></td>");
|
||||
} // else probably a client
|
||||
}
|
||||
} else {
|
||||
@@ -563,9 +563,9 @@ class NetDbRenderer {
|
||||
buf.append(" colspan=\"2\"");
|
||||
buf.append("><a href=\"http://").append(b32).append("\">").append(b32).append("</a></td>\n");
|
||||
if (linkSusi && dest != null) {
|
||||
buf.append("<td class=\"addtobook\"><a title=\"").append(_t("Add to addressbook"))
|
||||
buf.append("<td class=\"addtobook\"><a title=\"").append(_t("Add to address book"))
|
||||
.append("\" href=\"/susidns/addressbook.jsp?book=private&destination=")
|
||||
.append(dest.toBase64()).append("#add\">").append(_t("Add to local addressbook")).append("</a></td>");
|
||||
.append(dest.toBase64()).append("#add\">").append(_t("Add to local address book")).append("</a></td>");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -343,7 +343,7 @@ class SummaryBarRenderer {
|
||||
StringBuilder rbuf = new StringBuilder(128);
|
||||
PortMapper pm = _context.portMapper();
|
||||
if (pm.isRegistered(PortMapper.SVC_SUSIDNS)) {
|
||||
String tx = _t("Addressbook");
|
||||
String tx = _t("Address Book");
|
||||
rbuf.append("<a href=\"/dns\" target=\"_top\" title=\"")
|
||||
.append(_t("Manage your I2P hosts file here (I2P domain name resolution)"))
|
||||
.append("\">")
|
||||
|
||||
Reference in New Issue
Block a user