Skip to content

Commit 54402b4

Browse files
committed
1 parent 93f610f commit 54402b4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 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
}
@@ -119,9 +119,9 @@ export class FileReferences implements IDisposable {
119119
get ariaMessage(): string {
120120
const len = this.children.length;
121121
if (len === 1) {
122-
return localize('aria.fileReferences.1', "1 symbol in {0}, full path {1}", basename(this.uri), this.uri.fsPath);
122+
return localize('aria.fileReferences.1', "1 in {0}, full path {1}", basename(this.uri), this.uri.fsPath);
123123
} else {
124-
return localize('aria.fileReferences.N', "{0} symbols in {1}, full path {2}", len, basename(this.uri), this.uri.fsPath);
124+
return localize('aria.fileReferences.N', "{0} in {1}, full path {2}", len, basename(this.uri), this.uri.fsPath);
125125
}
126126
}
127127

@@ -208,11 +208,11 @@ export class ReferencesModel implements IDisposable {
208208
if (this.isEmpty) {
209209
return localize('aria.result.0', "No results found");
210210
} else if (this.references.length === 1) {
211-
return localize('aria.result.1', "Found 1 symbol in {0}", this.references[0].uri.fsPath);
211+
return localize('aria.result.1', "Found 1 in {0}", this.references[0].uri.fsPath);
212212
} else if (this.groups.length === 1) {
213-
return localize('aria.result.n1', "Found {0} symbols in {1}", this.references.length, this.groups[0].uri.fsPath);
213+
return localize('aria.result.n1', "Found {0} in {1}", this.references.length, this.groups[0].uri.fsPath);
214214
} else {
215-
return localize('aria.result.nm', "Found {0} symbols in {1} files", this.references.length, this.groups.length);
215+
return localize('aria.result.nm', "Found {0} in {1} files", this.references.length, this.groups.length);
216216
}
217217
}
218218

0 commit comments

Comments
 (0)