diff --git a/routers/web/repo/runners.go b/routers/web/repo/runners.go index 8be5e828af..d3dbff17fd 100644 --- a/routers/web/repo/runners.go +++ b/routers/web/repo/runners.go @@ -19,7 +19,7 @@ const ( // Runners render runners page func Runners(ctx *context.Context) { - ctx.Data["Title"] = ctx.Tr("repo.settings.runners") + ctx.Data["Title"] = ctx.Tr("actions.runners") ctx.Data["PageIsSettingsRunners"] = true page := ctx.FormInt("page") @@ -42,7 +42,7 @@ func Runners(ctx *context.Context) { } func RunnersEdit(ctx *context.Context) { - ctx.Data["Title"] = ctx.Tr("repo.settings.runners") + ctx.Data["Title"] = ctx.Tr("actions.runners") ctx.Data["PageIsSettingsRunners"] = true page := ctx.FormInt("page") if page <= 1 { @@ -55,7 +55,7 @@ func RunnersEdit(ctx *context.Context) { } func RunnersEditPost(ctx *context.Context) { - ctx.Data["Title"] = ctx.Tr("repo.settings.runners") + ctx.Data["Title"] = ctx.Tr("actions.runners") ctx.Data["PageIsSettingsRunners"] = true actions_shared.RunnerDetailsEditPost(ctx, ctx.ParamsInt64(":runnerid"), 0, ctx.Repo.Repository.ID, diff --git a/templates/org/settings/navbar.tmpl b/templates/org/settings/navbar.tmpl index aa1f5b757f..5678d95057 100644 --- a/templates/org/settings/navbar.tmpl +++ b/templates/org/settings/navbar.tmpl @@ -27,7 +27,7 @@ {{end}} {{if .EnableActions}} - {{.locale.Tr "repo.runners"}} + {{.locale.Tr "actions.runners"}} {{end}} diff --git a/templates/repo/settings/navbar.tmpl b/templates/repo/settings/navbar.tmpl index 848a98c594..2119f6b5a4 100644 --- a/templates/repo/settings/navbar.tmpl +++ b/templates/repo/settings/navbar.tmpl @@ -34,7 +34,7 @@ {{end}} {{if and .EnableActions (not .UnitActionsGlobalDisabled) (.Permission.CanRead $.UnitTypeActions)}} - {{.locale.Tr "repo.settings.runners"}} + {{.locale.Tr "actions.runners"}} {{end}}