Skip to content

Commit ae1a6d6

Browse files
authored
1 parent 8012a40 commit ae1a6d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/vs/workbench/contrib/comments/browser/commentsTreeViewer.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,10 @@ export class CommentNodeRenderer implements IListRenderer<ITreeNode<CommentNode>
232232
}
233233

234234
private getCountString(commentCount: number): string {
235-
if (commentCount > 1) {
236-
return nls.localize('commentsCount', "{0} comments", commentCount);
235+
if (commentCount > 2) {
236+
return nls.localize('commentsCountReplies', "{0} replies", commentCount - 1);
237+
} else if (commentCount === 2) {
238+
return nls.localize('commentsCountReply', "1 reply");
237239
} else {
238240
return nls.localize('commentCount', "1 comment");
239241
}

0 commit comments

Comments
 (0)