diff --git a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java index c379ebbba7..f36482379c 100644 --- a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java +++ b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java @@ -1645,15 +1645,12 @@ public class I2PSnarkServlet extends BasicServlet { if (remaining == 0) { img = "seeding"; txt = _t("Seeding"); - tooltip = _t("Seeding to {0} of {1} peers in swarm", curPeers, knownPeers); + tooltip = ngettext("Seeding to {0} peer", "Seeding to {0} peers", knownPeers); } else { // partial img = "complete"; txt = _t("Complete"); tooltip = txt; - if (curPeers > 0) { - tooltip = txt + " (" + _t("Seeding to {0} of {1} peers in swarm", curPeers, knownPeers) + ")"; - } } if (curPeers > 0 && !showPeers) { statusString = toThemeImg(img, "", tooltip) + "" + @@ -1679,12 +1676,12 @@ public class I2PSnarkServlet extends BasicServlet { curPeers + thinsp(noThinsp) + ngettext("1 peer", "{0} peers", knownPeers) + ""; } else if (isRunning && curPeers > 0 && downBps > 0) { - statusString = toThemeImg("downloading", "", _t("OK") + " (" + _t("Downloading from {0} of {1} peers in swarm", curPeers, knownPeers) + ")") + "" + + statusString = toThemeImg("downloading", "", _t("OK") + ", " + ngettext("Downloading from {0} peer", "Downloading from {0} peers", curPeers)) + "" + "" + _t("OK") + ": " + curPeers + thinsp(noThinsp) + ngettext("1 peer", "{0} peers", knownPeers); } else if (isRunning && curPeers > 0 && !showPeers) { - statusString = toThemeImg("stalled", "", _t("Stalled") + " (" + _t("Connected to {0} of {1} peers in swarm", curPeers, knownPeers) + ")") + "" + + statusString = toThemeImg("stalled", "", _t("Stalled") + " (" + ngettext("Connected to {0} peer", "Connected to {0} peers", curPeers)) + "" + "" + _t("Stalled") + ": " + curPeers + thinsp(noThinsp) + @@ -1892,7 +1889,7 @@ public class I2PSnarkServlet extends BasicServlet { getQueryString(req, "", null, null).replace("?", "&") + "\"> "); out.write(_t("peers")); out.write("\n" + @@ -2527,7 +2524,7 @@ public class I2PSnarkServlet extends BasicServlet { out.write(":\n" + "
\n"); boolean embedApps = _context.getBooleanProperty(CSSHelper.PROP_EMBED_APPS); buf.append("\n"); return buf.toString(); } diff --git a/apps/routerconsole/jsp/help-reachability.jsi b/apps/routerconsole/jsp/help-reachability.jsi index 54c8d7827d..cbd236caa3 100644 --- a/apps/routerconsole/jsp/help-reachability.jsi +++ b/apps/routerconsole/jsp/help-reachability.jsi @@ -13,7 +13,7 @@ <%=intl._t("As the firewall detection methods are not 100% reliable, this may occasionally be displayed in error.")%>  <%=intl._t("However, if it appears consistently, you should check whether both your external and internal firewalls are open for your port.")%>  <%=intl._t("I2P will work fine when firewalled, there is no reason for concern. When firewalled, the router uses \"introducers\" to relay inbound connections.")%>  - <%=intl._t("However, you will get more participating traffic and help the network more if you can open your firewall(s).")%>  + <%=intl._t("However, you will get more participating traffic and help the network if you open your firewall.")%>  <%=intl._t("If you think you have already done so, remember that you may have both a hardware and a software firewall, or be behind an additional, institutional firewall you cannot control.")%>  <%=intl._t("Also, some routers cannot correctly forward both TCP and UDP on a single port, or may have other limitations or bugs that prevent them from passing traffic through to I2P.")%> diff --git a/apps/susimail/src/src/i2p/susi/webmail/WebMail.java b/apps/susimail/src/src/i2p/susi/webmail/WebMail.java index 51afffe4e5..f84b79c10a 100644 --- a/apps/susimail/src/src/i2p/susi/webmail/WebMail.java +++ b/apps/susimail/src/src/i2p/susi/webmail/WebMail.java @@ -2284,7 +2284,7 @@ public class WebMail extends HttpServlet out.println( "\n\n" + "\n" + "\n" + - "" + _t("SusiMail") + " - " + subtitle + "\n" + + "" + _t("Email") + " - " + subtitle + "\n" + "" ); if (sessionObject.isMobile ) { out.println( "\n" + @@ -2307,7 +2307,9 @@ public class WebMail extends HttpServlet Long.toString(ctx.random().nextLong()); sessionObject.addNonce(nonce); out.println( - "
\"Susimail\"
\n" + + "
" + + // hidden by CSS + //"
\"Susimail\"
\n" + "
\n" + "\n" + // we use this to know if the user thought he was logged in at the time @@ -3045,7 +3047,7 @@ public class WebMail extends HttpServlet String pop3 = Config.getProperty( CONFIG_PORTS_POP3, "" + DEFAULT_POP3PORT ); String smtp = Config.getProperty( CONFIG_PORTS_SMTP, "" + DEFAULT_SMTPPORT ); - out.println( "

" + _t("I2PMail Login") + "

\n" + + out.println( "

" + _t("Email Login") + "

\n" + // current postman hq length limits 16/12, new postman version 32/32 "\n" + "\n"); @@ -3244,8 +3246,8 @@ public class WebMail extends HttpServlet out.println(_t("Folder") + ": " + _t(name) + "    "); // TODO css to center it out.println(button(SWITCH_TO, _t("Change to Folder") + ':')); showFolderSelect(out, folderName, false); - out.println("
" + _t("User") + " @mail.i2p
" + _t("Password") + "
"); if (pages > 1) { + out.println(""); if (outputHidden) out.println(""); String t1 = _t("First"); diff --git a/installer/resources/themes/console/classic/console.css b/installer/resources/themes/console/classic/console.css index 3d4be34d8d..2465b9fcba 100644 --- a/installer/resources/themes/console/classic/console.css +++ b/installer/resources/themes/console/classic/console.css @@ -4663,10 +4663,6 @@ body.iframed { padding: 5px 10px 5px 5px; } -#themeoptions br { - display: none; -} - #themeoptions label { white-space: nowrap; margin: 4px 10px 4px 0 !important; diff --git a/installer/resources/themes/console/dark/console.css b/installer/resources/themes/console/dark/console.css index 2cf3520c2b..715bf5254e 100644 --- a/installer/resources/themes/console/dark/console.css +++ b/installer/resources/themes/console/dark/console.css @@ -2979,10 +2979,6 @@ tr#addnew, tr#addnew:hover { padding: 5px 10px 8px 5px; } -#themeoptions br { - display: none; -} - #themeoptions label { white-space: nowrap; margin: 4px 10px 4px 0 !important; diff --git a/installer/resources/themes/console/light/console.css b/installer/resources/themes/console/light/console.css index 6e9a2b9d05..95c4169cac 100644 --- a/installer/resources/themes/console/light/console.css +++ b/installer/resources/themes/console/light/console.css @@ -4707,10 +4707,6 @@ body.iframed { padding: 5px 10px 5px 5px; } -#themeoptions br { - display: none; -} - #themeoptions label { white-space: nowrap; margin: 2px 10px 2px 0 !important; diff --git a/installer/resources/themes/console/midnight/console.css b/installer/resources/themes/console/midnight/console.css index c64e3bd538..4bd70d246e 100644 --- a/installer/resources/themes/console/midnight/console.css +++ b/installer/resources/themes/console/midnight/console.css @@ -3439,10 +3439,6 @@ div.themechoice { padding: 5px 10px 8px 5px; } -#themeoptions br { - display: none; -} - #themeoptions label { white-space: nowrap; margin: 1px 10px 1px 0 !important; diff --git a/installer/resources/themes/susimail/classic/susimail.css b/installer/resources/themes/susimail/classic/susimail.css index 6cf3c78eb7..43f7b45d7e 100644 --- a/installer/resources/themes/susimail/classic/susimail.css +++ b/installer/resources/themes/susimail/classic/susimail.css @@ -1157,6 +1157,10 @@ table#pagenav td:first-child { width: 49%; } +table#pagenav td:nth-child(2) { + padding-left: 35px; +} + table#pagenav td:last-child { text-align: left; width: 49%; diff --git a/installer/resources/themes/susimail/dark/susimail.css b/installer/resources/themes/susimail/dark/susimail.css index 0e5d955103..78b7bcffa7 100644 --- a/installer/resources/themes/susimail/dark/susimail.css +++ b/installer/resources/themes/susimail/dark/susimail.css @@ -968,6 +968,10 @@ table#pagenav td:first-child { } table#pagenav td:nth-child(2) { + padding-left: 35px; +} + +table#pagenav td:nth-child(3) { text-align: center !important; width: 4%; white-space: nowrap; diff --git a/installer/resources/themes/susimail/light/susimail.css b/installer/resources/themes/susimail/light/susimail.css index 1d7795ad3a..156b7433a5 100644 --- a/installer/resources/themes/susimail/light/susimail.css +++ b/installer/resources/themes/susimail/light/susimail.css @@ -1277,6 +1277,10 @@ table#pagenav td:last-child { } table#pagenav td:nth-child(2) { + padding-left: 35px; +} + +table#pagenav td:nth-child(3) { width: 2%; white-space: nowrap; } diff --git a/installer/resources/themes/susimail/midnight/susimail.css b/installer/resources/themes/susimail/midnight/susimail.css index 6f305df884..02bacc0013 100644 --- a/installer/resources/themes/susimail/midnight/susimail.css +++ b/installer/resources/themes/susimail/midnight/susimail.css @@ -888,6 +888,10 @@ table#pagenav td:first-child { } table#pagenav td:nth-child(2) { + padding-left: 35px; +} + +table#pagenav td:nth-child(3) { text-align: center !important; min-width: 100px; }