mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:49:36 +01:00
testing: fix "1 older results" in "Show Output" window has grammatical error (#245258)
Fixes #244218
This commit is contained in:
@@ -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