Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Accessibility] Take out redundant prefix from comment thread for better readability #203953

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/comments/browser/commentsView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export class CommentsPanel extends FilterViewPane implements ICommentsView {
if (element instanceof CommentNode) {
if (element.range) {
return nls.localize('resourceWithCommentLabel',
"Comment from ${0} at line {1} column {2} in {3}, source: {4}",
"${0} at line {1} column {2} in {3}, source: {4}",
element.comment.userName,
element.range.startLineNumber,
element.range.startColumn,
Expand All @@ -327,7 +327,7 @@ export class CommentsPanel extends FilterViewPane implements ICommentsView {
);
} else {
return nls.localize('resourceWithCommentLabelFile',
"Comment from ${0} in {1}, source: {2}",
"${0} in {1}, source: {2}",
element.comment.userName,
basename(element.resource),
(typeof element.comment.body === 'string') ? element.comment.body : element.comment.body.value
Expand Down