From e32d4b15e8924ed40e3e27870f8d15b471de285c Mon Sep 17 00:00:00 2001 From: str4d <str4d@mail.i2p> Date: Sun, 14 May 2017 05:41:21 +0000 Subject: [PATCH] String tweaks --- .../java/src/net/i2p/router/web/SybilRenderer.java | 4 ++-- apps/routerconsole/jsp/configclients.jsp | 4 ++-- apps/routerconsole/jsp/home.jsp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SybilRenderer.java b/apps/routerconsole/java/src/net/i2p/router/web/SybilRenderer.java index 0ac62b07c7..2ac4d5c519 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/SybilRenderer.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/SybilRenderer.java @@ -602,8 +602,8 @@ class SybilRenderer { for (String s : foo) { int count = oc.count(s); String ss = DataHelper.escapeHTML(s); - buf.append("<p class=\"family\"><b>").append(count).append(" floodfills in declared family \"<a href=\"/netdb?fam=") - .append(ss).append("&sybil\">").append(ss).append("</a>\"</b></p>"); + buf.append("<p class=\"family\"><b>").append(count).append(" floodfills in family: <a href=\"/netdb?fam=") + .append(ss).append("&sybil\">").append(ss).append("</a></b></p>"); for (RouterInfo info : ris) { String fam = info.getOption("family"); if (fam == null) diff --git a/apps/routerconsole/jsp/configclients.jsp b/apps/routerconsole/jsp/configclients.jsp index 3a4114ef69..73a8a16817 100644 --- a/apps/routerconsole/jsp/configclients.jsp +++ b/apps/routerconsole/jsp/configclients.jsp @@ -30,8 +30,8 @@ input.default { width: 1px; height: 1px; visibility: hidden; } <h3 id="i2pclientconfig"><%=intl._t("Client Configuration")%> <span class="h3navlinks"> <a href="configi2cp" title="<%=intl._t("Advanced Client Interface Configuration")%>">[I2CP]</a> - <a href="configwebapps" title="<%=intl._t("WebApp Configuration")%>">[WebApps]</a> - <a href="configplugins" title="<%=intl._t("Plugin Configuration")%>">[Plugins]</a> + <a href="configplugins" title="<%=intl._t("Plugin Configuration")%>">[Plugins]</a> + <a href="configwebapps" title="<%=intl._t("WebApp Configuration")%>">[WebApps]</a> </span> </h3> <p class="infohelp" id="clientconf"> diff --git a/apps/routerconsole/jsp/home.jsp b/apps/routerconsole/jsp/home.jsp index 66fb7effca..0e5c915672 100644 --- a/apps/routerconsole/jsp/home.jsp +++ b/apps/routerconsole/jsp/home.jsp @@ -57,7 +57,7 @@ <jsp:useBean class="net.i2p.router.web.HomeHelper" id="homehelper" scope="request" /> <jsp:setProperty name="homehelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" /> <% if (homehelper.shouldShowWelcome()) { %> -<div class="welcome" title="<%=intl._t("Click a flag to select a language. Click 'configure language' below to change it later.")%>"> +<div class="welcome" title="<%=intl._t("Click a flag to select a language. Click 'Configure UI' below to change it later.")%>"> <div class="langbox" id="langbox"> <a href="/home?lang=en&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=us" title="English" alt="English"></a> <a href="/home?lang=ar&consoleNonce=<%=consoleNonce%>"><img height="11" width="16" style="padding: 0 2px;" src="/flags.jsp?c=lang_ar" title="عربية" alt="عربية"></a> -- GitLab