Console, i2ptunnel: Reword blinding options and tooltips

i2ptunnel: Unhide blinding options
This commit is contained in:
zzz
2019-05-30 15:16:47 +00:00
parent f049319500
commit aae81a7b5f
4 changed files with 38 additions and 38 deletions

View File

@ -160,7 +160,7 @@ public class ConfigKeyringHandler extends FormHandler {
_context.netDb().setBlindData(bdout);
addFormNotice(_t("Key for {0} added to keyring", bdout.toBase32()));
if (_mode == 6 || _mode == 7) {
addFormNotice(_t("Send your new key to the server opererator") + ": " + pk.toPublic().toBase64());
addFormNotice(_t("Send key to server opererator.") + ' ' + pk.toPublic().toBase64());
}
} catch (IllegalArgumentException iae) {
addFormError(_t("Invalid destination") + ": " + iae.getMessage());

View File

@ -79,7 +79,7 @@ public class ConfigKeyringHelper extends HelperBase {
}
buf.append("</td><td>");
if (!local)
buf.append(_t("Encrypted")).append("</td><td>");
buf.append(_t("Encrypted")).append(" (AES)</td><td>");
SessionKey sk = e.getValue();
buf.append(sk.toBase64());
if (!local)
@ -110,14 +110,14 @@ public class ConfigKeyringHelper extends HelperBase {
String s;
if (type == BlindData.AUTH_DH) {
if (secret != null)
s = _t("Blinded with lookup password and per-user key");
s = _t("Encrypted with lookup password") + " (DH)";
else
s = _t("Blinded with per-user key");
s = _t("Encrypted") + " (DH)";
} else if (type == BlindData.AUTH_PSK) {
if (secret != null)
s = _t("Blinded with lookup password and shared key");
s = _t("Encrypted with lookup password") + " (PSK)";
else
s = _t("Blinded with shared key");
s = _t("Encrypted") + " (PSK)";
} else {
if (secret != null)
s = _t("Blinded with lookup password");