mirror of https://github.com/BOINC/boinc.git
Mac: In permissions error alert: show branded name and path to bad file or subdirectory
svn path=/trunk/boinc/; revision=25082
This commit is contained in:
parent
52d06bce98
commit
ecf6c103a3
|
@ -619,7 +619,7 @@ Rom 16 Jan 2012
|
|||
version.h
|
||||
|
||||
Charlie 17 Jan 2012
|
||||
- Mac: In permissions error alert: show branded name, if permissions
|
||||
- Mac: In permissions error alert: show branded name; if permissions
|
||||
error is in a subdirectory, show path to bad file or subdirectory.
|
||||
|
||||
client/
|
||||
|
|
|
@ -340,13 +340,18 @@ bool CBOINCGUIApp::OnInit() {
|
|||
m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str()
|
||||
);
|
||||
} else {
|
||||
wxString strErrorPath = wxString::FromUTF8(path_to_error);
|
||||
strDialogMessage.Printf(
|
||||
_("%s ownership or permissions are not set properly; please reinstall %s.\n(Error code %d at %s)"),
|
||||
_("%s ownership or permissions are not set properly; please reinstall %s.\n(Error code %d"),
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str(),
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str(),
|
||||
iErrorCode , strErrorPath.c_str()
|
||||
iErrorCode
|
||||
);
|
||||
if (path_to_error[0]) {
|
||||
strDialogMessage += _(" at ");
|
||||
strDialogMessage += wxString::FromUTF8(path_to_error);
|
||||
}
|
||||
strDialogMessage += _(")");
|
||||
|
||||
fprintf(stderr, "%ls ownership or permissions are not set properly; please reinstall %ls.\n(Error code %d at %s)",
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str(),
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationShortName().c_str(),
|
||||
|
|
Loading…
Reference in New Issue