Skip to content

Commit d2d6b91

Browse files
Copilotsilverwind
andcommitted
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>
1 parent 44cd962 commit d2d6b91

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

options/locale/locale_en-US.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,8 +1447,6 @@
14471447
"repo.issues.remove_assignee_at": "was unassigned by <b>%s</b> %s",
14481448
"repo.issues.remove_self_assignment": "removed their assignment %s",
14491449
"repo.issues.change_title_at": "changed title from <b><strike>%s</strike></b> to <b>%s</b> %s",
1450-
"repo.issues.marked_as_work_in_progress": "marked the pull request as work in progress %s",
1451-
"repo.issues.marked_as_ready_for_review": "marked the pull request as ready for review %s",
14521450
"repo.issues.change_ref_at": "changed reference from <b><strike>%s</strike></b> to <b>%s</b> %s",
14531451
"repo.issues.remove_ref_at": "removed reference <b>%s</b> %s",
14541452
"repo.issues.add_ref_at": "added reference <b>%s</b> %s",
@@ -1780,6 +1778,8 @@
17801778
"repo.pulls.title_desc": "wants to merge %[1]d commits from <code>%[2]s</code> into <code id=\"branch_target\">%[3]s</code>",
17811779
"repo.pulls.merged_title_desc": "merged %[1]d commits from <code>%[2]s</code> into <code>%[3]s</code> %[4]s",
17821780
"repo.pulls.change_target_branch_at": "changed target branch from <b>%s</b> to <b>%s</b> %s",
1781+
"repo.pulls.marked_as_work_in_progress": "marked the pull request as work in progress",
1782+
"repo.pulls.marked_as_ready_for_review": "marked the pull request as ready for review",
17831783
"repo.pulls.tab_conversation": "Conversation",
17841784
"repo.pulls.tab_commits": "Commits",
17851785
"repo.pulls.tab_files": "Files Changed",

templates/repo/issue/view_content/comments.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@
699699
{{template "shared/user/avatarlink" dict "user" .Poster}}
700700
<span class="comment-text-line">
701701
{{template "shared/user/authorlink" .Poster}}
702-
{{ctx.Locale.Tr "repo.issues.marked_as_work_in_progress" $createdStr}}
702+
{{ctx.Locale.Tr "repo.pulls.marked_as_work_in_progress"}}
703703
</span>
704704
</div>
705705
{{else if eq .Type 40}}
@@ -708,7 +708,7 @@
708708
{{template "shared/user/avatarlink" dict "user" .Poster}}
709709
<span class="comment-text-line">
710710
{{template "shared/user/authorlink" .Poster}}
711-
{{ctx.Locale.Tr "repo.issues.marked_as_ready_for_review" $createdStr}}
711+
{{ctx.Locale.Tr "repo.pulls.marked_as_ready_for_review"}}
712712
</span>
713713
</div>
714714
{{end}}

0 commit comments

Comments
 (0)