- manager: change "Attach to project" to "Add project"

svn path=/trunk/boinc/; revision=22086
This commit is contained in:
David Anderson 2010-08-01 03:37:17 +00:00
parent 09360b0767
commit 852ab0444c
6 changed files with 16 additions and 11 deletions

View File

@ -5667,3 +5667,8 @@ David 30 Jul 2010
sched/ sched/
file_deleter.cpp file_deleter.cpp
sched_result.cpp sched_result.cpp
David 31 Jul 2010
- manager: change "Attach to project" to "Add project"
clientgui/various

View File

@ -526,11 +526,11 @@ void CAccountInfoPage::OnPageChanging( wxWizardExEvent& event ) {
// Construct potiental dialog title // Construct potiental dialog title
if (IS_ATTACHTOPROJECTWIZARD()) { if (IS_ATTACHTOPROJECTWIZARD()) {
strTitle = _("Attach to project"); strTitle = _("Add project");
} else if (IS_ACCOUNTMANAGERWIZARD() && IS_ACCOUNTMANAGERUPDATEWIZARD()) { } else if (IS_ACCOUNTMANAGERWIZARD() && IS_ACCOUNTMANAGERUPDATEWIZARD()) {
strTitle = _("Update account manager"); strTitle = _("Update account manager");
} else if (IS_ACCOUNTMANAGERWIZARD()) { } else if (IS_ACCOUNTMANAGERWIZARD()) {
strTitle = _("Attach to account manager"); strTitle = _("Add account manager");
} }
// Verify minimum password length // Verify minimum password length

View File

@ -388,7 +388,7 @@ bool CAdvancedFrame::CreateMenu() {
if (!is_acct_mgr_detected) { if (!is_acct_mgr_detected) {
menuTools->Append( menuTools->Append(
ID_WIZARDATTACH, ID_WIZARDATTACH,
_("&Attach to project or account manager..."), _("&Add project or account manager..."),
_("Volunteer for any or all of 30+ projects in many areas of science") _("Volunteer for any or all of 30+ projects in many areas of science")
); );
} else { } else {
@ -407,8 +407,8 @@ bool CAdvancedFrame::CreateMenu() {
); );
menuTools->Append( menuTools->Append(
ID_WIZARDATTACH, ID_WIZARDATTACH,
_("&Attach to project..."), _("&Add project..."),
_("Attach to a project") _("Add a project")
); );
strMenuName.Printf( strMenuName.Printf(
_("S&top using %s..."), _("S&top using %s..."),

View File

@ -42,7 +42,7 @@
#define ID_ERRPROXYINFOPAGE 10111 #define ID_ERRPROXYINFOPAGE 10111
#define ID_ERRPROXYPAGE 10112 #define ID_ERRPROXYPAGE 10112
// Attach to Project Wizard Pages // Add Project Wizard Pages
#define ID_PROJECTINFOPAGE 10200 #define ID_PROJECTINFOPAGE 10200
#define ID_PROJECTPROPERTIESPAGE 10201 #define ID_PROJECTPROPERTIESPAGE 10201
#define ID_PROJECTPROCESSINGPAGE 10202 #define ID_PROJECTPROCESSINGPAGE 10202

View File

@ -1103,7 +1103,7 @@ bool CSkinWizardATP::InitializeDelayedValidation() {
} }
if (m_strTitle.IsEmpty()) { if (m_strTitle.IsEmpty()) {
if (show_error_msgs) { if (show_error_msgs) {
fprintf(stderr, "Skin Manager: Attach to project wizard title was not defined. Using default.\n"); fprintf(stderr, "Skin Manager: Add project wizard title was not defined. Using default.\n");
} }
m_strTitle = wxT("BOINC Manager"); m_strTitle = wxT("BOINC Manager");
wxASSERT(!m_strTitle.IsEmpty()); wxASSERT(!m_strTitle.IsEmpty());
@ -1172,7 +1172,7 @@ bool CSkinWizardATAM::InitializeDelayedValidation() {
} }
if (m_strTitle.IsEmpty()) { if (m_strTitle.IsEmpty()) {
if (show_error_msgs) { if (show_error_msgs) {
fprintf(stderr, "Skin Manager: Attach to project wizard title was not defined. Using default.\n"); fprintf(stderr, "Skin Manager: Add project wizard title was not defined. Using default.\n");
} }
m_strTitle = wxT("BOINC Manager"); m_strTitle = wxT("BOINC Manager");
wxASSERT(!m_strTitle.IsEmpty()); wxASSERT(!m_strTitle.IsEmpty());

View File

@ -252,7 +252,7 @@ void CWelcomePage::OnPageChanged( wxWizardExEvent& event ) {
m_pTitleStaticCtrl->SetLabel( m_pTitleStaticCtrl->SetLabel(
_("Attach to project or account manager") _("Add project or account manager")
); );
pDoc->rpc.acct_mgr_info(ami); pDoc->rpc.acct_mgr_info(ami);
@ -292,11 +292,11 @@ or use an 'Account Manager' web site to select projects.")
} }
m_pAttachToProjectCtrl->SetLabel( m_pAttachToProjectCtrl->SetLabel(
_("Attach to project") _("Add project")
); );
m_pAttachToAccountManagerCtrl->SetLabel( m_pAttachToAccountManagerCtrl->SetLabel(
_("Attach to account manager") _("Add account manager")
); );
if (!is_wcg_client) { if (!is_wcg_client) {