couple of tags
This commit is contained in:
@ -58,7 +58,7 @@ public class ConfigPeerHandler extends FormHandler {
|
|||||||
}
|
}
|
||||||
addFormError(_("Invalid peer"));
|
addFormError(_("Invalid peer"));
|
||||||
} else if (_action.startsWith("Check")) {
|
} else if (_action.startsWith("Check")) {
|
||||||
addFormError("Unsupported");
|
addFormError(_("Unsupported"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ public class FormHandler {
|
|||||||
if ( (expected != null) && (expected.trim().length() > 0) && (expected.equals(_passphrase)) ) {
|
if ( (expected != null) && (expected.trim().length() > 0) && (expected.equals(_passphrase)) ) {
|
||||||
// ok
|
// ok
|
||||||
} else {
|
} else {
|
||||||
addFormError("Invalid form submission, probably because you used the 'back' or 'reload' button on your browser. Please resubmit.");
|
addFormError(_("Invalid form submission, probably because you used the 'back' or 'reload' button on your browser. Please resubmit."));
|
||||||
_valid = false;
|
_valid = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user