diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 090c4a690e946..1a9f146e026b5 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1430,6 +1430,7 @@ issues.next = Next issues.open_title = Open issues.closed_title = Closed issues.draft_title = Draft +issues.num_comments_1 = %d comment issues.num_comments = %d comments issues.commented_at = `commented %s` issues.delete_comment_confirm = Are you sure you want to delete this comment? diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 895eaee8cef90..c1dd265e5837c 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -111,7 +111,7 @@ {{$.locale.Tr "repo.issues.opened_by_fake" $createdStr (.Issue.Poster.GetDisplayName|Escape) | Safe}} {{end}} ยท - {{$.locale.Tr "repo.issues.num_comments" .Issue.NumComments}} + {{$.locale.TrN .Issue.NumComments "repo.issues.num_comments_1" "repo.issues.num_comments" .Issue.NumComments}} {{end}}