Clean up help text for consistency and translatability

This commit is contained in:
zzz
2020-05-03 08:28:05 -04:00
parent 339f4aaa3e
commit 44dc7b808f
15 changed files with 32 additions and 33 deletions

View File

@ -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");
<script>
function copyFullId() {
copyToClipboard("full-id")
alert("Full Id Copied To Clipboard")
alert("Full ID copied to clipboard")
}
</script>
</head>
@ -34,10 +34,10 @@ function copyFullId() {
<%@include file="sidebar.jsi"%>
</aside>
<section class="main foldermain">
<p><%=Util._t("Your short MuWire id is {0}", core.getMe().getHumanReadableName())%></p>
<p><%=Util._t("Your full MuWire id is")%></p>
<p><%=Util._t("Your short MuWire ID: {0}", core.getMe().getHumanReadableName())%></p>
<p><%=Util._t("Your full MuWire ID:")%></p>
<p><textarea class="fullId" id="full-id" readOnly="true"><%=core.getMe().toBase64()%></textarea></p>
<p><a href='#' onclick="window.copyFullId();return false;"><%=Util._t("Copy To Clipboard")%></a></p>
<p><a href='#' onclick="window.copyFullId();return false;"><%=Util._t("Copy to clipboard")%></a></p>
</section>
</body>
</html>

View File

@ -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.");
%>

View File

@ -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) {
<aside>
<div class="menubox-divider"></div>
<div class="menubox">
<h2><%=Util._t("Enter a full MuWire id")%></h2>
<h2><%=Util._t("Enter a full MuWire ID")%></h2>
<form action="/MuWire/Browse" method="post">
<input type="text" name="host">
<input type="hidden" name="action" value="browse">
@ -48,7 +48,7 @@ if (request.getParameter("currentHost") != null) {
<input type="submit" value=<%=Util._t("Browse")%>>
<div class="tooltip"><%=Util._t("Help")%>
<span class="tooltiptext">
<%=Util._t("Enter the full id of a MuWire user to see what files they are sharing")%>
<%=Util._t("Enter the full ID of a MuWire user to see what files they are sharing")%>
</span>
</div>
</div>

View File

@ -12,7 +12,7 @@
<%
String pagetitle=Util._t("Configuration");
String helptext = Util._t("On this page you can change various MuWire options");
String helptext = Util._t("Use this page to change MuWire options.");
Core core = (Core) application.getAttribute("core");

View File

@ -12,7 +12,7 @@
<%
String pagetitle=Util._t("Downloads");
String helptext = Util._t("This page shows files which you are currently downloading from other MuWire users.");
String helptext = Util._t("This page shows the files you are currently downloading from other MuWire users.");
%>
<html>

View File

@ -6,10 +6,10 @@
<%
String pagetitle=Util._t("Feeds");
String helptext = Util._t("Every MuWire user can have a file feed to which they can publish shared files of their choosing. " +
"You can subscribe to the feeds of other users. That is similar to following someone on a social network.");
helptext += "<br/>" + Util._t("On this page you can view the file feeds of users you are subscribed to. You can configure each feed " +
"separately with various options, and you can download the published files.");
String helptext = Util._t("Every MuWire user can have a file feed to publish shared files of their choosing. " +
"You can subscribe to the feeds of other users. This is similar to following someone on a social network.") +
"<br/>" + Util._t("On this page you can view the file feeds of users you are subscribed to. You can configure each feed " +
"separately with various options, and you can download the published files.");
%>
@ -36,7 +36,7 @@ helptext += "<br/>" + Util._t("On this page you can view the file feeds of user
<input type="submit" value=<%=Util._t("Subscribe")%>>
<div class="tooltip"><%=Util._t("Help")%>
<span class="tooltiptext">
<%=Util._t("Enter the full id of a MuWire user to see what files they have published to their feed")%>
<%=Util._t("Enter the full ID of a MuWire user to see what files they have published to their feed")%>
</span>
</div>
</div>

View File

@ -7,7 +7,7 @@
<%
String pagetitle=Util._t("File Details");
String helptext = Util._t("Details about the selected shared file.");
String helptext = Util._t("View details about the selected shared file here.");
String path = request.getParameter("path");
File file = Util.getFromPathElements(path);

View File

@ -10,8 +10,8 @@
<%
String pagetitle=Util._t("Home");
String helptext = Util._t("On this page you can search for files shared by other MuWire users");
helptext += "<br/>" + Util._t("You can group the results by sender or by file");
String helptext = Util._t("Search for files shared by other MuWire users.") +
"<br/>" + Util._t("You can group the results by sender or by file.");
session.setAttribute("persona", persona);
session.setAttribute("version", version);

View File

@ -7,7 +7,7 @@
<%
String pagetitle=Util._t("MuWire Status");
String helptext = Util._t("This page shows various internal MuWire metrics");
String helptext = Util._t("This page shows internal MuWire metrics.");
Core core = (Core) application.getAttribute("core");
String buildNumber = (String)application.getAttribute("buildNumber");

View File

@ -7,7 +7,7 @@
<%
String pagetitle = Util._t("Initial Setup");
String helptext = Util._t("On this page you can set up your MuWire nickname and download locations");
String helptext = Util._t("Set up your MuWire nickname and download locations now.");
%>
<html>

View File

@ -5,10 +5,10 @@
<%
String pagetitle= Util._t("Shared Files");
String helptext = Util._t("Shared files are those files you decide to share with other MuWire users.");
helptext += "<br/>" + Util._t("To share a file, enter it's path in the box to the left.");
helptext += "<br/>" + Util._t("You can view your shared files as a tree or as a table.");
helptext += "<br/>" + Util._t("The \"Actions\" menu lets you perform various actions on the shared file.");
String helptext = Util._t("Shared files are those files you decide to share with other MuWire users.") +
"<br/>" + Util._t("To share a file, enter its path in the box to the left.") +
"<br/>" + Util._t("You can view your shared files as a tree or as a table.") +
"<br/>" + Util._t("The \"Actions\" menu lets you perform various actions on the shared file.");
String viewAs = request.getParameter("viewAs");
if (viewAs == null)
@ -44,10 +44,9 @@ if (viewAs == null)
<div class="menu-icon"></div>
<input type="submit" value="<%=Util._t("Share")%>">
<div class="tooltip"><%=Util._t("Help")%>
<span class="tooltiptext"><%=Util._t("Enter path to file or folder you wish to share.")%>
<span class="tooltiptext"><%=Util._t("Enter the full path for the file or folder to be shared.")%>
<br/>
<%=Util._t("When sharing files on network drives (like a NAS) please visit")%>
<a href="/MuWire/AdvancedSharing"><%=Util._t("Advanced Sharing")%></a>
<%=Util._t("When sharing files on network drives (like a NAS) please visit {0}Advanced Sharing{1}", "<a href=\"/MuWire/AdvancedSharing\">", "</a>")%>
</span>
</div>
</div>

View File

@ -5,7 +5,7 @@
<%
String pagetitle=Util._t("Subscriptions");
String helptext = Util._t("This page shows the trust lists of users whom you have subscribed to.");
String helptext = Util._t("This page shows the trust lists of the users you have subscribed to.");
%>
<html>

View File

@ -5,8 +5,8 @@
<%
String pagetitle=Util._t("Users");
String helptext = Util._t("This page shows the users you have marked as Trusted or Distrusted.");
helptext += "<br/>" + Util._t("You can subscribe to the trust lists of the users you trust and see who they trust or distrust in turn.");
String helptext = Util._t("This page shows the users you have marked as Trusted or Distrusted.") +
"<br/>" + Util._t("You can subscribe to the trust lists of your Trusted users and see who they trust or distrust.");
%>
<html>

View File

@ -12,7 +12,7 @@
<%
String pagetitle=Util._t("Uploads");
String helptext = Util._t("This page shows files which you are currently uploading to other MuWire users.");
String helptext = Util._t("This page shows the files you are currently uploading to other MuWire users.");
%>
<html>

View File

@ -10,7 +10,7 @@
<input type="submit" value="<%=Util._t("Search")%>" />
<div class="tooltip">
<%=Util._t("Help")%>
<span class="tooltiptext"><%=Util._t("Enter keywords or file hash")%></span>
<span class="tooltiptext"><%=Util._t("Enter keywords or file hash.")%></span>
</div>
</div>
</form>