mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-09 16:05:39 +01:00
TranslatableString for titles, names, labels of wxDialogWrappers...
... Found one missed translation in CommandTargets.cpp
This commit is contained in:
@@ -59,11 +59,11 @@ const wxString &DefaultWarningFooter()
|
||||
WarningDialog::WarningDialog(wxWindow *parent, const wxString &message,
|
||||
const wxString &footer,
|
||||
bool showCancelButton)
|
||||
: wxDialogWrapper(parent, wxID_ANY, (wxString)_("Warning"),
|
||||
: wxDialogWrapper(parent, wxID_ANY, XO("Warning"),
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
(showCancelButton ? wxDEFAULT_DIALOG_STYLE : wxCAPTION | wxSYSTEM_MENU)) // Unlike wxDEFAULT_DIALOG_STYLE, no wxCLOSE_BOX.
|
||||
{
|
||||
SetName(GetTitle());
|
||||
SetName();
|
||||
|
||||
SetIcon(wxArtProvider::GetIcon(wxART_WARNING, wxART_MESSAGE_BOX));
|
||||
ShuttleGui S(this, eIsCreating);
|
||||
|
||||
Reference in New Issue
Block a user