mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
AudacityMessageDialog takes TranslatableString message and caption
This commit is contained in:
@@ -1017,11 +1017,12 @@ void MacrosWindow::OnRemove(wxCommandEvent & WXUNUSED(event))
|
||||
}
|
||||
|
||||
wxString name = mMacros->GetItemText(item);
|
||||
AudacityMessageDialog m(this,
|
||||
/*i18n-hint: %s will be replaced by the name of a file.*/
|
||||
wxString::Format(_("Are you sure you want to delete %s?"), name),
|
||||
GetTitle(),
|
||||
wxYES_NO | wxICON_QUESTION);
|
||||
AudacityMessageDialog m(
|
||||
this,
|
||||
/*i18n-hint: %s will be replaced by the name of a file.*/
|
||||
XO("Are you sure you want to delete %s?").Format( name ),
|
||||
Verbatim( GetTitle() ),
|
||||
wxYES_NO | wxICON_QUESTION );
|
||||
if (m.ShowModal() == wxID_NO) {
|
||||
Raise();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user