From 89c9a498fdd6184df8afda8b5b488462e65b9e71 Mon Sep 17 00:00:00 2001 From: Earl Warren <109468362+earl-warren@users.noreply.github.com> Date: Sat, 14 Oct 2023 23:13:59 +0200 Subject: [PATCH 1/2] Add anchor to review types (#26894) - The review type '22' is a general comment type that is attached to single codecomments, reviews with multiple comments or to simple approve and request changes comment. This comment can be used to create a link towards this action on an pull request. - Adds an anchor to the review comment type, so that when its getting linked to it, it actually jumps towards that event. - This also now fixes the behavior that after you created a review you will be redirected to that review and because this is an general comment type other mails will also be 'fixed' such as the approved or request changes. - Resolves https://codeberg.org/forgejo/forgejo/issues/1248 (cherry picked from commit 1741a5f1fe6adc68bb5f87bdd1c5bdc5bfaa45c7) --------- Co-authored-by: Gusted Co-authored-by: Caesar Schinas --- templates/repo/issue/view_content/comments.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index d3fe424b84..baa3380c65 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -364,7 +364,7 @@ {{end}} {{else if eq .Type 22}} -
+
{{if .OriginalAuthor}} {{else}} @@ -403,7 +403,7 @@
{{if or .Content .Attachments}} -
+
From 4f6043f55475a17a62229b92d145cd060767a539 Mon Sep 17 00:00:00 2001 From: GiteaBot Date: Sun, 15 Oct 2023 00:25:13 +0000 Subject: [PATCH 2/2] [skip ci] Updated translations via Crowdin --- options/locale/locale_zh-CN.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 6da8fb730f..8ebf6c509c 100644 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -2568,7 +2568,7 @@ org_name_helper=组织名字应该简单明了。 create_org=创建组织 repo_updated=最后更新于 members=成员 -teams=组织团队 +teams=团队 code=代码 lower_members=名成员 lower_repositories=个仓库