merge of '3e6cfe9a01136316f39f1bd294a515e6bc91ff8e'

and 'b4b595d294ace07f7fde583957d8e00e96af347c'
This commit is contained in:
kytv
2014-11-28 20:39:57 +00:00
22 changed files with 250 additions and 58 deletions

View File

@@ -41,7 +41,7 @@ public class NewsMetadata {
@Override
public int compareTo(Update other) {
return Integer.compare(getTypeOrder(), other.getTypeOrder());
return getTypeOrder() - other.getTypeOrder();
}
protected int getTypeOrder() {

View File

@@ -348,8 +348,11 @@ public class SummaryBarRenderer {
.append(_helper.getReachability())
.append("</a></h4>\n");
if (!SigType.ECDSA_SHA256_P256.isAvailable()) {
buf.append("<hr>\n<h4><a href=\"/logs\" target=\"_top\" title=\"")
.append(_("See more information on the logs page"))
buf.append("<hr>\n<h4><a href=\"http://trac.i2p2.i2p/wiki/Crypto/ECDSA");
if ("ru".equals(Messages.getLanguage(_context)))
buf.append("-ru");
buf.append("\" target=\"_top\" title=\"")
.append(_("See more information on the wiki"))
.append("\">")
.append(_("Warning: ECDSA is not available. Update your Java or OS"))
.append("</a></h4>\n");