Changeset 94c6496


Ignore:
Timestamp:
Jan 15, 2017 2:13:30 PM (4 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
e141abb
Parents:
d360ba4
Message:

Tooltips for /configclients and reseed button

Location:
apps/routerconsole/java/src/net/i2p/router/web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigClientsHelper.java

    rd360ba4 r94c6496  
    353353        // remove if you wnat to put them back
    354354        if (showStartButton && (!ro) && !edit) {
    355             buf.append("<button type=\"submit\" class=\"Xaccept\" name=\"action\" value=\"Start ").append(index).append("\" >")
     355            buf.append("<button type=\"submit\" title=\"").append(_t("Start")).append("\" class=\"Xaccept\" name=\"action\" value=\"Start ").append(index).append("\" >")
    356356               .append(_t("Start")).append("<span class=hide> ").append(index).append("</span></button>");
    357357        }
    358358        if (showStopButton && (!edit))
    359             buf.append("<button type=\"submit\" class=\"Xstop\" name=\"action\" value=\"Stop ").append(index).append("\" >")
     359            buf.append("<button type=\"submit\" title=\"").append(_t("Stop")).append("\" class=\"Xstop\" name=\"action\" value=\"Stop ").append(index).append("\" >")
    360360               .append(_t("Stop")).append("<span class=hide> ").append(index).append("</span></button>");
    361361        if (isClientChangeEnabled() && showEditButton && (!edit) && !ro)
    362             buf.append("<button type=\"submit\" class=\"Xadd\" name=\"edit\" value=\"Edit ").append(index).append("\" >")
     362            buf.append("<button type=\"submit\" title=\"").append(_t("Edit")).append("\" class=\"Xadd\" name=\"edit\" value=\"Edit ").append(index).append("\" >")
    363363               .append(_t("Edit")).append("<span class=hide> ").append(index).append("</span></button>");
    364364        if (showUpdateButton && (!edit) && !ro) {
    365             buf.append("<button type=\"submit\" class=\"Xcheck\" name=\"action\" value=\"Check ").append(index).append("\" >")
    366                .append(_t("Check for updates")).append("<span class=hide> ").append(index).append("</span></button>");
    367             buf.append("<button type=\"submit\" class=\"Xdownload\" name=\"action\" value=\"Update ").append(index).append("\" >")
    368                 .append(_t("Update")).append("<span class=hide> ").append(index).append("</span></button>");
     365            buf.append("<button type=\"submit\" title=\"").append(_t("Check for updates")).append("\" class=\"Xcheck\" name=\"action\" value=\"Check ").append(index).append("\" >")
     366               .append("<span class=hide> ").append(index).append("</span></button>");
     367            buf.append("<button type=\"submit\" title=\"").append(_t("Update")).append("\" class=\"Xdownload\" name=\"action\" value=\"Update ").append(index).append("\" >")
     368                .append("<span class=hide> ").append(index).append("</span></button>");
    369369        }
    370370        if (showDeleteButton && (!edit) && !ro) {
    371             buf.append("<button type=\"submit\" class=\"Xdelete\" name=\"action\" value=\"Delete ").append(index)
     371            buf.append("<button type=\"submit\" title=\"").append(_t("Delete")).append("\" class=\"Xdelete\" name=\"action\" value=\"Delete ").append(index)
    372372               .append("\" onclick=\"if (!confirm('")
    373373               .append(_t("Are you sure you want to delete {0}?", _t(escapedName)))
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java

    rd360ba4 r94c6496  
    843843                buf.append("<p><form action=\"").append(uri).append("\" method=\"POST\">\n");
    844844                buf.append("<input type=\"hidden\" name=\"reseedNonce\" value=\"").append(nonce).append("\" >\n");
    845                 buf.append("<button type=\"submit\" class=\"reload\" value=\"Reseed\" >").append(_t("Reseed")).append("</button></form></p>\n");
     845                buf.append("<button type=\"submit\" title=\"").append(_t("Attempt to download router reference files (if automatic reseed has failed)"));
     846                buf.append("\" class=\"reload\" value=\"Reseed\" >").append(_t("Reseed")).append("</button></form></p>\n");
    846847            }
    847848        }
Note: See TracChangeset for help on using the changeset viewer.