1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-08 17:05:45 +02:00

fix: update locale

This commit is contained in:
Jason Song 2022-12-29 14:29:49 +08:00
parent d8f2343497
commit bc7b575ade
No known key found for this signature in database
GPG Key ID: 8402EEEE4511A8B5
3 changed files with 5 additions and 5 deletions
routers/web/repo
templates
org/settings
repo/settings

@ -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,

@ -27,7 +27,7 @@
{{end}}
{{if .EnableActions}}
<a class="{{if .PageIsOrgSettingsRunners}}active {{end}}item" href="{{.OrgLink}}/settings/runners">
{{.locale.Tr "repo.runners"}}
{{.locale.Tr "actions.runners"}}
</a>
{{end}}
<a class="{{if .PageIsOrgSettingsSecrets}}active {{end}}item" href="{{.OrgLink}}/settings/secrets">

@ -34,7 +34,7 @@
{{end}}
{{if and .EnableActions (not .UnitActionsGlobalDisabled) (.Permission.CanRead $.UnitTypeActions)}}
<a class="{{if .PageIsSettingsRunners}}active {{end}}item" href="{{.RepoLink}}/settings/runners">
{{.locale.Tr "repo.settings.runners"}}
{{.locale.Tr "actions.runners"}}
</a>
{{end}}
</div>