Skip to content

Commit 3ec9353

Browse files
committed
Change the language file
1 parent 378d8c9 commit 3ec9353

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

options/locale/locale_en-US.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ write = Write
8686
preview = Preview
8787
loading = Loading…
8888

89+
step1 = Step 1:
90+
step2 = Step 2:
91+
8992
error404 = The page you are trying to reach either <strong>does not exist</strong> or <strong>you are not authorized</strong> to view it.
9093

9194
[error]
@@ -1297,9 +1300,8 @@ pulls.outdated_with_base_branch = This branch is out-of-date with the base branc
12971300
pulls.closed_at = `closed this pull request <a id="%[1]s" href="#%[1]s">%[2]s</a>`
12981301
pulls.reopened_at = `reopened this pull request <a id="%[1]s" href="#%[1]s">%[2]s</a>`
12991302
pulls.merge_instruction_hint = `You can also view <a class="show-instruction">command line instructions</a>.`
1300-
pulls.merge_instruction_step1 = Step 1:
1303+
13011304
pulls.merge_instruction_step1_desc = From your project repository, check out a new branch and test the changes.
1302-
pulls.merge_instruction_step2 = Step 2:
13031305
pulls.merge_instruction_step2_desc = Merge the changes and update on Gitea.
13041306
13051307
milestones.new = New Milestone

templates/repo/issue/view_content/pull.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,12 @@
366366
<div class="dib ml-3">{{$.i18n.Tr "repo.pulls.merge_instruction_hint" | Safe}}</div>
367367
<div class="instruct" style="display:none">
368368
<div class="ui divider"></div>
369-
<div><h3 class="di">{{$.i18n.Tr "repo.pulls.merge_instruction_step1"}} </h3>{{$.i18n.Tr "repo.pulls.merge_instruction_step1_desc"}}</div>
369+
<div><h3 class="di">{{$.i18n.Tr "step1"}} </h3>{{$.i18n.Tr "repo.pulls.merge_instruction_step1_desc"}}</div>
370370
<div class="ui secondary segment">
371371
<div>git checkout -b {{if ne .Issue.PullRequest.HeadRepo.ID .Issue.PullRequest.BaseRepo.ID}}{{.Issue.PullRequest.HeadRepo.OwnerName}}-{{end}}{{.Issue.PullRequest.HeadBranch}} {{.Issue.PullRequest.BaseBranch}}</div>
372372
<div>git pull {{if ne .Issue.PullRequest.HeadRepo.ID .Issue.PullRequest.BaseRepo.ID}}{{.Issue.PullRequest.HeadRepo.HTMLURL}}{{else}}origin{{end}} {{.Issue.PullRequest.HeadBranch}}</div>
373373
</div>
374-
<div><h3 class="di">{{$.i18n.Tr "repo.pulls.merge_instruction_step2"}} </h3>{{$.i18n.Tr "repo.pulls.merge_instruction_step2_desc"}}</div>
374+
<div><h3 class="di">{{$.i18n.Tr "step2"}} </h3>{{$.i18n.Tr "repo.pulls.merge_instruction_step2_desc"}}</div>
375375
<div class="ui secondary segment">
376376
<div>git checkout {{.Issue.PullRequest.BaseBranch}}</div>
377377
<div>git merge --no-ff {{if ne .Issue.PullRequest.HeadRepo.ID .Issue.PullRequest.BaseRepo.ID}}{{.Issue.PullRequest.HeadRepo.OwnerName}}-{{end}}{{.Issue.PullRequest.HeadBranch}}</div>

0 commit comments

Comments
 (0)