From 69638caa7b42bd63c0b134cb927ba9c0cd8a0cbd Mon Sep 17 00:00:00 2001
From: zzz " + msg + "\n
\n" + " \n");
- out.write("" + _t("Host") +
- " " + destination + " ");
- out.write("\n" + _t("Base 32") + " " +
- "" + destination + "
");
+ out.write("\n" +
+ "
\n" + " " +
+ "\n" + _t("Base 32") + " " +
+ "" + destination + "
");
String msg;
if (code == LookupResult.RESULT_SECRET_REQUIRED)
- msg = _t("b32 address requires lookup password");
+ msg = _t("Base 32 address requires lookup password");
else if (code == LookupResult.RESULT_KEY_REQUIRED)
- msg = _t("b32 address requires encryption key");
+ msg = _t("Base 32 address requires encryption key");
else if (code == LookupResult.RESULT_SECRET_AND_KEY_REQUIRED)
- msg = _t("b32 address requires encryption key and lookup password");
+ msg = _t("Base 32 address requires encryption key and lookup password");
else if (code == LookupResult.RESULT_DECRYPTION_FAILURE)
- msg = _t("b32 address decryption failure, check encryption key");
+ msg = _t("Base 32 address decryption failure, check encryption key");
else
msg = "lookup failure code " + code;
out.write("
" + _t("Enter PSK encryption key") + + "
\n" + + "\n" + "" + _t("Generate new DH encryption key") + - "\n"); + "
" + _t("Generate new PSK encryption key") + //"\n"); } if (code == LookupResult.RESULT_SECRET_REQUIRED || code == LookupResult.RESULT_SECRET_AND_KEY_REQUIRED) { out.write("
" + - "
\n"); + "" + _t("You must enter the password provided by the server operator.") + + "
\n" + + "\n"); } // FIXME wasn't escaped String label = _t("Save & continue").replace("&", "&"); - out.write("\n"); writeFooter(out); diff --git a/installer/resources/proxy/b32-auth-header.ht b/installer/resources/proxy/b32-auth-header.ht new file mode 100644 index 000000000..c6f416d6f --- /dev/null +++ b/installer/resources/proxy/b32-auth-header.ht @@ -0,0 +1,23 @@ +HTTP/1.1 400 Destination Not Found +Content-Type: text/html; charset=UTF-8 +Cache-Control: no-cache +Connection: close +Proxy-Connection: close + + + ++
_("Could not find the following destination:") +