forked from I2P_Developers/i2p.i2p
* minor revise on some wording.
* updated translation.
This commit is contained in:
@@ -595,7 +595,7 @@ public class SnarkManager implements Snark.CompleteListener {
|
|||||||
// addMessage(_("Warning - No I2P trackers in \"{0}\", and open trackers are disabled, will announce to DHT only.", info.getName()));
|
// addMessage(_("Warning - No I2P trackers in \"{0}\", and open trackers are disabled, will announce to DHT only.", info.getName()));
|
||||||
} else {
|
} else {
|
||||||
//addMessage(_("Warning - No I2P trackers in \"{0}\", and DHT and open trackers are disabled, you should enable open trackers or DHT before starting the torrent.", info.getName()));
|
//addMessage(_("Warning - No I2P trackers in \"{0}\", and DHT and open trackers are disabled, you should enable open trackers or DHT before starting the torrent.", info.getName()));
|
||||||
addMessage(_("Warning - No I2P trackers in \"{0}\", and DHT and open trackers are disabled, you should enable open trackers before starting the torrent.", info.getName()));
|
addMessage(_("Warning - No I2P Trackers found in \"{0}\". Make sure Open Tracker is enabled before starting this torrent.", info.getName()));
|
||||||
dontAutoStart = true;
|
dontAutoStart = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1216,7 +1216,8 @@ public class I2PSnarkServlet extends Default {
|
|||||||
out.write("</option>\n");
|
out.write("</option>\n");
|
||||||
// todo remember this one with _lastAnnounceURL also
|
// todo remember this one with _lastAnnounceURL also
|
||||||
out.write("<option value=\"none\">");
|
out.write("<option value=\"none\">");
|
||||||
out.write(_("Open trackers and DHT only"));
|
//out.write(_("Open trackers and DHT only"));
|
||||||
|
out.write(_("Open trackers only"));
|
||||||
out.write("</option>\n");
|
out.write("</option>\n");
|
||||||
Map trackers = _manager.getTrackers();
|
Map trackers = _manager.getTrackers();
|
||||||
for (Iterator iter = trackers.entrySet().iterator(); iter.hasNext(); ) {
|
for (Iterator iter = trackers.entrySet().iterator(); iter.hasNext(); ) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -197,9 +197,10 @@ public class StatsGenerator {
|
|||||||
buf.append("; ");
|
buf.append("; ");
|
||||||
}
|
}
|
||||||
|
|
||||||
buf.append(ngettext((int) curRate.getLastEventCount(), "There was 1 event", "There were {0} events"));
|
// breaking the sentence like before makes translation in my language impossible.
|
||||||
buf.append(' ');
|
buf.append(_("There were {0} event(s) in this period", curRate.getLastEventCount()));
|
||||||
buf.append(_("in this period which ended {0} ago.", DataHelper.formatDuration2(now - curRate.getLastCoalesceDate())));
|
// buf.append(' ');
|
||||||
|
buf.append(_(" which ended {0} ago.", DataHelper.formatDuration2(now - curRate.getLastCoalesceDate())));
|
||||||
} else {
|
} else {
|
||||||
buf.append(" <i>").append(_("No events")).append("</i> ");
|
buf.append(" <i>").append(_("No events")).append("</i> ");
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user