File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
client/modules/IDE/components
translations/locales/en-US Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,12 @@ const VersionIndicator = () => {
6464 const label = t ( 'Toolbar.LibraryVersion' ) ;
6565 const currentVersion =
6666 versionInfo ?. version || t ( 'Toolbar.CustomLibraryVersion' ) ;
67- let ariaLabel = `${ label } : ${ currentVersion } ` ;
68- if ( showNotificationDot ) {
69- ariaLabel = `${ t ( 'Toolbar.Notification' ) } - ${ ariaLabel } ` ;
70- }
67+ const description = t (
68+ showNotificationDot
69+ ? 'Toolbar.NewVersionPickerARIA'
70+ : 'Toolbar.VersionPickerARIA'
71+ ) ;
72+ const ariaLabel = `${ label } : ${ currentVersion } - ${ description } ` ;
7173
7274 return (
7375 < VersionPickerButton onClick = { openVersionSettings } ariaLabel = { ariaLabel } >
Original file line number Diff line number Diff line change 159159 "By" : " by " ,
160160 "LibraryVersion" : " p5.js version" ,
161161 "CustomLibraryVersion" : " Custom" ,
162- "Notification" : " New"
162+ "VersionPickerARIA" : " Version picker" ,
163+ "NewVersionPickerARIA" : " Version picker"
163164 },
164165 "Console" : {
165166 "Title" : " Console" ,
You can’t perform that action at this time.
0 commit comments