tweaks after review

This commit is contained in:
zzz
2010-11-14 23:58:13 +00:00
parent 2121b04f31
commit 355ca7b2f7
7 changed files with 14 additions and 12 deletions

View File

@ -274,7 +274,7 @@ public class I2PSnarkServlet extends Default {
out.write("</th>\n<th align=\"center\">"); out.write("</th>\n<th align=\"center\">");
out.write("<img border=\"0\" src=\"/themes/snark/ubergine/images/eta.png\" title=\""); out.write("<img border=\"0\" src=\"/themes/snark/ubergine/images/eta.png\" title=\"");
out.write(_("Estimated Download Time")); out.write(_("Estimated Download Time"));
out.write("\">"); out.write("\">&thinsp;");
out.write(_("ETA")); out.write(_("ETA"));
out.write("</th>\n<th align=\"center\">"); out.write("</th>\n<th align=\"center\">");
out.write("<img border=\"0\" src=\"/themes/console/images/inbound.png\" title=\""); out.write("<img border=\"0\" src=\"/themes/console/images/inbound.png\" title=\"");

View File

@ -46,9 +46,9 @@ public class ConfigUIHelper extends HelperBase {
return rv; return rv;
} }
private static final String langs[] = {"de", "en", "fr", "nl", "ru", "sv", "zh"}; private static final String langs[] = {"de", "en", "es", "fr", "nl", "ru", "sv", "zh"};
private static final String flags[] = {"de", "us", "fr", "nl", "ru", "se", "cn"}; private static final String flags[] = {"de", "us", "es", "fr", "nl", "ru", "se", "cn"};
private static final String xlangs[] = {_x("German"), _x("English"), _x("French"), private static final String xlangs[] = {_x("German"), _x("English"), _x("Spanish"),_x("French"),
_x("Dutch"), _x("Russian"), _x("Swedish"), _x("Chinese")}; _x("Dutch"), _x("Russian"), _x("Swedish"), _x("Chinese")};
/** todo sort by translated string */ /** todo sort by translated string */

View File

@ -50,11 +50,11 @@ Do not be concerned if these numbers vary widely.
<a href="configstats.jsp#router.activePeers">[Enable graphing]</a>. <a href="configstats.jsp#router.activePeers">[Enable graphing]</a>.
<li class="tidylist"><b>Fast:</b> <li class="tidylist"><b>Fast:</b>
This is the number of peers you use for building client tunnels. It is generally in the This is the number of peers you use for building client tunnels. It is generally in the
range 8-15. Your fast peers are shown on the <a href="profiles.jsp">profiles page</a>. range 8-30. Your fast peers are shown on the <a href="profiles.jsp">profiles page</a>.
<a href="configstats.jsp#router.fastPeers">[Enable graphing]</a>. <a href="configstats.jsp#router.fastPeers">[Enable graphing]</a>.
<li class="tidylist"><b>High Capacity:</b> <li class="tidylist"><b>High Capacity:</b>
This is the number of peers you use for building some of your exploratory tunnels. It is generally in the This is the number of peers you use for building some of your exploratory tunnels. It is generally in the
range 8-25. The fast peers are included in the high capacity tier. range 8-75. The fast peers are included in the high capacity tier.
Your high capacity peers are shown on the <a href="profiles.jsp">profiles page</a>. Your high capacity peers are shown on the <a href="profiles.jsp">profiles page</a>.
<a href="configstats.jsp#router.highCapacityPeers">[Enable graphing]</a>. <a href="configstats.jsp#router.highCapacityPeers">[Enable graphing]</a>.
<li class="tidylist"><b>Well Integrated:</b> <li class="tidylist"><b>Well Integrated:</b>

View File

