diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-05-04 00:48:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 02:48:23 +0200 |
commit | 2d40a4a4cd382f6b95e1dbe3e99f4a1b119f5aa5 (patch) | |
tree | 15968741128d3af72ba97ad03aa12a34f4f6d203 /templates/repo/branch_dropdown.tmpl | |
parent | cc3016f70d818370b94e7c2391e96470114fb34c (diff) | |
download | gitea-2d40a4a4cd382f6b95e1dbe3e99f4a1b119f5aa5.tar.gz gitea-2d40a4a4cd382f6b95e1dbe3e99f4a1b119f5aa5.zip |
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.
Diffstat (limited to 'templates/repo/branch_dropdown.tmpl')
-rw-r--r-- | templates/repo/branch_dropdown.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl index 0e263e8075..487dce1531 100644 --- a/templates/repo/branch_dropdown.tmpl +++ b/templates/repo/branch_dropdown.tmpl @@ -45,7 +45,7 @@ <div class="menu transition" :class="{visible: menuVisible}" v-if="menuVisible" v-cloak> <div class="ui icon search input"> <i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i> - <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}}..."> + <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}}..."> </div> {{if $showBranchesInDropdown}} <div class="header branch-tag-choice"> |