1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

ShuttleGui::AddVariableText takes TranslatableString

This commit is contained in:
Paul Licameli
2019-12-22 17:01:20 -05:00
parent 5168d62e3d
commit 707a069712
29 changed files with 255 additions and 199 deletions

View File

@@ -683,7 +683,8 @@ void MacrosWindow::PopulateOrExchange(ShuttleGui & S)
/* i18n-hint: The Shrink button makes the dialog smaller, with less in it */
mResize = S.Id(ShrinkID).AddButton(XO("Shrin&k"));
// Using variable text just to get the positioning options.
S.Prop(0).AddVariableText( _("Apply Macro to:"), false, wxALL | wxALIGN_CENTRE_VERTICAL );
S.Prop(0).AddVariableText(
XO("Apply Macro to:"), false, wxALL | wxALIGN_CENTRE_VERTICAL );
wxButton* btn = S.Id(ApplyToProjectID)
.Name(XO("Apply macro to project"))
.AddButton(XO("&Project"));