Skip to content

Commit fede3cb

Browse files
authored
Fixed incorrect localization explorer.go (#31348)
see: https://github.com/go-gitea/gitea/pull/29701/files#r1637325139
1 parent 47ca61d commit fede3cb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

templates/user/dashboard/issues.tmpl

+1-5
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,7 @@
5151
<input type="hidden" name="type" value="{{$.ViewType}}">
5252
<input type="hidden" name="sort" value="{{$.SortType}}">
5353
<input type="hidden" name="state" value="{{$.State}}">
54-
{{if .PageIsPulls}}
55-
{{template "shared/search/combo_fuzzy" dict "Value" $.Keyword "IsFuzzy" $.IsFuzzy "Placeholder" (ctx.Locale.Tr "search.pull_kind") "Tooltip" (ctx.Locale.Tr "explorer.go")}}
56-
{{else}}
57-
{{template "shared/search/combo_fuzzy" dict "Value" $.Keyword "IsFuzzy" $.IsFuzzy "Placeholder" (ctx.Locale.Tr "search.issue_kind") "Tooltip" (ctx.Locale.Tr "explorer.go")}}
58-
{{end}}
54+
{{template "shared/search/combo_fuzzy" dict "Value" $.Keyword "IsFuzzy" $.IsFuzzy "Placeholder" (ctx.Locale.Tr (Iif .PageIsPulls "search.pull_kind" "search.issue_kind")) "Tooltip" (ctx.Locale.Tr "explore.go_to")}}
5955
</div>
6056
</form>
6157
<!-- Sort -->

0 commit comments

Comments
 (0)