Fix missleading sentence (#14829)

tokarchuk/v1.17
6543 4 years ago committed by GitHub
parent 4e7e3bd4bf
commit b4b4d765f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      options/locale/locale_en-US.ini
  2. 2
      templates/repo/activity.tmpl

@ -1447,7 +1447,7 @@ activity.closed_issues_count_1 = Closed Issue
activity.closed_issues_count_n = Closed Issues activity.closed_issues_count_n = Closed Issues
activity.title.issues_1 = %d Issue activity.title.issues_1 = %d Issue
activity.title.issues_n = %d Issues 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.title.issues_created_by = %s created by %s
activity.closed_issue_label = Closed activity.closed_issue_label = Closed
activity.new_issues_count_1 = New Issue activity.new_issues_count_1 = New Issue

@ -172,7 +172,7 @@
{{if gt .Activity.ClosedIssueCount 0}} {{if gt .Activity.ClosedIssueCount 0}}
<h4 class="ui horizontal divider header" id="closed-issues"> <h4 class="ui horizontal divider header" id="closed-issues">
<span class="text">{{svg "octicon-issue-closed"}}</span> <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> </h4>
<div class="list"> <div class="list">
{{range .Activity.ClosedIssues}} {{range .Activity.ClosedIssues}}

Loading…
Cancel
Save