From 4b10a64343de8dea78bed18bf7ecf59a67f90961 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 22 Oct 2004 16:06:10 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4394 --- clientgui/ValidateAccountKey.cpp | 7 +++++-- clientgui/ValidateURL.cpp | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/clientgui/ValidateAccountKey.cpp b/clientgui/ValidateAccountKey.cpp index 064909a520..b7bcff066a 100644 --- a/clientgui/ValidateAccountKey.cpp +++ b/clientgui/ValidateAccountKey.cpp @@ -21,6 +21,9 @@ // Revision History: // // $Log$ +// Revision 1.2 2004/10/22 16:06:10 rwalton +// *** empty log message *** +// // Revision 1.1 2004/09/22 21:53:04 rwalton // *** empty log message *** // @@ -79,11 +82,11 @@ bool CValidateAccountKey::Validate(wxWindow *parent) bool ok = TRUE; - if ( (!wxIsAlphaNumeric(val)) || (val.Length() != 32) ) + if ( (!wxIsAlphaNumeric(val)) ) { ok = FALSE; - m_errormsg = _("'%s' should only contain alphabetic or numeric characters and be equal to 32 characters."); + m_errormsg = _("Invalid Account Key, please enter a valid Account Key"); } if ( !ok ) diff --git a/clientgui/ValidateURL.cpp b/clientgui/ValidateURL.cpp index 12c424edf3..cfd46a9ea4 100644 --- a/clientgui/ValidateURL.cpp +++ b/clientgui/ValidateURL.cpp @@ -21,6 +21,9 @@ // Revision History: // // $Log$ +// Revision 1.3 2004/10/22 16:06:10 rwalton +// *** empty log message *** +// // Revision 1.2 2004/09/30 20:32:15 davea // *** empty log message *** // @@ -87,7 +90,7 @@ bool CValidateURL::Validate(wxWindow *parent) ok = FALSE; if ( wxURL_SNTXERR == val.GetError() ) - m_errormsg = _("'%s' contains a syntax error."); + m_errormsg = _("No URL supplied, please enter a valid project URL."); else if ( wxURL_NOPROTO == val.GetError() ) m_errormsg = _("'%s' does not contain a protocol which can get this URL."); else if ( wxURL_NOHOST == val.GetError() )