1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-22 00:47:13 +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

@@ -534,7 +534,7 @@ PrefsDialog::Factories
PrefsDialog::PrefsDialog
(wxWindow * parent, const wxString &titlePrefix, Factories &factories)
: wxDialogWrapper(parent, wxID_ANY, wxString(_("Audacity Preferences")),
: wxDialogWrapper(parent, wxID_ANY, XO("Audacity Preferences"),
wxDefaultPosition,
wxDefaultSize,
wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER)
@@ -694,7 +694,7 @@ int PrefsDialog::ShowModal()
mCategories->SetSelection(selected);
}
else {
wxString Temp = mTitlePrefix + mUniquePage->GetLabel();
auto Temp = TranslatableString{ mTitlePrefix + mUniquePage->GetLabel() };
SetTitle(Temp);
SetName(Temp);
}