From b4b4d765f33405fc9f33aa08c4a6373799f47bf8 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 28 Feb 2021 08:54:12 +0100 Subject: [PATCH] Fix missleading sentence (#14829) --- options/locale/locale_en-US.ini | 2 +- templates/repo/activity.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index ee8a7673e9..d6c8aa6f71 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1447,7 +1447,7 @@ activity.closed_issues_count_1 = Closed Issue activity.closed_issues_count_n = Closed Issues activity.title.issues_1 = %d Issue activity.title.issues_n = %d Issues -activity.title.issues_closed_by = %s closed by %s +activity.title.issues_closed_from = %s closed from %s activity.title.issues_created_by = %s created by %s activity.closed_issue_label = Closed activity.new_issues_count_1 = New Issue diff --git a/templates/repo/activity.tmpl b/templates/repo/activity.tmpl index b6d77f5eec..bcf64a3fa1 100644 --- a/templates/repo/activity.tmpl +++ b/templates/repo/activity.tmpl @@ -172,7 +172,7 @@ {{if gt .Activity.ClosedIssueCount 0}}

{{svg "octicon-issue-closed"}} - {{.i18n.Tr "repo.activity.title.issues_closed_by" (.i18n.Tr (TrN .i18n.Lang .Activity.ClosedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n") .Activity.ClosedIssueCount) (.i18n.Tr (TrN .i18n.Lang .Activity.ClosedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n") .Activity.ClosedIssueAuthorCount) }} + {{.i18n.Tr "repo.activity.title.issues_closed_from" (.i18n.Tr (TrN .i18n.Lang .Activity.ClosedIssueCount "repo.activity.title.issues_1" "repo.activity.title.issues_n") .Activity.ClosedIssueCount) (.i18n.Tr (TrN .i18n.Lang .Activity.ClosedIssueAuthorCount "repo.activity.title.user_1" "repo.activity.title.user_n") .Activity.ClosedIssueAuthorCount) }}

{{range .Activity.ClosedIssues}} -- 2.39.5