mirror of
https://github.com/go-gitea/gitea
synced 2024-12-21 17:17:56 +01:00
fix: fix missing localization entries
This commit is contained in:
parent
e05b122ea7
commit
0e1d64c795
@ -3764,6 +3764,7 @@ require_action.creation.success = Create Global Require Action %s successfully.
|
||||
require_action.deletion = Delete
|
||||
require_action.deletion.description = Removing the Global Require Action is permanent and cannot be undone. Continue?
|
||||
require_action.deletion.success = The Global Require Action has been removed.
|
||||
require_action.deletion.failed = Failed to remove the Global Require Action.
|
||||
|
||||
workflow.disable = Disable Workflow
|
||||
workflow.disable_success = Workflow '%s' disabled successfully.
|
||||
|
@ -39,7 +39,7 @@ func getRequireActionCtx(ctx *context.Context) (*requireActionsCtx, error) {
|
||||
|
||||
// Listing all RequireAction
|
||||
func RequireAction(ctx *context.Context) {
|
||||
ctx.Data["ActionsTitle"] = ctx.Tr("actions.requires")
|
||||
ctx.Data["Title"] = ctx.Tr("actions.requires")
|
||||
ctx.Data["PageType"] = "require_action"
|
||||
ctx.Data["PageIsSharedSettingsRequireAction"] = true
|
||||
|
||||
|
@ -62,7 +62,7 @@ func CreateRequireAction(ctx *context.Context, orgID int64, redirectURL string)
|
||||
v, err := actions_service.CreateRequireAction(ctx, orgID, form.RepoName, form.WorkflowName)
|
||||
if err != nil {
|
||||
log.Error("CreateRequireAction: %v", err)
|
||||
ctx.JSONError(ctx.Tr("actions.require_action.creation.failed"))
|
||||
ctx.JSONError(ctx.Tr("actions.require_action.creation.failed", v.WorkflowName))
|
||||
return
|
||||
}
|
||||
ctx.Flash.Success(ctx.Tr("actions.require_action.creation.success", v.WorkflowName))
|
||||
|
Loading…
Reference in New Issue
Block a user