From 58e642c1d67d36ce255abf13d08b3bcac0dccfb7 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Mon, 2 Jan 2023 21:33:55 -0600 Subject: [PATCH] fix: code search title translation (#22285) (#22316) Backport #22285 Signed-off-by: jolheiser Co-authored-by: Lunny Xiao Co-authored-by: Lauris BH --- routers/web/user/code.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/user/code.go b/routers/web/user/code.go index 89bd23588b84..62f3f315e67b 100644 --- a/routers/web/user/code.go +++ b/routers/web/user/code.go @@ -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")