From bac57b889766b57b47b62ba9cf8d10dfd1fde5b8 Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 20 Dec 2022 16:24:18 +0800 Subject: [PATCH] =?UTF-8?q?issue=E5=85=B3=E9=97=AD=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- options/locale/locale_zh-CN.ini | 2 +- templates/repo/issue/list.tmpl | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index f003c7d85..bf1eb1740 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -1675,7 +1675,7 @@ pulls.merged_by=由 %[3]s 于 %[1]s 合并 pulls.merged_by_fake=由 %[2]s 于 %[1]s 合并 issues.closed_by=由 %[3]s 关闭于 %[1]s issues.opened_by_fake=由 %[2]s 于 %[1]s创建 -issues.closed_by_fake=通过 %[2]s 关闭 %[1]s +issues.closed_by_fake=由 %[2]s 创建,被关闭于 %[1]s issues.previous=上一页 issues.next=下一页 issues.open_title=开启中 diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index 282774ddc..1e29b6512 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -270,11 +270,7 @@ {{if .OriginalAuthor }} {{$.i18n.Tr .GetLastEventLabelFake $timeStr .OriginalAuthor | Safe}} {{else if gt .Poster.ID 0}} - {{if .IsClosed}} - {{$.i18n.Tr .GetLastEventLabel $timeStr .GetCloseUser.HomeLink (.GetCloseUser.GetDisplayName | Escape) | Safe}} - {{else}} - {{$.i18n.Tr .GetLastEventLabel $timeStr .Poster.HomeLink (.Poster.GetDisplayName | Escape) | Safe}} - {{end}} + {{$.i18n.Tr .GetLastEventLabel $timeStr .Poster.HomeLink (.Poster.GetDisplayName | Escape) | Safe}} {{else}} {{$.i18n.Tr .GetLastEventLabelFake $timeStr (.Poster.GetDisplayName | Escape) | Safe}} {{end}}