1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-02 20:37:38 +02:00

AudacityMessageBox takes TranslatableString message and caption

This commit is contained in:
Paul Licameli
2019-12-07 14:30:07 -05:00
parent d8c2610d88
commit dc39f22442
77 changed files with 1005 additions and 748 deletions

View File

@@ -222,12 +222,11 @@ bool CheckWritablePreferences()
return gPrefs->Write("/TEST", true) && gPrefs->Flush();
}
wxString UnwritablePreferencesErrorMessage( const wxFileName &configFileName )
TranslatableString UnwritablePreferencesErrorMessage( const wxFileName &configFileName )
{
return wxString::Format(
_("Audacity cannot start because the settings file at %s is not writable."),
configFileName.GetFullPath()
);
return
XO("Audacity cannot start because the settings file at %s is not writable.")
.Format(configFileName.GetFullPath());
}
void FinishPreferences()