mirror of
https://github.com/go-gitea/gitea
synced 2025-07-25 19:58:36 +00:00
feat: more translations
This commit is contained in:
@@ -296,7 +296,7 @@ var (
|
|||||||
TypeActions,
|
TypeActions,
|
||||||
"actions.actions",
|
"actions.actions",
|
||||||
"/actions",
|
"/actions",
|
||||||
"actions.description",
|
"actions.unit.desc",
|
||||||
7,
|
7,
|
||||||
perm.AccessModeOwner,
|
perm.AccessModeOwner,
|
||||||
}
|
}
|
||||||
|
@@ -3237,9 +3237,17 @@ deletion.failed = Failed to remove secret.
|
|||||||
|
|
||||||
[actions]
|
[actions]
|
||||||
actions = Actions
|
actions = Actions
|
||||||
description = Manage actions
|
|
||||||
open_tab = %d Open
|
unit.desc = Manage actions
|
||||||
closed_tab = %d Closed
|
|
||||||
|
status.unknown = "Unknown"
|
||||||
|
status.waiting = "Waiting"
|
||||||
|
status.running = "Running"
|
||||||
|
status.success = "Success"
|
||||||
|
status.failure = "Failure"
|
||||||
|
status.cancelled = "Cancelled"
|
||||||
|
status.skipped = "Skipped"
|
||||||
|
status.blocked = "Blocked"
|
||||||
|
|
||||||
runners = Runners
|
runners = Runners
|
||||||
runners.runner_manage_panel = Runners Management
|
runners.runner_manage_panel = Runners Management
|
||||||
@@ -3277,11 +3285,8 @@ runners.status.idle = Idle
|
|||||||
runners.status.active = Active
|
runners.status.active = Active
|
||||||
runners.status.offline = Offline
|
runners.status.offline = Offline
|
||||||
|
|
||||||
status.unknown = "Unknown"
|
runs.all_workflows = All Workflows
|
||||||
status.waiting = "Waiting"
|
runs.open_tab = %d Open
|
||||||
status.running = "Running"
|
runs.closed_tab = %d Closed
|
||||||
status.success = "Success"
|
runs.commit = Commit
|
||||||
status.failure = "Failure"
|
runs.pushed_by = Pushed by
|
||||||
status.cancelled = "Cancelled"
|
|
||||||
status.skipped = "Skipped"
|
|
||||||
status.blocked = "Blocked"
|
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
<div class="ui grid">
|
<div class="ui grid">
|
||||||
<div class="four wide column">
|
<div class="four wide column">
|
||||||
<div class="ui fluid vertical menu">
|
<div class="ui fluid vertical menu">
|
||||||
<a class="item{{if not $.CurWorkflow}} active{{end}}" href="{{$.Link}}">All Workflows</a>
|
<a class="item{{if not $.CurWorkflow}} active{{end}}" href="{{$.Link}}">{{.locale.Tr "actions.runs.all_workflows"}}</a>
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
{{range .workflows}}
|
{{range .workflows}}
|
||||||
<a class="item{{if eq .Name $.CurWorkflow}} active{{end}}" href="{{$.Link}}?workflow={{.Name}}">{{.Name}}</a>
|
<a class="item{{if eq .Name $.CurWorkflow}} active{{end}}" href="{{$.Link}}?workflow={{.Name}}">{{.Name}}</a>
|
||||||
@@ -19,28 +19,6 @@
|
|||||||
{{template "repo/actions/openclose" .}}
|
{{template "repo/actions/openclose" .}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="issue-actions" class="ui stackable grid hide">
|
|
||||||
<div class="six wide column">
|
|
||||||
{{template "repo/actions/openclose" .}}
|
|
||||||
</div>
|
|
||||||
<div class="ui divider"></div>
|
|
||||||
{{/* Ten wide does not cope well and makes the columns stack.
|
|
||||||
This seems to be related to jQuery's hide/show: in fact, switching
|
|
||||||
issue-actions and issue-filters and having this ten wide will show
|
|
||||||
this one correctly, but not the other one. */}}
|
|
||||||
<div class="nine wide right aligned right floated column">
|
|
||||||
<div class="ui secondary filter stackable menu">
|
|
||||||
{{if not .Repository.IsArchived}}
|
|
||||||
<!-- Action Button -->
|
|
||||||
{{if .IsShowClosed}}
|
|
||||||
<div class="ui green active basic button issue-action" data-action="open" data-url="{{$.RepoLink}}/issues/status" style="margin-left: auto">{{.locale.Tr "repo.issues.action_open"}}</div>
|
|
||||||
{{else}}
|
|
||||||
<div class="ui red active basic button issue-action" data-action="close" data-url="{{$.RepoLink}}/issues/status" style="margin-left: auto">{{.locale.Tr "repo.issues.action_close"}}</div>
|
|
||||||
{{end}}
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{template "repo/actions/runs_list" .}}
|
{{template "repo/actions/runs_list" .}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
<div class="ui compact tiny menu">
|
<div class="ui compact tiny menu">
|
||||||
<a class="{{if not .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=open">
|
<a class="{{if not .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=open">
|
||||||
{{svg "octicon-issue-opened" 16 "mr-3"}}
|
{{svg "octicon-issue-opened" 16 "mr-3"}}
|
||||||
{{.locale.Tr "actions.open_tab" $.NumOpenActionRuns}}
|
{{.locale.Tr "actions.runs.open_tab" $.NumOpenActionRuns}}
|
||||||
</a>
|
</a>
|
||||||
<a class="{{if .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=closed">
|
<a class="{{if .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=closed">
|
||||||
{{svg "octicon-issue-closed" 16 "mr-3"}}
|
{{svg "octicon-issue-closed" 16 "mr-3"}}
|
||||||
{{.locale.Tr "actions.closed_tab" $.NumClosedActionRuns}}
|
{{.locale.Tr "actions.runs.closed_tab" $.NumClosedActionRuns}}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -11,8 +11,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="desc issue-item-bottom-row df ac fw my-1">
|
<div class="desc issue-item-bottom-row df ac fw my-1">
|
||||||
<b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>: Commit
|
<b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>: {{$.locale.Tr "actions.runs.commit"}}
|
||||||
<a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{SubStr .CommitSHA 0 10}}</a> pushed by {{.TriggerUser.GetDisplayName | Escape}}
|
<a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{SubStr .CommitSHA 0 10}}</a> {{$.locale.Tr "actions.runs.pushed_by"}} {{.TriggerUser.GetDisplayName | Escape}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="issue-item-right">
|
<div class="issue-item-right">
|
||||||
|
Reference in New Issue
Block a user