mirror of https://github.com/go-gitea/gitea.git
feat: more translations
This commit is contained in:
parent
e61d655929
commit
6f6bfc5d51
|
@ -296,7 +296,7 @@ var (
|
|||
TypeActions,
|
||||
"actions.actions",
|
||||
"/actions",
|
||||
"actions.description",
|
||||
"actions.unit.desc",
|
||||
7,
|
||||
perm.AccessModeOwner,
|
||||
}
|
||||
|
|
|
@ -3237,9 +3237,17 @@ deletion.failed = Failed to remove secret.
|
|||
|
||||
[actions]
|
||||
actions = Actions
|
||||
description = Manage actions
|
||||
open_tab = %d Open
|
||||
closed_tab = %d Closed
|
||||
|
||||
unit.desc = Manage actions
|
||||
|
||||
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.runner_manage_panel = Runners Management
|
||||
|
@ -3277,11 +3285,8 @@ runners.status.idle = Idle
|
|||
runners.status.active = Active
|
||||
runners.status.offline = Offline
|
||||
|
||||
status.unknown = "Unknown"
|
||||
status.waiting = "Waiting"
|
||||
status.running = "Running"
|
||||
status.success = "Success"
|
||||
status.failure = "Failure"
|
||||
status.cancelled = "Cancelled"
|
||||
status.skipped = "Skipped"
|
||||
status.blocked = "Blocked"
|
||||
runs.all_workflows = All Workflows
|
||||
runs.open_tab = %d Open
|
||||
runs.closed_tab = %d Closed
|
||||
runs.commit = Commit
|
||||
runs.pushed_by = Pushed by
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="ui grid">
|
||||
<div class="four wide column">
|
||||
<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>
|
||||
{{range .workflows}}
|
||||
<a class="item{{if eq .Name $.CurWorkflow}} active{{end}}" href="{{$.Link}}?workflow={{.Name}}">{{.Name}}</a>
|
||||
|
@ -19,28 +19,6 @@
|
|||
{{template "repo/actions/openclose" .}}
|
||||
</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" .}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<div class="ui compact tiny menu">
|
||||
<a class="{{if not .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=open">
|
||||
{{svg "octicon-issue-opened" 16 "mr-3"}}
|
||||
{{.locale.Tr "actions.open_tab" $.NumOpenActionRuns}}
|
||||
{{.locale.Tr "actions.runs.open_tab" $.NumOpenActionRuns}}
|
||||
</a>
|
||||
<a class="{{if .IsShowClosed}}active {{end}}item" href="{{$.Link}}?workflow={{.CurWorkflow}}&state=closed">
|
||||
{{svg "octicon-issue-closed" 16 "mr-3"}}
|
||||
{{.locale.Tr "actions.closed_tab" $.NumClosedActionRuns}}
|
||||
{{.locale.Tr "actions.runs.closed_tab" $.NumClosedActionRuns}}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="desc issue-item-bottom-row df ac fw my-1">
|
||||
<b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>: Commit
|
||||
<a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{SubStr .CommitSHA 0 10}}</a> pushed by {{.TriggerUser.GetDisplayName | Escape}}
|
||||
<b>{{if not $.CurWorkflow}}{{.WorkflowID}} {{end}}#{{.Index}}</b>: {{$.locale.Tr "actions.runs.commit"}}
|
||||
<a href="{{$.RepoLink}}/commit/{{.CommitSHA}}">{{SubStr .CommitSHA 0 10}}</a> {{$.locale.Tr "actions.runs.pushed_by"}} {{.TriggerUser.GetDisplayName | Escape}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="issue-item-right">
|
||||
|
|
Loading…
Reference in New Issue