1
0
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:
Paul Licameli
2019-12-08 00:25:47 -05:00
parent fbebef2911
commit 53ee9c9800
90 changed files with 275 additions and 254 deletions

View File

@@ -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);