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