1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-18 17:10:55 +02:00

Remove unwanted ':' on names of scripting checkboxes.

The name comes after the checkbox, and looks better without the ':'.
Made an exception for "Resize:" in  SetProjectCommand.
It controls 4 subordinate settings, and those settings do come after the name.
This commit is contained in:
James Crook 2020-03-05 19:53:16 +00:00
parent 722a3f5ea5
commit 301c511422
5 changed files with 6 additions and 6 deletions

View File

@ -90,8 +90,8 @@ void SaveProjectCommand::PopulateOrExchange(ShuttleGui & S)
S.StartMultiColumn(2, wxALIGN_CENTER); S.StartMultiColumn(2, wxALIGN_CENTER);
{ {
S.TieTextBox(XO("File Name:"),mFileName); S.TieTextBox(XO("File Name:"),mFileName);
S.TieCheckBox(XO("Add to History:"), mbAddToHistory ); S.TieCheckBox(XO("Add to History"), mbAddToHistory );
S.TieCheckBox(XO("Compress:"), mbCompress ); S.TieCheckBox(XO("Compress"), mbCompress );
} }
S.EndMultiColumn(); S.EndMultiColumn();
} }

View File

@ -77,7 +77,7 @@ void SetPreferenceCommand::PopulateOrExchange(ShuttleGui & S)
{ {
S.TieTextBox(XO("Name:"),mName); S.TieTextBox(XO("Name:"),mName);
S.TieTextBox(XO("Value:"),mValue); S.TieTextBox(XO("Value:"),mValue);
S.TieCheckBox(XO("Reload:"),mbReload); S.TieCheckBox(XO("Reload"),mbReload);
} }
S.EndMultiColumn(); S.EndMultiColumn();
} }

View File

@ -131,7 +131,7 @@ void ScreenshotCommand::PopulateOrExchange(ShuttleGui & S)
mWhat, Msgids(kCaptureWhatStrings, nCaptureWhats)); mWhat, Msgids(kCaptureWhatStrings, nCaptureWhats));
S.TieChoice( XO("Background:"), S.TieChoice( XO("Background:"),
mBack, Msgids(kBackgroundStrings, nBackgrounds)); mBack, Msgids(kBackgroundStrings, nBackgrounds));
S.TieCheckBox( XO("Bring To Top:"), mbBringToTop); S.TieCheckBox( XO("Bring To Top"), mbBringToTop);
} }
S.EndMultiColumn(); S.EndMultiColumn();
} }

View File

@ -52,7 +52,7 @@ void SetEnvelopeCommand::PopulateOrExchange(ShuttleGui & S)
{ {
S.Optional( bHasT ).TieNumericTextBox( XO("Time:"), mT ); S.Optional( bHasT ).TieNumericTextBox( XO("Time:"), mT );
S.Optional( bHasV ).TieNumericTextBox( XO("Value:"), mV ); S.Optional( bHasV ).TieNumericTextBox( XO("Value:"), mV );
S.Optional( bHasDelete ).TieCheckBox( XO("Delete:"), mbDelete ); S.Optional( bHasDelete ).TieCheckBox( XO("Delete"), mbDelete );
} }
S.EndMultiColumn(); S.EndMultiColumn();
} }

View File

@ -61,7 +61,7 @@ void SetLabelCommand::PopulateOrExchange(ShuttleGui & S)
S.Optional( bHasText ).TieTextBox( XO("Text:"), mText ); S.Optional( bHasText ).TieTextBox( XO("Text:"), mText );
S.Optional( bHasT0 ).TieNumericTextBox( XO("Start:"), mT0 ); S.Optional( bHasT0 ).TieNumericTextBox( XO("Start:"), mT0 );
S.Optional( bHasT1 ).TieNumericTextBox( XO("End:"), mT1 ); S.Optional( bHasT1 ).TieNumericTextBox( XO("End:"), mT1 );
S.Optional( bHasSelected ).TieCheckBox( XO("Selected:"), mbSelected ); S.Optional( bHasSelected ).TieCheckBox( XO("Selected"), mbSelected );
} }
S.EndMultiColumn(); S.EndMultiColumn();
} }