1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 17:49:45 +02:00

Transcription Toolbar -> Play-at-Speed Toolbar

This commit is contained in:
James Crook 2018-07-22 18:21:38 +01:00
parent 1403e7fa92
commit 66e203cdca
4 changed files with 7 additions and 7 deletions

View File

@ -804,7 +804,7 @@ void AudacityProject::CreateMenusAndCommands()
/* i18n-hint: Clicking this menu item shows the toolbar for editing*/
c->AddCheck(wxT("ShowEditTB"), XXO("&Edit Toolbar"), FN(OnShowEditToolBar), 0, AlwaysEnabledFlag, AlwaysEnabledFlag);
/* i18n-hint: Clicking this menu item shows the toolbar for transcription (currently just vary play speed)*/
c->AddCheck(wxT("ShowTranscriptionTB"), XXO("Tra&nscription Toolbar"), FN(OnShowTranscriptionToolBar), 0, AlwaysEnabledFlag, AlwaysEnabledFlag);
c->AddCheck(wxT("ShowTranscriptionTB"), XXO("Pla&y-at-Speed Toolbar"), FN(OnShowTranscriptionToolBar), 0, AlwaysEnabledFlag, AlwaysEnabledFlag);
/* i18n-hint: Clicking this menu item shows the toolbar that enables Scrub or Seek playback and Scrub Ruler*/
c->AddCheck(wxT("ShowScrubbingTB"), XXO("Scru&b Toolbar"), FN(OnShowScrubbingToolBar), 0, AlwaysEnabledFlag, AlwaysEnabledFlag);
/* i18n-hint: Clicking this menu item shows the toolbar that manages devices*/
@ -1372,9 +1372,9 @@ void AudacityProject::CreateMenusAndCommands()
//////////////////////////////////////////////////////////////////////////
c->SetDefaultFlags(CaptureNotBusyFlag, CaptureNotBusyFlag);
c->BeginSubMenu(_("Transcri&ption"));
c->BeginSubMenu(_("&Play-at-Speed"));
c->AddItem(wxT("PlayAtSpeed"), XXO("Pl&ay-at-Speed"), FN(OnPlayAtSpeed));
c->AddItem(wxT("PlayAtSpeed"), XXO("Normal Pl&ay-at-Speed"), FN(OnPlayAtSpeed));
c->AddItem(wxT("PlayAtSpeedLooped"), XXO("&Loop Play-at-Speed"), FN(OnPlayAtSpeedLooped));
c->AddItem(wxT("PlayAtSpeedCutPreview"), XXO("Play C&ut Preview-at-Speed"), FN(OnPlayAtSpeedCutPreview));
c->AddItem(wxT("SetPlaySpeed"), XXO("Ad&just Playback Speed..."), FN(OnSetPlaySpeed));

View File

@ -408,7 +408,7 @@ void ScreenFrame::PopulateOrExchange(ShuttleGui & S)
{
S.Id(IdCaptureEdit).AddButton(_("Edit"));
S.Id(IdCaptureDevice).AddButton(_("Device"));
S.Id(IdCaptureTranscription).AddButton(_("Transcription"));
S.Id(IdCaptureTranscription).AddButton(_("Play-at-Speed"));
S.Id(IdCaptureScrub).AddButton(_("Scrub"));
}
S.EndHorizontalLay();

View File

@ -68,7 +68,7 @@ kCaptureWhatStrings[ ScreenshotCommand::nCaptureWhats ] =
{ XO("Edit") },
{ XO("Device") },
{ XO("Scrub") },
{ XO("Transcription") },
{ XO("Play-at-Speed") },
{ XO("Trackpanel") },
{ XO("Ruler") },
{ XO("Tracks") },

View File

@ -90,7 +90,7 @@ END_EVENT_TABLE()
////Standard Constructor
TranscriptionToolBar::TranscriptionToolBar()
: ToolBar(TranscriptionBarID, _("Transcription"), wxT("Transcription"),true)
: ToolBar(TranscriptionBarID, _("Play-at-Speed"), wxT("Transcription"),true)
{
mPlaySpeed = 1.0 * 100.0;
#ifdef EXPERIMENTAL_VOICE_DETECTION
@ -297,7 +297,7 @@ void TranscriptionToolBar::UpdatePrefs()
RegenerateTooltips();
// Set label to pull in language change
SetLabel(_("Transcription"));
SetLabel(_("Play-at-Speed"));
// Give base class a chance
ToolBar::UpdatePrefs();