Skip to content

Commit 2d40a4a

Browse files
author
Gusted
authored
Fix broken TR on cherrypick page (#19599)
- `repo.filter_branch` isn't a translation key so use `repo.pulls.filter_branch` which has the correct translation.
1 parent cc3016f commit 2d40a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/branch_dropdown.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<div class="menu transition" :class="{visible: menuVisible}" v-if="menuVisible" v-cloak>
4646
<div class="ui icon search input">
4747
<i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i>
48-
<input name="search" ref="searchField" autocomplete="off" v-model="searchTerm" @keydown="keydown($event)" placeholder="{{if $.noTag}}{{.root.i18n.Tr "repo.filter_branch"}}{{else if $showBranchesInDropdown}}{{.root.i18n.Tr "repo.filter_branch_and_tag"}}{{else}}{{.root.i18n.Tr "repo.find_tag"}}{{end}}...">
48+
<input name="search" ref="searchField" autocomplete="off" v-model="searchTerm" @keydown="keydown($event)" placeholder="{{if $.noTag}}{{.root.i18n.Tr "repo.pulls.filter_branch"}}{{else if $showBranchesInDropdown}}{{.root.i18n.Tr "repo.filter_branch_and_tag"}}{{else}}{{.root.i18n.Tr "repo.find_tag"}}{{end}}...">
4949
</div>
5050
{{if $showBranchesInDropdown}}
5151
<div class="header branch-tag-choice">

0 commit comments

Comments
 (0)