mirror of
https://github.com/go-gitea/gitea
synced 2026-02-03 11:10:40 +00:00
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>
This commit is contained in:
@@ -1778,8 +1778,8 @@
|
||||
"repo.pulls.title_desc": "wants to merge %[1]d commits from <code>%[2]s</code> into <code id=\"branch_target\">%[3]s</code>",
|
||||
"repo.pulls.merged_title_desc": "merged %[1]d commits from <code>%[2]s</code> into <code>%[3]s</code> %[4]s",
|
||||
"repo.pulls.change_target_branch_at": "changed target branch from <b>%s</b> to <b>%s</b> %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",
|
||||
|
||||
@@ -699,7 +699,7 @@
|
||||
{{template "shared/user/avatarlink" dict "user" .Poster}}
|
||||
<span class="comment-text-line">
|
||||
{{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}}
|
||||
</span>
|
||||
</div>
|
||||
{{else if eq .Type 40}}
|
||||
@@ -708,7 +708,7 @@
|
||||
{{template "shared/user/avatarlink" dict "user" .Poster}}
|
||||
<span class="comment-text-line">
|
||||
{{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}}
|
||||
</span>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user