From 44dc7b808f184eea2f4ef83acb139017c43d32e8 Mon Sep 17 00:00:00 2001 From: zzz Date: Sun, 3 May 2020 08:28:05 -0400 Subject: [PATCH 1/2] Clean up help text for consistency and translatability --- webui/src/main/webapp/AboutMe.jsp | 10 +++++----- webui/src/main/webapp/AdvancedSharing.jsp | 2 +- webui/src/main/webapp/BrowseHost.jsp | 6 +++--- webui/src/main/webapp/ConfigurationPage.jsp | 2 +- webui/src/main/webapp/Downloads.jsp | 2 +- webui/src/main/webapp/Feeds.jsp | 10 +++++----- webui/src/main/webapp/FileDetails.jsp | 2 +- webui/src/main/webapp/Home.jsp | 4 ++-- webui/src/main/webapp/MuStatus.jsp | 2 +- webui/src/main/webapp/MuWire.jsp | 2 +- webui/src/main/webapp/SharedFiles.jsp | 13 ++++++------- webui/src/main/webapp/TrustLists.jsp | 2 +- webui/src/main/webapp/TrustUsers.jsp | 4 ++-- webui/src/main/webapp/Uploads.jsp | 2 +- webui/src/main/webapp/searchbox.jsi | 2 +- 15 files changed, 32 insertions(+), 33 deletions(-) diff --git a/webui/src/main/webapp/AboutMe.jsp b/webui/src/main/webapp/AboutMe.jsp index 0ccbfe07..83d21f7d 100644 --- a/webui/src/main/webapp/AboutMe.jsp +++ b/webui/src/main/webapp/AboutMe.jsp @@ -10,7 +10,7 @@ <% String pagetitle=Util._t("About Me"); -String helptext = Util._t("This page shows information about your MuWire identity"); +String helptext = Util._t("This page shows information about your MuWire identity."); Core core = (Core) application.getAttribute("core"); @@ -23,7 +23,7 @@ Core core = (Core) application.getAttribute("core"); @@ -34,10 +34,10 @@ function copyFullId() { <%@include file="sidebar.jsi"%>
-

<%=Util._t("Your short MuWire id is {0}", core.getMe().getHumanReadableName())%>

-

<%=Util._t("Your full MuWire id is")%>

+

<%=Util._t("Your short MuWire ID: {0}", core.getMe().getHumanReadableName())%>

+

<%=Util._t("Your full MuWire ID:")%>

-

<%=Util._t("Copy To Clipboard")%>

+

<%=Util._t("Copy to clipboard")%>

diff --git a/webui/src/main/webapp/AdvancedSharing.jsp b/webui/src/main/webapp/AdvancedSharing.jsp index 1b6be874..f4a23407 100644 --- a/webui/src/main/webapp/AdvancedSharing.jsp +++ b/webui/src/main/webapp/AdvancedSharing.jsp @@ -6,7 +6,7 @@ <% String pagetitle=Util._t("Advanced Sharing"); -String helptext = Util._t("On this page you can configure advanced settings for each shared directory."); +String helptext = Util._t("Use this page to configure advanced settings for each shared directory."); %> diff --git a/webui/src/main/webapp/BrowseHost.jsp b/webui/src/main/webapp/BrowseHost.jsp index c150bee2..13ee0aca 100644 --- a/webui/src/main/webapp/BrowseHost.jsp +++ b/webui/src/main/webapp/BrowseHost.jsp @@ -9,7 +9,7 @@ <% String pagetitle=Util._t("Browse Host"); -String helptext = Util._t("On this page you can browse the files shared by other MuWire users"); +String helptext = Util._t("Use this page to browse the files shared by other MuWire users."); String currentBrowse = null; if (request.getParameter("currentHost") != null) { @@ -39,7 +39,7 @@ if (request.getParameter("currentHost") != null) {