MGR: Mac: change "you are not authorized to manage the client" in alert to "... to manage BOINC" or "... to manage World Community Grid", "... to manage GridRepublic", etc.

This commit is contained in:
Charlie Fenton 2017-07-16 20:57:15 -07:00
parent 15680d88a2
commit 9454538add
1 changed files with 2 additions and 1 deletions

View File

@ -308,7 +308,8 @@ bool CBOINCGUIApp::OnInit() {
); );
#else // ! (defined(__WXMAC__) && defined (_DEBUG)) #else // ! (defined(__WXMAC__) && defined (_DEBUG))
strDialogMessage.Printf( strDialogMessage.Printf(
_("You currently are not authorized to manage the client.\n\nTo run %s as this user, please:\n- reinstall %s answering \"Yes\" to the question about non-administrative users\n or\n- contact your administrator to add you to the 'boinc_master' user group."), _("You currently are not authorized to manage %s.\n\nTo run %s as this user, please:\n- reinstall %s answering \"Yes\" to the question about non-administrative users\n or\n- contact your administrator to add you to the 'boinc_master' user group."),
m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str(),
m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str(), m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str(),
m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str() m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str()
); );