Skip to content

Commit a34b228

Browse files
authored
Merge pull request microsoft#182115 from microsoft/merogge/ref
improve references ariaLabel
2 parents 48d4ba2 + e21807d commit a34b228

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vs/editor/contrib/gotoSymbol/browser/referencesModel.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ export class OneReference {
5151

5252
if (!preview) {
5353
return localize(
54-
'aria.oneReference', "symbol in {0} on line {1} at column {2}",
54+
'aria.oneReference', "in {0} on line {1} at column {2}",
5555
basename(this.uri), this.range.startLineNumber, this.range.startColumn
5656
);
5757
} else {
5858
return localize(
59-
{ key: 'aria.oneReference.preview', comment: ['Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code'] }, "symbol in {0} on line {1} at column {2}, {3}",
60-
basename(this.uri), this.range.startLineNumber, this.range.startColumn, preview.value
59+
{ key: 'aria.oneReference.preview', comment: ['Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code'] }, "{0} in {1} on line {2} at column {3}",
60+
preview.value, basename(this.uri), this.range.startLineNumber, this.range.startColumn
6161
);
6262
}
6363
}

0 commit comments

Comments
 (0)