mirror of
https://github.com/go-gitea/gitea
synced 2025-07-27 04:38:36 +00:00
fix: update locale
This commit is contained in:
@@ -19,7 +19,7 @@ const (
|
|||||||
|
|
||||||
// Runners render runners page
|
// Runners render runners page
|
||||||
func Runners(ctx *context.Context) {
|
func Runners(ctx *context.Context) {
|
||||||
ctx.Data["Title"] = ctx.Tr("repo.settings.runners")
|
ctx.Data["Title"] = ctx.Tr("actions.runners")
|
||||||
ctx.Data["PageIsSettingsRunners"] = true
|
ctx.Data["PageIsSettingsRunners"] = true
|
||||||
|
|
||||||
page := ctx.FormInt("page")
|
page := ctx.FormInt("page")
|
||||||
@@ -42,7 +42,7 @@ func Runners(ctx *context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func RunnersEdit(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
|
ctx.Data["PageIsSettingsRunners"] = true
|
||||||
page := ctx.FormInt("page")
|
page := ctx.FormInt("page")
|
||||||
if page <= 1 {
|
if page <= 1 {
|
||||||
@@ -55,7 +55,7 @@ func RunnersEdit(ctx *context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func RunnersEditPost(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
|
ctx.Data["PageIsSettingsRunners"] = true
|
||||||
actions_shared.RunnerDetailsEditPost(ctx, ctx.ParamsInt64(":runnerid"),
|
actions_shared.RunnerDetailsEditPost(ctx, ctx.ParamsInt64(":runnerid"),
|
||||||
0, ctx.Repo.Repository.ID,
|
0, ctx.Repo.Repository.ID,
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
{{if .EnableActions}}
|
{{if .EnableActions}}
|
||||||
<a class="{{if .PageIsOrgSettingsRunners}}active {{end}}item" href="{{.OrgLink}}/settings/runners">
|
<a class="{{if .PageIsOrgSettingsRunners}}active {{end}}item" href="{{.OrgLink}}/settings/runners">
|
||||||
{{.locale.Tr "repo.runners"}}
|
{{.locale.Tr "actions.runners"}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
<a class="{{if .PageIsOrgSettingsSecrets}}active {{end}}item" href="{{.OrgLink}}/settings/secrets">
|
<a class="{{if .PageIsOrgSettingsSecrets}}active {{end}}item" href="{{.OrgLink}}/settings/secrets">
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
{{if and .EnableActions (not .UnitActionsGlobalDisabled) (.Permission.CanRead $.UnitTypeActions)}}
|
{{if and .EnableActions (not .UnitActionsGlobalDisabled) (.Permission.CanRead $.UnitTypeActions)}}
|
||||||
<a class="{{if .PageIsSettingsRunners}}active {{end}}item" href="{{.RepoLink}}/settings/runners">
|
<a class="{{if .PageIsSettingsRunners}}active {{end}}item" href="{{.RepoLink}}/settings/runners">
|
||||||
{{.locale.Tr "repo.settings.runners"}}
|
{{.locale.Tr "actions.runners"}}
|
||||||
</a>
|
</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user