0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-05 04:14:35 +01:00

Change locale keys to repo.pulls.* and remove $createdStr argument

- Changed translation keys from repo.issues.* to repo.pulls.*
- Removed unnecessary %s placeholder and $createdStr argument from messages

Co-authored-by: silverwind <115237+silverwind@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-02 17:54:08 +00:00
parent 44cd9622d5
commit d2d6b9155b
2 changed files with 4 additions and 4 deletions

View File

@ -1447,8 +1447,6 @@
"repo.issues.remove_assignee_at": "was unassigned by <b>%s</b> %s",
"repo.issues.remove_self_assignment": "removed their assignment %s",
"repo.issues.change_title_at": "changed title from <b><strike>%s</strike></b> to <b>%s</b> %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 <b><strike>%s</strike></b> to <b>%s</b> %s",
"repo.issues.remove_ref_at": "removed reference <b>%s</b> %s",
"repo.issues.add_ref_at": "added reference <b>%s</b> %s",
@ -1780,6 +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.tab_conversation": "Conversation",
"repo.pulls.tab_commits": "Commits",
"repo.pulls.tab_files": "Files Changed",

View File

@ -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.issues.marked_as_work_in_progress" $createdStr}}
{{ctx.Locale.Tr "repo.pulls.marked_as_work_in_progress"}}
</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.issues.marked_as_ready_for_review" $createdStr}}
{{ctx.Locale.Tr "repo.pulls.marked_as_ready_for_review"}}
</span>
</div>
{{end}}