1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-23 07:40:05 +02:00

Change wordings and consolidate prefs.

- Bring more options together into one static in prefs
- Use verb followed by description for options.
- Capitalise D in 'Down' in a menu item.
This commit is contained in:
James Crook 2018-03-04 09:39:42 +00:00
parent eab0af21ee
commit e45a6b09d4
3 changed files with 22 additions and 26 deletions

@ -977,7 +977,7 @@ void AudacityProject::CreateMenusAndCommands()
const PluginID ID = EffectManager::Get().GetEffectByIdentifier(wxT("StereoToMono")); const PluginID ID = EffectManager::Get().GetEffectByIdentifier(wxT("StereoToMono"));
const PluginDescriptor *plug = PluginManager::Get().GetPlugin(ID); const PluginDescriptor *plug = PluginManager::Get().GetPlugin(ID);
if (plug && plug->IsEnabled()) if (plug && plug->IsEnabled())
c->AddItem(wxT("Stereo to Mono"), _("Mix Stereo down to &Mono"), FN(OnStereoToMono), c->AddItem(wxT("Stereo to Mono"), _("Mix Stereo Down to &Mono"), FN(OnStereoToMono),
AudioIONotBusyFlag | StereoRequiredFlag | WaveTracksSelectedFlag, AudioIONotBusyFlag | StereoRequiredFlag | WaveTracksSelectedFlag,
AudioIONotBusyFlag | StereoRequiredFlag | WaveTracksSelectedFlag); AudioIONotBusyFlag | StereoRequiredFlag | WaveTracksSelectedFlag);
} }

@ -176,12 +176,13 @@ void GUIPrefs::PopulateOrExchange(ShuttleGui & S)
} }
S.EndStatic(); S.EndStatic();
S.StartStatic(_("Show")); S.StartStatic(_("Options"));
{ {
S.TieCheckBox(_("'How to Get &Help' at launch"), // Start wording of options with a verb, if possible.
S.TieCheckBox(_("Show 'How to Get &Help' at launch"),
wxT("/GUI/ShowSplashScreen"), wxT("/GUI/ShowSplashScreen"),
true); true);
S.TieCheckBox(_("E&xtra menus"), S.TieCheckBox(_("Show e&xtra menus"),
wxT("/GUI/ShowExtraMenus"), wxT("/GUI/ShowExtraMenus"),
false); false);
#ifdef EXPERIMENTAL_THEME_PREFS #ifdef EXPERIMENTAL_THEME_PREFS
@ -191,11 +192,6 @@ void GUIPrefs::PopulateOrExchange(ShuttleGui & S)
wxT("/GUI/ShowMac"), wxT("/GUI/ShowMac"),
false); false);
#endif #endif
}
S.EndStatic();
S.StartStatic(_("Behaviors"));
{
S.TieCheckBox(_("&Beep on completion of longer activities"), S.TieCheckBox(_("&Beep on completion of longer activities"),
wxT("/GUI/BeepOnCompletion"), wxT("/GUI/BeepOnCompletion"),
false); false);
@ -207,6 +203,7 @@ void GUIPrefs::PopulateOrExchange(ShuttleGui & S)
true); true);
} }
S.EndStatic(); S.EndStatic();
S.EndScroller(); S.EndScroller();
} }

@ -73,9 +73,10 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
S.SetBorder(2); S.SetBorder(2);
S.StartScroller(); S.StartScroller();
S.StartStatic(_("Playthrough")); S.StartStatic(_("Options"));
{ {
S.TieCheckBox(_("&Other tracks while recording (overdub)"), // Start wording of options with a verb, if possible.
S.TieCheckBox(_("Play &other tracks while recording (overdub)"),
wxT("/AudioIO/Duplex"), wxT("/AudioIO/Duplex"),
#ifdef EXPERIMENTAL_DA #ifdef EXPERIMENTAL_DA
false); false);
@ -86,16 +87,27 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
//#if defined(__WXMAC__) //#if defined(__WXMAC__)
// Bug 388. Feature not supported on any Mac Hardware. // Bug 388. Feature not supported on any Mac Hardware.
#if 0 #if 0
S.TieCheckBox(_("&Hardware Playthrough of input"), S.TieCheckBox(_("Use &hardware to play other tracks"),
wxT("/AudioIO/Playthrough"), wxT("/AudioIO/Playthrough"),
false); false);
#endif #endif
S.TieCheckBox(_("&Software Playthrough of input"), S.TieCheckBox(_("Use &software to play other tracks"),
wxT("/AudioIO/SWPlaythrough"), wxT("/AudioIO/SWPlaythrough"),
false); false);
#if !defined(__WXMAC__) #if !defined(__WXMAC__)
//S.AddUnits(wxString(wxT(" ")) + _("(uncheck when recording computer playback)")); //S.AddUnits(wxString(wxT(" ")) + _("(uncheck when recording computer playback)"));
#endif #endif
S.TieCheckBox(_("Record on a new track"),
wxT("/GUI/PreferNewTrackRecord"),
false);
/* i18n-hint: Dropout is a loss of a short sequence audio sample data from the recording */
S.TieCheckBox(_("Detect dropouts"),
WarningDialogKey(wxT("DropoutDetected")),
true);
} }
S.EndStatic(); S.EndStatic();
@ -166,19 +178,6 @@ void RecordingPrefs::PopulateOrExchange(ShuttleGui & S)
} }
S.EndStatic(); S.EndStatic();
S.StartStatic(_("Options"));
{
S.TieCheckBox(_("Always record on a new track"),
wxT("/GUI/PreferNewTrackRecord"),
false);
/* i18n-hint: Dropout is a loss of a short sequence audio sample data from the recording */
S.TieCheckBox(_("Detect dropouts"),
WarningDialogKey(wxT("DropoutDetected")),
true);
}
S.EndStatic();
#ifdef EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT #ifdef EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT
S.StartStatic(_("Automated Recording Level Adjustment")); S.StartStatic(_("Automated Recording Level Adjustment"));
{ {