Changeset 2b2c3cf


Ignore:
Timestamp:
Nov 3, 2010 10:21:10 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
77e0cb9
Parents:
be308a0
Message:

snark tweaks

Files:
2 edited

Legend:

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

    rbe308a0 r2b2c3cf  
    244244        out.write(" title=\"");
    245245        out.write(_("Status"));
    246         out.write("\">");
     246        out.write("\"> ");
    247247        out.write(_("Status"));
    248248        if (_manager.util().connected() && !snarks.isEmpty()) {
    249             out.write("<a href=\"");
     249            out.write(" <a href=\"");
    250250            out.write(req.getRequestURI());
    251251            if (peerParam != null) {
     
    699699                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/trackererror.png\" title=\"" + _("Tracker Error") +
    700700                               "\"><a href=\"" + uri + "?p=" + Base64.encode(snark.meta.getInfoHash()) + "\">" +
    701                                curPeers + '/' +
     701                               ' ' + curPeers + "&thinsp;/&thinsp;" +
    702702                               ngettext("1 peer", "{0} peers", knownPeers) + "</a>";
    703703            else if (isRunning)
    704704                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/trackererror.png\" title=\"" + _("Tracker Error") +
    705                                "\">" + curPeers + '/' +
     705                               "\">" + ' ' + curPeers + "&thinsp;/&thinsp;" +
    706706                               ngettext("1 peer", "{0} peers", knownPeers) + "</a>";
    707707            else {
     
    709709                    err = err.substring(0, MAX_DISPLAYED_ERROR_LENGTH) + "&hellip;";
    710710                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/trackererror.png\" title=\"" + _("Tracker Error") +
    711                 "\">" + err + "</a>";
     711                "\"> " + err + "</a>";
    712712            }
    713713        } else if (remaining <= 0) {
     
    715715                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/seeding.png\" title=\"" + _("Seeding") + "\">" +
    716716                               "<a href=\"" + uri + "?p=" + Base64.encode(snark.meta.getInfoHash()) + "\">" +
    717                                curPeers + '/' +
     717                               ' ' + curPeers + "&thinsp;/&thinsp;" +
    718718                               ngettext("1 peer", "{0} peers", knownPeers) + "</a>";
    719719            else if (isRunning)
    720720                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/seeding.png\" title=\"" + _("Seeding") + "\">" +
    721                                curPeers + "/" +
     721                               ' ' + curPeers + "&thinsp;/&thinsp;" +
    722722                               ngettext("1 peer", "{0} peers", knownPeers)  + "</a>";
    723723            else
    724                 statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/complete.png\" title=\"" + _("Complete") + "\">" + _("Complete");
     724                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/complete.png\" title=\"" + _("Complete") + "\"> " + _("Complete");
    725725        } else {
    726726            if (isRunning && curPeers > 0 && downBps > 0 && !showPeers)
    727727                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/downloading.png\" title=\"" + _("Downloading") + "\">" +
    728728                               "<a href=\"" + uri + "?p=" + Base64.encode(snark.meta.getInfoHash()) + "\">" +
    729                                curPeers + "/" +
     729                               ' ' + curPeers + "&thinsp;/&thinsp;" +
    730730                               ngettext("1 peer", "{0} peers", knownPeers) + "</a>";
    731731            else if (isRunning && curPeers > 0 && downBps > 0)
    732732                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/downloading.png\" title=\"" + _("Downloading") + "\">" +
    733                                curPeers + "/" +
     733                               ' ' + curPeers + "&thinsp;/&thinsp;" +
    734734                               ngettext("1 peer", "{0} peers", knownPeers);
    735735            else if (isRunning && curPeers > 0 && !showPeers)
    736736                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/stalled.png\" title=\"" + _("Stalled") + "\">" +
    737737                               "<a href=\"" + uri + "?p=" + Base64.encode(snark.meta.getInfoHash()) + "\">" +
    738                                curPeers + '/' +
     738                               ' ' + curPeers + "&thinsp;/&thinsp;" +
    739739                               ngettext("1 peer", "{0} peers", knownPeers) + "</a>";
    740740            else if (isRunning && curPeers > 0)
    741741                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/stalled.png\" title=\"" + _("Stalled") + "\">" +
    742                                curPeers + '/' +
     742                               ' ' + curPeers + "&thinsp;/&thinsp;" +
    743743                               ngettext("1 peer", "{0} peers", knownPeers);
    744744            else if (isRunning)
    745745                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/nopeers.png\" title=\"" + _("No Peers") + "\">" +
    746                                curPeers + "/" +
     746                               ' ' + curPeers + "&thinsp;/&thinsp;" +
    747747                               ngettext("1 peer", "{0} peers", knownPeers);
    748748            else
    749                 statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/stopped.png\" title=\"" + _("Stopped") + "\">" + _("Stopped");
     749                statusString = "<img border=\"0\" src=\"/themes/snark/ubergine/images/stopped.png\" title=\"" + _("Stopped") + "\"> " + _("Stopped");
    750750        }
    751751       
     
    832832            out.write("\">");
    833833            out.write("<img src=\"/themes/snark/ubergine/images/stop.png\" title=\"");
    834             out.write(_("Stop"));
     834            out.write(_("Stop the torrent"));
    835835            out.write("\" alt=\"");
    836836            out.write(_("Stop"));
     
    860860            out.write("')) { return false; }\">");
    861861            out.write("<img src=\"/themes/snark/ubergine/images/remove.png\" title=\"");
    862             out.write(_("Remove"));
     862            out.write(_("Remove the torrent from the active list, deleting the .torrent file"));
    863863            out.write("\" alt=\"");
    864864            out.write(_("Remove"));
     
    875875            out.write("')) { return false; }\">");
    876876            out.write("<img src=\"/themes/snark/ubergine/images/delete.png\" title=\"");
    877             out.write(_("Delete"));
     877            out.write(_("Delete the .torrent file and the associated data file(s)"));
    878878            out.write("\" alt=\"");
    879879            out.write(_("Delete"));
     
    15421542            icon = "music";
    15431543        else if (mime.startsWith("video/") || plc.endsWith(".mkv") || plc.endsWith(".m4v") ||
    1544                  plc.endsWith(".mp4") || plc.endsWith(".wmv") || plc.endsWith(".flv"))
     1544                 plc.endsWith(".mp4") || plc.endsWith(".wmv") || plc.endsWith(".flv") ||
     1545                 plc.endsWith(".ogm"))
    15451546            icon = "film";
    15461547        else if (mime.equals("application/zip") || mime.equals("application/x-gtar") ||
  • router/java/src/net/i2p/router/RouterVersion.java

    rbe308a0 r2b2c3cf  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 9;
     21    public final static long BUILD = 10;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.