diff options
author | Giteabot <teabot@gitea.io> | 2023-07-06 12:04:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 16:04:13 +0000 |
commit | 68e0c802f7b68aef0f9969b3530ba13c7a5a5101 (patch) | |
tree | 3fe8fbb6e4d6be736e6cae17b0a6e8c0f9e8157b /templates/repo | |
parent | 09668b2e2ebc5c5b0df92336d764ef878f8b65aa (diff) | |
download | gitea-68e0c802f7b68aef0f9969b3530ba13c7a5a5101.tar.gz gitea-68e0c802f7b68aef0f9969b3530ba13c7a5a5101.zip |
Show correct naming for 1 comment (#25704) (#25712)
Backport #25704 by @earl-warren
- Resolves https://codeberg.org/forgejo/forgejo/issues/948
Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/issue/view_title.tmpl | 2 |
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> |