couple of tags

This commit is contained in:
zzz
2010-03-05 15:27:32 +00:00
parent ee9f85d53c
commit 2be1b1ece4
2 changed files with 2 additions and 2 deletions

View File

@ -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"));
} }
} }

View File

@ -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;
} }
} }