summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-02-28 08:54:12 +0100
committerGitHub <noreply@github.com>2021-02-28 07:54:12 +0000
commitb4b4d765f33405fc9f33aa08c4a6373799f47bf8 (patch)
tree7c9da69d9df06d4595632b3873a9822df03c9b71
parent4e7e3bd4bf045659215c84810ecb58a3e33b82f5 (diff)
downloadgitea-b4b4d765f33405fc9f33aa08c4a6373799f47bf8.tar.gz
gitea-b4b4d765f33405fc9f33aa08c4a6373799f47bf8.zip
Fix missleading sentence (#14829)
-rw-r--r--options/locale/locale_en-US.ini2
-rw-r--r--templates/repo/activity.tmpl2
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}}
<h4 class="ui horizontal divider header" id="closed-issues">
<span class="text">{{svg "octicon-issue-closed"}}</span>
- {{.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) }}
</h4>
<div class="list">
{{range .Activity.ClosedIssues}}