mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-06 01:09:58 +01:00
testing: fix "1 older results" in "Show Output" window has grammatical error (#245258)
Fixes #244218
This commit is contained in:
1 parent
28b51a4dda
commit
614d367bd6
1 file changed
+3
-1
@@ -137,7 +137,9 @@ class OlderResultsElement implements ITreeElement {
|
||||
public readonly label: string;
|
||||
|
||||
constructor(private readonly n: number) {
|
||||
this.label = localize('nOlderResults', '{0} older results', n);
|
||||
this.label = n === 1
|
||||
? localize('oneOlderResult', '1 older result')
|
||||
: localize('nOlderResults', '{0} older results', n);
|
||||
this.id = `older-${this.n}`;
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user