diff options
author | Kemal Zebari <60799661+kemzeb@users.noreply.github.com> | 2024-09-18 12:46:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 19:46:41 +0000 |
commit | adea500aa07eb05e4456b516b4d9ca5f41adb937 (patch) | |
tree | 2ece502363423095c65f77821dc5b0b7d3397e16 /models/issues | |
parent | 1fede04b83288d8a91304a83b7601699bb5cba04 (diff) | |
download | gitea-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.go | 2 |
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: |