diff --git a/options/locale/locale_en-US.json b/options/locale/locale_en-US.json index 5525ca0a5a..42160c9b7b 100644 --- a/options/locale/locale_en-US.json +++ b/options/locale/locale_en-US.json @@ -1447,8 +1447,6 @@ "repo.issues.remove_assignee_at": "was unassigned by %s %s", "repo.issues.remove_self_assignment": "removed their assignment %s", "repo.issues.change_title_at": "changed title from %s to %s %s", - "repo.issues.marked_as_work_in_progress": "marked the pull request as work in progress %s", - "repo.issues.marked_as_ready_for_review": "marked the pull request as ready for review %s", "repo.issues.change_ref_at": "changed reference from %s to %s %s", "repo.issues.remove_ref_at": "removed reference %s %s", "repo.issues.add_ref_at": "added reference %s %s", @@ -1780,6 +1778,8 @@ "repo.pulls.title_desc": "wants to merge %[1]d commits from %[2]s into %[3]s", "repo.pulls.merged_title_desc": "merged %[1]d commits from %[2]s into %[3]s %[4]s", "repo.pulls.change_target_branch_at": "changed target branch from %s to %s %s", + "repo.pulls.marked_as_work_in_progress": "marked the pull request as work in progress", + "repo.pulls.marked_as_ready_for_review": "marked the pull request as ready for review", "repo.pulls.tab_conversation": "Conversation", "repo.pulls.tab_commits": "Commits", "repo.pulls.tab_files": "Files Changed", diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index 971913b5cd..0b62b61e1c 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -699,7 +699,7 @@ {{template "shared/user/avatarlink" dict "user" .Poster}} {{template "shared/user/authorlink" .Poster}} - {{ctx.Locale.Tr "repo.issues.marked_as_work_in_progress" $createdStr}} + {{ctx.Locale.Tr "repo.pulls.marked_as_work_in_progress"}} {{else if eq .Type 40}} @@ -708,7 +708,7 @@ {{template "shared/user/avatarlink" dict "user" .Poster}} {{template "shared/user/authorlink" .Poster}} - {{ctx.Locale.Tr "repo.issues.marked_as_ready_for_review" $createdStr}} + {{ctx.Locale.Tr "repo.pulls.marked_as_ready_for_review"}} {{end}}