Skip to content

Commit b3086c9

Browse files
committed
improve the popup branch create window
1 parent 79cb889 commit b3086c9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

options/locale/locale_en-US.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,8 @@ issues.label.filter_sort.reverse_by_size = Largest size
16421642
issues.development = Development
16431643
issues.maybefixed = May be fixed by %s
16441644
issues.create_branch_from_issue_success = Create branch %s from issue successfully
1645-
issues.base_branch = Base Branch
1645+
issues.create_branch_from_repository = Repository the branch to be created
1646+
issues.base_branch = Base Branch in this repository
16461647
issues.pr.completed = Completed
16471648
issues.pr.conflicted = Merge conflicts
16481649
issues.pr.not_exist_issue = Reference issue does not exist.

templates/repo/issue/sidebar/development.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@
5858
method="post">
5959
{{.CsrfTokenHtml}}
6060
<div class="field">
61-
<label for="new_branch_name">{{ctx.Locale.Tr "repo.branch.name"}}</label>
61+
<label for="new_branch_name">{{ctx.Locale.Tr "form.NewBranchName"}}</label>
6262
<input name="new_branch_name" type="text">
6363
</div>
6464

6565
<div class="field">
66-
<label for="source_repository">{{ctx.Locale.Tr "repository"}}</label>
66+
<label for="source_repository">{{ctx.Locale.Tr "repo.issues.create_branch_from_repository"}}</label>
6767
<div class="ui fluid dropdown selection">
6868
<select name="repo_id">
6969
{{range .AllowedRepos}}

0 commit comments

Comments
 (0)