mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4394
This commit is contained in:
parent
3239c7c23a
commit
4b10a64343
|
@ -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 )
|
||||
|
|
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue