aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues
diff options
context:
space:
mode:
authorKemal Zebari <60799661+kemzeb@users.noreply.github.com>2024-09-18 12:46:41 -0700
committerGitHub <noreply@github.com>2024-09-18 19:46:41 +0000
commitadea500aa07eb05e4456b516b4d9ca5f41adb937 (patch)
tree2ece502363423095c65f77821dc5b0b7d3397e16 /models/issues
parent1fede04b83288d8a91304a83b7601699bb5cba04 (diff)
downloadgitea-adea500aa07eb05e4456b516b4d9ca5f41adb937.tar.gz
gitea-adea500aa07eb05e4456b516b4d9ca5f41adb937.zip
Resolve duplicate local string key related to PR comments (#32073)
A regression in #31924 caused there to be two `issues.review.comment` keys in the English language locale file, leading to a problem when reading PR review histories that contain comments. This snapshot addresses this by making the newer key unique.
Diffstat (limited to 'models/issues')
-rw-r--r--models/issues/review.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/review.go b/models/issues/review.go
index 9a08e265ff..9fb6d7573a 100644
--- a/models/issues/review.go
+++ b/models/issues/review.go
@@ -247,7 +247,7 @@ func (r *Review) TooltipContent() string {
}
return "repo.issues.review.official"
case ReviewTypeComment:
- return "repo.issues.review.comment"
+ return "repo.issues.review.commented"
case ReviewTypeReject:
return "repo.issues.review.rejected"
case ReviewTypeRequest: