forked from I2P_Developers/i2p.i2p
Rename _() for translation to _t() for Java 9 compatibility (ticket #1456)
This commit is contained in:
@@ -68,10 +68,10 @@
|
||||
out.print("<hr>\n<div class=\"refresh\"><form action=\"summaryframe.jsp\" method=\"POST\">\n");
|
||||
if (intl.getDisableRefresh()) {
|
||||
out.print("<b>");
|
||||
out.print(intl._("Refresh (s)"));
|
||||
out.print(intl._t("Refresh (s)"));
|
||||
out.print(":</b> <input size=\"3\" type=\"text\" name=\"refresh\" value=\"60\" >\n");
|
||||
out.print("<button type=\"submit\" value=\"Enable\" >");
|
||||
out.print(intl._("Enable"));
|
||||
out.print(intl._t("Enable"));
|
||||
} else {
|
||||
// this will load in the iframe but subsequent pages will not have the iframe
|
||||
out.print("<input type=\"hidden\" name=\"refresh\" value=\"0\" >\n");
|
||||
@@ -81,7 +81,7 @@
|
||||
refreshMS = 1000 * Long.parseLong(d);
|
||||
} catch (NumberFormatException nfe) {}
|
||||
String refreshTime = net.i2p.data.DataHelper.formatDuration2(refreshMS);
|
||||
out.print(intl._("Disable {0} Refresh", refreshTime));
|
||||
out.print(intl._t("Disable {0} Refresh", refreshTime));
|
||||
}
|
||||
out.print("</button></form></div>\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user