summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2023-01-02 21:33:55 -0600
committerGitHub <noreply@github.com>2023-01-03 11:33:55 +0800
commit58e642c1d67d36ce255abf13d08b3bcac0dccfb7 (patch)
tree95453f7370ca7220e823f99103ea3004b07a66e5
parent72d1f9e63e3de5a3f7a6f1bb498c33956ccd3da8 (diff)
downloadgitea-58e642c1d67d36ce255abf13d08b3bcac0dccfb7.tar.gz
gitea-58e642c1d67d36ce255abf13d08b3bcac0dccfb7.zip
fix: code search title translation (#22285) (#22316)
Backport #22285 Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
-rw-r--r--routers/web/user/code.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/user/code.go b/routers/web/user/code.go
index 89bd23588b..62f3f315e6 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")