aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorEarl Warren <109468362+earl-warren@users.noreply.github.com>2023-07-05 21:53:38 +0200
committerGitHub <noreply@github.com>2023-07-05 19:53:38 +0000
commite1edd7a8e9a9e70a01738b3bf19733d25969d39e (patch)
treed8c64fd9ff3692f06079914e5edef5f509a53b08 /templates
parent3c05aa49278d6a540cc894f46230f379c3aade62 (diff)
downloadgitea-e1edd7a8e9a9e70a01738b3bf19733d25969d39e.tar.gz
gitea-e1edd7a8e9a9e70a01738b3bf19733d25969d39e.zip
Show correct naming for 1 comment (#25704)
- Resolves https://codeberg.org/forgejo/forgejo/issues/948 Co-authored-by: Gusted <postmaster@gusted.xyz> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_title.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl
index 895eaee8ce..c1dd265e58 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}}
</span>
{{end}}
</div>