summaryrefslogtreecommitdiffstats
path: root/routers/install/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/install/setting.go')
-rw-r--r--routers/install/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/install/setting.go b/routers/install/setting.go
index cf0a01ce31..c4912f1124 100644
--- a/routers/install/setting.go
+++ b/routers/install/setting.go
@@ -24,7 +24,7 @@ func PreloadSettings(ctx context.Context) bool {
log.Info("Log path: %s", setting.LogRootPath)
log.Info("Configuration file: %s", setting.CustomConf)
log.Info("Prepare to run install page")
- translation.InitLocales()
+ translation.InitLocales(ctx)
if setting.EnableSQLite3 {
log.Info("SQLite3 is supported")
}