diff --git a/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigKeyringHandler.java b/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigKeyringHandler.java index 5348bab119ad5947a7c41ce89ed8d36529e3d305..f2052400852ab94040641fa3cdf80e4eaa3c625f 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigKeyringHandler.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigKeyringHandler.java @@ -84,7 +84,7 @@ public class ConfigKeyringHandler extends FormHandler { spk = bdin.getUnblindedPubKey(); } if (spk == null) { - addFormError(_t("Requires hostname, destination, or blinded Base32")); + addFormError(_t("Requires host name, destination, or blinded Base32")); return; } // from BlindCache diff --git a/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigNetHandler.java b/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigNetHandler.java index acd2c23b854070a42fdcabeb24cbe0ba54c59aec..bb40ab5bac30315199037135fcd929b7c2f963d3 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigNetHandler.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigNetHandler.java @@ -466,7 +466,7 @@ public class ConfigNetHandler extends FormHandler { // TODO set IPv6 arg based on configuration? boolean rv = TransportUtil.isPubliclyRoutable(iab, true); if (!rv) - addFormError(_t("The hostname or IP {0} is not publicly routable", addr)); + addFormError(_t("The address {0} is not publicly routable", addr)); return rv; } diff --git a/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigNetHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigNetHelper.java index 30fbc1f8725b119577bd0224d9bd9d8397a13dea..9e98303e13ef77677227c8ded38428cfa048f6a2 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigNetHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigNetHelper.java @@ -236,6 +236,7 @@ public class ConfigNetHelper extends HelperBase { } StringBuilder buf = new StringBuilder(128); for (String addr : addrs) { + buf.append("\n<br> "); buf.append("<input type=\"checkbox\" class=\"optbox\" value=\"foo\" name=\"addr_"); buf.append(addr); buf.append('"'); @@ -243,10 +244,10 @@ public class ConfigNetHelper extends HelperBase { buf.append(CHECKED); buf.append("> "); buf.append(addr); - buf.append("<br>\n"); } if (!addrs.isEmpty()) { - buf.append(_t("Add host name or IP")) + buf.append("\n<br> ") + .append(_t("Add host name or IP")) .append(": "); } buf.append("<input name=\"udpHost1\" type=\"text\" size=\"16\" >"); diff --git a/apps/routerconsole/jsp/confignet.jsp b/apps/routerconsole/jsp/confignet.jsp index bf81f90dc0db88b62b14156febc1dc863fe4b1d5..3b71488582953218386ac4af5c9e0e9c39d6ff72 100644 --- a/apps/routerconsole/jsp/confignet.jsp +++ b/apps/routerconsole/jsp/confignet.jsp @@ -40,7 +40,7 @@ </p> <p> <%=intl._t("Also, <b>do not enter a private IP address</b> like 127.0.0.1 or 192.168.1.1.")%> - <%=intl._t("If you specify the wrong IP address or hostname, or do not properly configure your NAT or firewall, your network performance will degrade substantially.")%> + <%=intl._t("If you specify the wrong IP address, or do not properly configure your NAT or firewall, your network performance will degrade substantially.")%> <%=intl._t("When in doubt, leave the settings at the defaults.")%> </p> </td> @@ -59,7 +59,7 @@ </tr> <tr> <td> - <b class="suboption"><%=intl._t("Externally reachable hostname or IP address")%>:</b><br> + <b class="suboption"><%=intl._t("Externally reachable IP address")%>:</b><br> <label><input type="radio" class="optbox" name="udpAutoIP" value="local,upnp,ssu" <%=nethelper.getUdpAutoIPChecked(3) %> > <%=intl._t("Use all auto-detect methods")%></label><br> <label><input type="radio" class="optbox" name="udpAutoIP" value="local,ssu" <%=nethelper.getUdpAutoIPChecked(4) %> > @@ -71,7 +71,7 @@ <label><input type="radio" class="optbox" name="udpAutoIP" value="hidden" <%=nethelper.getUdpAutoIPChecked(2) %> > <%=intl._t("Hidden mode - do not publish IP")%> <i><%=intl._t("(prevents participating traffic)")%></i></label><br> <label><input type="radio" class="optbox" name="udpAutoIP" value="fixed" <%=nethelper.getUdpAutoIPChecked(1) %> > - <%=intl._t("Specify hostname or IP")%>:</label> + <%=intl._t("Specify host name or IP")%>:</label> <%=nethelper.getAddressSelector() %> </td> </tr> @@ -137,7 +137,7 @@ </tr> <tr> <td> - <b class="suboption"><%=intl._t("Externally reachable hostname or IP address")%>:</b><br> + <b class="suboption"><%=intl._t("Externally reachable IP address")%>:</b><br> <label><input type="radio" class="optbox" name="ntcpAutoIP" value="true" <%=nethelper.getTcpAutoIPChecked(2) %> > <%=intl._t("Use auto-detected IP address")%> <i>(<%=intl._t("currently")%> <jsp:getProperty name="nethelper" property="udpIP" />)</i> @@ -149,7 +149,7 @@ <label><input type="radio" class="optbox" name="ntcpAutoIP" value="disabled" <%=nethelper.getTcpAutoIPChecked(4) %> > <%=intl._t("Completely disable")%> <i><%=intl._t("(select only if behind a firewall that throttles or blocks outbound TCP)")%></i></label><br> <label><input type="radio" class="optbox" name="ntcpAutoIP" value="false" <%=nethelper.getTcpAutoIPChecked(1) %> > - <%=intl._t("Specify hostname or IP")%>:</label> + <%=intl._t("Specify host name or IP")%>:</label> <input name ="ntcphost" type="text" size="16" value="<jsp:getProperty name="nethelper" property="ntcphostname" />" > </td> </tr> diff --git a/apps/routerconsole/jsp/configreseed.jsp b/apps/routerconsole/jsp/configreseed.jsp index 44672c023d50b9d47c6db86e828ed81955011702..8823f53b62eece73a5bcd69a871cb98af1c948f1 100644 --- a/apps/routerconsole/jsp/configreseed.jsp +++ b/apps/routerconsole/jsp/configreseed.jsp @@ -26,7 +26,7 @@ <ul><li> <%=intl._t("The proxy may be a remote public proxy, or may be running on your computer (localhost).")%> </li><li> -<%=intl._t("To use a proxy, configure the type, hostname, and port below.")%> +<%=intl._t("To use a proxy, configure the type, host, and port below.")%> </li><li> <%=intl._t("If you are running Tor Browser, reseed through it by configuring SOCKS 5, localhost, port 9150.")%> </li><li> diff --git a/apps/routerconsole/jsp/help-reachability.jsi b/apps/routerconsole/jsp/help-reachability.jsi index a4bfd37b16bc370f8f58ef8e2fb8ddb75c7a4b2c..f4a9765e08e8eb2ab7edb8dd804cfc96c754021e 100644 --- a/apps/routerconsole/jsp/help-reachability.jsi +++ b/apps/routerconsole/jsp/help-reachability.jsi @@ -61,7 +61,7 @@ <%=intl._t("However, a restart is always required after this error.")%> </li> <li><b><%=intl._t("ERR - UDP Disabled and Inbound TCP host/port not set")%>:</b> - <%=intl._t("You have not configured inbound TCP with a hostname and port on the Network Configuration page, however you have disabled UDP.")%> + <%=intl._t("You have not configured inbound TCP with an address and port on the Network Configuration page, however you have disabled UDP.")%> <%=intl._t("Therefore your router cannot accept inbound connections.")%> <%=intl._t("Please configure a TCP host and port on the Network Configuration page or enable UDP.")%> </li>