mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-27 15:53:49 +01:00
FileNames::SelectFile takes TranslatableString for message
This commit is contained in:
@@ -57,7 +57,7 @@ void ShowDiagnostics(
|
||||
|
||||
if (dlg.ShowModal() == wxID_OK)
|
||||
{
|
||||
const auto fileDialogTitle = XO("Save %s").Format( description ).Translation();
|
||||
const auto fileDialogTitle = XO("Save %s").Format( description );
|
||||
wxString fName = FileNames::SelectFile(FileNames::Operation::Export,
|
||||
fileDialogTitle,
|
||||
wxEmptyString,
|
||||
@@ -72,7 +72,7 @@ void ShowDiagnostics(
|
||||
{
|
||||
AudacityMessageBox(
|
||||
XO("Unable to save %s").Format( description ).Translation(),
|
||||
fileDialogTitle);
|
||||
fileDialogTitle.Translation());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user