Changeset 791bc9a


Ignore:
Timestamp:
Jun 4, 2017 4:59:26 AM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
163023e
Parents:
c91f942
Message:

String de-duplication

Location:
apps
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    rc91f942 r791bc9a  
    34593459                buf.append("&nbsp;&nbsp;&nbsp;<span id=\"nameRequired\">");
    34603460                buf.append(_t("Author name required to rate or comment"));
    3461                 buf.append("&nbsp;&nbsp;<a href=\"").append(_contextPath).append("/configure#configureAuthor\">");
    3462                 buf.append(_t("[Configure]"));
    3463                 buf.append("</a></span>");
     3461                buf.append("&nbsp;&nbsp;<a href=\"").append(_contextPath).append("/configure#configureAuthor\">[");
     3462                buf.append(_t("Configure"));
     3463                buf.append("]</a></span>");
    34643464            } else {
    34653465                buf.append("&nbsp;&nbsp;&nbsp;<span id=\"nameRequired\"><span class=\"commentAuthorName\" title=\"")
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java

    rc91f942 r791bc9a  
    13711371                "<input type=\"hidden\" name=\"nonce\" value=\"" + _proxyNonce + "\">\n" +
    13721372
    1373                 "<h4>" + _t("Save {0} to Router address book and continue to website", destination) + "</h4>\n<p>" +
     1373                "<h4>" + _t("Save {0} to router address book and continue to website", destination) + "</h4>\n<p>" +
    13741374                _t("This address will be saved to your Router address book where your subscription-based addresses are stored."));
    13751375        if(_context.namingService().getName().equals("BlockfileNamingService")) {
     
    13821382            // only blockfile supports multiple books
    13831383
    1384             out.write("<h4>" + _t("Save {0} to Master address book and continue to website", destination) + "</h4>\n<p>" +
     1384            out.write("<h4>" + _t("Save {0} to master address book and continue to website", destination) + "</h4>\n<p>" +
    13851385            _t("This address will be saved to your Master address book. Select this option for addresses you wish to keep separate from the main router address book, but don't mind publishing.") +
    13861386            "</p>\n<div class=\"formaction\"><button type=\"submit\" class=\"accept\" name=\"master\" value=\"master\">" +
    13871387            _t("Save & continue") + "</button></div>\n");
    13881388
    1389             out.write("<h4>" + _t("Save {0} to Private address book and continue to website", destination) + "</h4>\n<p>" +
     1389            out.write("<h4>" + _t("Save {0} to private address book and continue to website", destination) + "</h4>\n<p>" +
    13901390            _t("This address will be saved to your Private address book, ensuring it is never published.") +
    13911391            "</p>\n<div class=\"formaction\"><button type=\"submit\" class=\"accept\" name=\"private\" value=\"private\">" +
  • apps/i2ptunnel/jsp/editClient.jsp

    rc91f942 r791bc9a  
    291291    </table>
    292292
    293     <h3><%=intl._t("Advanced Networking Options")%></h3>
     293    <h3><%=intl._t("Advanced networking options")%></h3>
    294294
    295295    <table class="tunnelConfig">
     
    463463            <td>
    464464                <b><%=intl._t("Reduced tunnel count")%>:</b>
    465                 <input type="text" id="reducedTunnelCount" name="reduceCount" size="1" maxlength="1" title="<%=intl._t("Reduced Tunnel Count")%>" value="<%=editBean.getReduceCount(curTunnel)%>" class="freetext quantity" />
     465                <input type="text" id="reducedTunnelCount" name="reduceCount" size="1" maxlength="1" title="<%=intl._t("Reduced tunnel count")%>" value="<%=editBean.getReduceCount(curTunnel)%>" class="freetext quantity" />
    466466            </td>
    467467
  • apps/i2ptunnel/jsp/editServer.jsp

    rc91f942 r791bc9a  
    296296    </table>
    297297
    298     <h3><%=intl._t("Advanced Networking Options")%></h3>
     298    <h3><%=intl._t("Advanced networking options")%></h3>
    299299
    300300    <table id="#advancedServerTunnelOptions" class="tunnelConfig">
  • apps/i2ptunnel/jsp/register.jsp

    rc91f942 r791bc9a  
    8080    <tr>
    8181        <td>
    82             <b><%=intl._t("Tunnel Name")%>:</b> <%=editBean.getTunnelName(curTunnel)%>
     82            <b><%=intl._t("Tunnel name")%>:</b> <%=editBean.getTunnelName(curTunnel)%>
    8383        </td>
    8484    </tr>
     
    8787      if (("httpserver".equals(tunnelType)) || ("httpbidirserver".equals(tunnelType))) {
    8888          %>
    89     <tr><td><b><%=intl._t("Website Name")%>:</b> <%=editBean.getSpoofedHost(curTunnel)%></td></tr>
     89    <tr><td><b><%=intl._t("Website name")%>:</b> <%=editBean.getSpoofedHost(curTunnel)%></td></tr>
    9090<%
    9191       }
     
    426426    <tr>
    427427        <td>
    428             <b><%=intl._t("Old Hostname")%>:</b>
     428            <b><%=intl._t("Old hostname")%>:</b>
    429429            <input type="text" size="30" maxlength="50" name="oldname" id="oldName" value="<%=oldname%>" class="freetext" />
    430430        </td>
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java

    rc91f942 r791bc9a  
    285285           .append(_t("View active leasesets (debug mode)"))
    286286           .append("\" href=\"/netdb?l=2\">")
    287            .append(nbsp(_t("Leasesets")))
     287           .append(nbsp(_t("LeaseSets")))
    288288           .append("</a>\n")
    289289
Note: See TracChangeset for help on using the changeset viewer.