File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2495,6 +2495,7 @@ mirror_sync_delete = synced and deleted reference <code>%[2]s</code> at <a href=
2495
2495
approve_pull_request = `approved <a href =" %s/pulls/%s" >%s# %[2]s</a>`
2496
2496
reject_pull_request = `suggested changes for <a href =" %s/pulls/%s" >%s# %[2]s</a>`
2497
2497
publish_release = `released <a href =" %s/releases/tag/%s" > " %[4]s" </a> at <a href =" %[1]s" >%[3]s</a>`
2498
+ create_branch = created branch <a href =" %[1]s/src/branch/%[2]s" >%[3]s</a> in <a href =" %[1]s" >%[4]s</a>
2498
2499
2499
2500
[tool]
2500
2501
ago = %s ago
Original file line number Diff line number Diff line change 18
18
{{$.i18n.Tr "action.rename_repo" .GetContent .GetRepoLink .ShortRepoPath | Str2html}}
19
19
{{else if eq .GetOpType 5}}
20
20
{{ $branchLink := .GetBranch | EscapePound | Escape}}
21
- {{$.i18n.Tr "action.commit_repo" .GetRepoLink $branchLink (Escape .GetBranch) .ShortRepoPath | Str2html}}
21
+ {{if .Content}}
22
+ {{$.i18n.Tr "action.commit_repo" .GetRepoLink $branchLink (Escape .GetBranch) .ShortRepoPath | Str2html}}
23
+ {{else}}
24
+ {{$.i18n.Tr "action.create_branch" .GetRepoLink $branchLink (Escape .GetBranch) .ShortRepoPath | Str2html}}
25
+ {{end}}
22
26
{{else if eq .GetOpType 6}}
23
27
{{ $index := index .GetIssueInfos 0}}
24
28
{{$.i18n.Tr "action.create_issue" .GetRepoLink $index .ShortRepoPath | Str2html}}
You can’t perform that action at this time.
0 commit comments