*** empty log message ***

svn path=/trunk/boinc/; revision=5646
This commit is contained in:
Rom Walton 2005-03-12 23:23:50 +00:00
parent 36478ec340
commit db6c4505c0
1 changed files with 5 additions and 1 deletions

View File

@ -77,7 +77,11 @@ bool CValidateURL::Validate(wxWindow *parent)
if ( wxURL_SNTXERR == val.GetError() ) if ( wxURL_SNTXERR == val.GetError() )
m_errormsg = _("No URL supplied; please enter a valid project URL."); m_errormsg = _("No URL supplied; please enter a valid project URL.");
else if ( wxURL_NOPROTO == val.GetError() ) else if ( wxURL_NOPROTO == val.GetError() )
m_errormsg = _("'%s' does not start with http://"); {
// Special case: we want to allow the user to specify the URL without
// specifing the protocol.
ok = TRUE;
}
else if ( wxURL_NOHOST == val.GetError() ) else if ( wxURL_NOHOST == val.GetError() )
m_errormsg = _("'%s' does not contain a valid host name."); m_errormsg = _("'%s' does not contain a valid host name.");
else if ( wxURL_NOPATH == val.GetError() ) else if ( wxURL_NOPATH == val.GetError() )