fix: code search title translation (#22285) (#22316)

Backport #22285

Signed-off-by: jolheiser <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
This commit is contained in:
John Olheiser
2023-01-03 11:33:55 +08:00
committed by GitHub
co-authored by GitHub Lunny Xiao Lauris BH
parent 72d1f9e63e
commit 58e642c1d6
+1 -1
View File
@@ -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")