diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 151629ea6d0b..0c32f3f5fd89 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -692,7 +692,8 @@ issues.remove_milestone_at = `removed this from the %s milestone %s` issues.deleted_milestone = `(deleted)` issues.self_assign_at = `self-assigned this %s` issues.add_assignee_at = `was assigned by %s %s` -issues.remove_assignee_at = `removed their assignment %s` +issues.remove_assignee_at = `was unassigned by %s %s` +issues.remove_self_assignment = `removed their assignment %s` issues.change_title_at = `changed title from %s to %s %s` issues.delete_branch_at = `deleted branch %s %s` issues.open_tab = %d Open diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 953aa4c2f02d..facc3e2dabc2 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -124,7 +124,11 @@ {{.Assignee.Name}} - {{$.i18n.Tr "repo.issues.remove_assignee_at" $createdStr | Safe}} + {{ if eq .Poster.ID .Assignee.ID }} + {{$.i18n.Tr "repo.issues.remove_self_assignment" $createdStr | Safe}} + {{ else }} + {{$.i18n.Tr "repo.issues.remove_assignee_at" .Poster.Name $createdStr | Safe}} + {{ end }} {{else}}