@ -54,12 +54,12 @@ vari&euml;ren.
<a href="configstats.jsp#router.activePeers">[Grafieken inschakelen]</a>. <a href="configstats.jsp#router.activePeers">[Grafieken inschakelen]</a>.
<li class="tidylist"><b>Snel:</b> <li class="tidylist"><b>Snel:</b>
Dit is het aantal peers dat je gebruikt om client tunnels mee te bouwen. Het ligt over Dit is het aantal peers dat je gebruikt om client tunnels mee te bouwen. Het ligt over
het algemeen tussen 8 en 15. het algemeen tussen 8 en 30.
Je snelle peers worden getoond op de <a href="profiles.jsp">profielen pagina</a>. Je snelle peers worden getoond op de <a href="profiles.jsp">profielen pagina</a>.
<a href="configstats.jsp#router.fastPeers">[Grafieken inschakelen]</a>. <a href="configstats.jsp#router.fastPeers">[Grafieken inschakelen]</a>.
<li class="tidylist"><b>Grote capaciteit:</b> <li class="tidylist"><b>Grote capaciteit:</b>
Dit is het aantal peers dat je gebruikt om sommige van de onderzoekende tunnels mee te maken. Dit is het aantal peers dat je gebruikt om sommige van de onderzoekende tunnels mee te maken.
Het ligt over het algemeen tussen de 8 en 25. De snelle peers zijn inbegrepen in de categorie grote capaciteit. Het ligt over het algemeen tussen de 8 en 75. De snelle peers zijn inbegrepen in de categorie grote capaciteit.
De grote capaciteits peers worden getoond op de <a href="profiles.jsp">profielen pagina</a>. De grote capaciteits peers worden getoond op de <a href="profiles.jsp">profielen pagina</a>.
<a href="configstats.jsp#router.highCapacityPeers">[Grafieken inschakelen]</a>. <a href="configstats.jsp#router.highCapacityPeers">[Grafieken inschakelen]</a>.
<li class="tidylist"><b>Ge&iuml;ntegreerd:</b> <li class="tidylist"><b>Ge&iuml;ntegreerd:</b>

View File

@ -57,11 +57,11 @@
<li class="tidylist"><b>Быстрые:</b> <li class="tidylist"><b>Быстрые:</b>
Количество пиров, которые используются Вашим маршрутизатором для построения клиентских туннелей. В общем случае это значение будет в диапазоне 8-15. Список быстрых пиров можно посмотреть на странице <a href="profiles.jsp">профили</a>. <a href="configstats.jsp#router.fastPeers">[Включить построение графика]</a>. Количество пиров, которые используются Вашим маршрутизатором для построения клиентских туннелей. В общем случае это значение будет в диапазоне 8-30. Список быстрых пиров можно посмотреть на странице <a href="profiles.jsp">профили</a>. <a href="configstats.jsp#router.fastPeers">[Включить построение графика]</a>.
<li class="tidylist"><b>Высокоёмкие:</b> <li class="tidylist"><b>Высокоёмкие:</b>
Количество пиров, которые используются Вашим маршрутизатором для построения части зондирующих туннелей. В общем случае это значение будет в диапазоне 8-25. Быстрые пиры входят в группу высокоёмких. Список высокоёмких пиров можно посмотреть на странице <a href="profiles.jsp">профили</a>. <a href="configstats.jsp#router.highCapacityPeers">[Включить построение графика]</a>. Количество пиров, которые используются Вашим маршрутизатором для построения части зондирующих туннелей. В общем случае это значение будет в диапазоне 8-75. Быстрые пиры входят в группу высокоёмких. Список высокоёмких пиров можно посмотреть на странице <a href="profiles.jsp">профили</a>. <a href="configstats.jsp#router.highCapacityPeers">[Включить построение графика]</a>.
<li class="tidylist"><b>Хорошо интегрированные:</b> <li class="tidylist"><b>Хорошо интегрированные:</b>

View File

@ -243,9 +243,12 @@
<delete dir="debian/db" /> <delete dir="debian/db" />
<delete file="debian/files" /> <delete file="debian/files" />
<delete file="debian/build" /> <delete file="debian/build" />
<!-- HH to rework
Don't think we should be deleting stuff in .., esp. with wildcards
<delete> <delete>
<fileset dir=".." includes="i2p_*.tar.gz,i2p_*.deb,i2p_*.dsc,i2p_*.changes" /> <fileset dir=".." includes="i2p_*.tar.gz,i2p_*.deb,i2p_*.dsc,i2p_*.changes" />
</delete> </delete>
-->
<ant dir="core/java/" target="distclean" /> <ant dir="core/java/" target="distclean" />
<ant dir="router/java/" target="distclean" /> <ant dir="router/java/" target="distclean" />
<ant dir="apps/ministreaming/java/" target="distclean" /> <ant dir="apps/ministreaming/java/" target="distclean" />

View File

@ -25,8 +25,7 @@ public class SecureFileOutputStream extends FileOutputStream {
} }
/** /**
* Sets output file to mode 600 only if append = false * Sets output file to mode 600 whether append = true or false
* (otherwise it is presumed to be 600 already)
*/ */
public SecureFileOutputStream(String file, boolean append) throws FileNotFoundException { public SecureFileOutputStream(String file, boolean append) throws FileNotFoundException {
super(file, append); super(file, append);