We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8012a40 commit ae1a6d6Copy full SHA for ae1a6d6
src/vs/workbench/contrib/comments/browser/commentsTreeViewer.ts
@@ -232,8 +232,10 @@ export class CommentNodeRenderer implements IListRenderer<ITreeNode<CommentNode>
232
}
233
234
private getCountString(commentCount: number): string {
235
- if (commentCount > 1) {
236
- return nls.localize('commentsCount', "{0} comments", commentCount);
+ if (commentCount > 2) {
+ return nls.localize('commentsCountReplies', "{0} replies", commentCount - 1);
237
+ } else if (commentCount === 2) {
238
+ return nls.localize('commentsCountReply', "1 reply");
239
} else {
240
return nls.localize('commentCount', "1 comment");
241
0 commit comments