Skip to content

Commit 08b764f

Browse files
authored
Prioritize score not readable with screenreader (#6384)
Fixes #6371
1 parent 1d9e04e commit 08b764f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/notifications/notificationDecorationProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ export class NotificationsDecorationProvider implements vscode.FileDecorationPro
5757
const notification = this._notificationsManager.getNotification(notificationUriParams.key);
5858
const priority = notification?.priority === '100' ? '99' : notification?.priority ?? '0';
5959

60-
return { badge: priority, tooltip: notification?.priorityReason };
60+
return { badge: priority, tooltip: vscode.l10n.t('Priority score is {0}. {1}', priority, notification?.priorityReason ?? '') };
6161
}
6262
}

0 commit comments

Comments
 (0)