*** empty log message ***

svn path=/trunk/boinc/; revision=8367
This commit is contained in:
Rom Walton 2005-09-30 18:46:33 +00:00
parent 55f4a15614
commit 59ef43a4a5
1 changed files with 12 additions and 4 deletions

View File

@ -307,10 +307,18 @@ void CAccountInfoPage::OnPageChanging( wxWizardExEvent& event )
unsigned int iMinLength = ((CBOINCBaseWizard*)GetParent())->project_config.min_passwd_length;
wxString strPassword = m_AccountPasswordCtrl->GetValue();
if (strPassword.Length() < iMinLength) {
if (IS_ATTACHTOPROJECTWIZARD()) {
strMessage.Printf(
_("The minimum password length for this project is %d. Please choose a different password."),
iMinLength
);
}
if (IS_ACCOUNTMANAGERWIZARD()) {
strMessage.Printf(
_("The minimum password length for this account manager is %d. Please choose a different password."),
iMinLength
);
}
bDisplayError = true;
}