Skip to content

Commit

Permalink
fix: code search title translation (#22285) (#22316)
Browse files Browse the repository at this point in the history
Backport #22285

Signed-off-by: jolheiser <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
  • Loading branch information
3 people authored Jan 3, 2023
1 parent 72d1f9e commit 58e642c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/web/user/code.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func CodeSearch(ctx *context.Context) {

ctx.Data["IsPackageEnabled"] = setting.Packages.Enabled
ctx.Data["IsRepoIndexerEnabled"] = setting.Indexer.RepoIndexerEnabled
ctx.Data["Title"] = ctx.Tr("code.title")
ctx.Data["Title"] = ctx.Tr("explore.code")
ctx.Data["ContextUser"] = ctx.ContextUser

language := ctx.FormTrim("l")
Expand Down

0 comments on commit 58e642c

Please sign in to comment.