mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 00:59:43 +02:00
Addition to the accessibility names of tracks, suggested by Robert Hanggi. If the track is a Label, Time or Note track, then this information is added after the track name.
This commit is contained in:
parent
df9481b3d9
commit
a96c719c54
@ -304,6 +304,25 @@ wxAccStatus TrackPanelAx::GetName( int childId, wxString* name )
|
||||
name->Printf(_("Track %d"), TrackNum( t ) );
|
||||
}
|
||||
|
||||
if (t->GetKind() == Track::Label)
|
||||
{
|
||||
/* i18n-hint: This is for screen reader software and indicates that
|
||||
this is a Label track.*/
|
||||
name->Append( wxT(" ") + wxString(_("Label Track")));
|
||||
}
|
||||
else if (t->GetKind() == Track::Time)
|
||||
{
|
||||
/* i18n-hint: This is for screen reader software and indicates that
|
||||
this is a Time track.*/
|
||||
name->Append( wxT(" ") + wxString(_("Time Track")));
|
||||
}
|
||||
else if (t->GetKind() == Track::Note)
|
||||
{
|
||||
/* i18n-hint: This is for screen reader software and indicates that
|
||||
this is a Note track.*/
|
||||
name->Append( wxT(" ") + wxString(_("Note Track")));
|
||||
}
|
||||
|
||||
// LLL: Remove these during "refactor"
|
||||
if( t->GetMute() )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user