From e80d152a4fff21afd440337550aad1071268361e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 2 Feb 2026 18:10:28 +0000 Subject: [PATCH] Restore $createdStr suffix for timestamp display The timestamp suffix is needed to show "1 minute ago" etc. in the timeline. Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com> --- options/locale/locale_en-US.json | 4 ++-- templates/repo/issue/view_content/comments.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/options/locale/locale_en-US.json b/options/locale/locale_en-US.json index 42160c9b7b..19c9a3c62b 100644 --- a/options/locale/locale_en-US.json +++ b/options/locale/locale_en-US.json @@ -1778,8 +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.marked_as_work_in_progress": "marked the pull request as work in progress %s", + "repo.pulls.marked_as_ready_for_review": "marked the pull request as ready for review %s", "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 0b62b61e1c..405c7f7548 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.pulls.marked_as_work_in_progress"}} + {{ctx.Locale.Tr "repo.pulls.marked_as_work_in_progress" $createdStr}} {{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.pulls.marked_as_ready_for_review"}} + {{ctx.Locale.Tr "repo.pulls.marked_as_ready_for_review" $createdStr}} {{end}}