1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

TranslatableString for captions of text entry boxes

This commit is contained in:
Paul Licameli
2019-12-22 16:26:56 -05:00
parent b404eb7800
commit 5168d62e3d
59 changed files with 221 additions and 198 deletions

View File

@@ -87,7 +87,7 @@ void MacroCommandDialog::PopulateOrExchange(ShuttleGui &S)
S.StartMultiColumn(4, wxEXPAND);
{
S.SetStretchyCol(1);
mCommand = S.AddTextBox(_("&Command"), wxT(""), 20);
mCommand = S.AddTextBox(XO("&Command"), wxT(""), 20);
mCommand->SetEditable(false);
mEditParams = S.Id(EditParamsButtonID)
.Disable() // disable button as box is empty
@@ -101,7 +101,7 @@ void MacroCommandDialog::PopulateOrExchange(ShuttleGui &S)
S.StartMultiColumn(2, wxEXPAND);
{
S.SetStretchyCol(1);
mParameters = S.AddTextBox(_("&Parameters"), wxT(""), 0);
mParameters = S.AddTextBox(XO("&Parameters"), wxT(""), 0);
mParameters->SetEditable(false);
auto prompt = XO("&Details");
S.Prop(0).AddPrompt(prompt.Translation());