1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

Time Toolbar: change "TimeToolBar" to "Time"

Change string or sub-string "TimeToolBar" to "Time" to conform with the naming convention of other toolbars.

(Change prompted by the narrator screen reader unexpectedly reading TimeToolBar rather than Time when tabbing to the toolbar.)
This commit is contained in:
David Bailes 2020-03-07 11:02:29 +00:00
parent ced4c21700
commit 9210c2aa35
2 changed files with 10 additions and 10 deletions

View File

@ -460,14 +460,14 @@ void PopulatePreferences()
(vMajor == 2 && vMinor < 4))
{
gPrefs->Write(wxT("/GUI/Toolbars/Selection/W"),"");
gPrefs->Write(wxT("/GUI/Toolbars/TimeToolBar/X"),-1);
gPrefs->Write(wxT("/GUI/Toolbars/TimeToolBar/Y"),-1);
gPrefs->Write(wxT("/GUI/Toolbars/TimeToolBar/H"),55);
gPrefs->Write(wxT("/GUI/Toolbars/TimeToolBar/W"),251);
gPrefs->Write(wxT("/GUI/Toolbars/TimeToolBar/DockV2"),2);
gPrefs->Write(wxT("/GUI/Toolbars/TimeToolBar/Dock"),2);
gPrefs->Write(wxT("/GUI/Toolbars/TimeToolBar/Path"),"0,0");
gPrefs->Write(wxT("/GUI/Toolbars/TimeToolBar/Show"),1);
gPrefs->Write(wxT("/GUI/Toolbars/Time/X"),-1);
gPrefs->Write(wxT("/GUI/Toolbars/Time/Y"),-1);
gPrefs->Write(wxT("/GUI/Toolbars/Time/H"),55);
gPrefs->Write(wxT("/GUI/Toolbars/Time/W"),251);
gPrefs->Write(wxT("/GUI/Toolbars/Time/DockV2"),2);
gPrefs->Write(wxT("/GUI/Toolbars/Time/Dock"),2);
gPrefs->Write(wxT("/GUI/Toolbars/Time/Path"),"0,0");
gPrefs->Write(wxT("/GUI/Toolbars/Time/Show"),1);
}
// write out the version numbers to the prefs file for future checking

View File

@ -71,7 +71,7 @@ BEGIN_EVENT_TABLE(TimerToolBar, ToolBar)
END_EVENT_TABLE()
TimerToolBar::TimerToolBar( AudacityProject &project )
: ToolBar(project, TimeBarID, XO("TimeToolBar"), wxT("TimeToolBar"),true),
: ToolBar(project, TimeBarID, XO("Time"), wxT("Time"),true),
mListener(NULL), mAudioTime(NULL)
{
mMinWidth = 50;
@ -410,7 +410,7 @@ namespace {
AttachedToolBarMenuItem sAttachment{
/* i18n-hint: Clicking this menu item shows the toolbar
for viewing actual time of the cursor */
TimeBarID, wxT("ShowTimeToolBarTB"), XXO("&Time Toolbar"),
TimeBarID, wxT("ShowTimeTB"), XXO("&Time Toolbar"),
{ Registry::OrderingHint::After, "ShowSelectionTB" }
};
}