mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-03 00:09:18 +08:00
add translations
This commit is contained in:
parent
5dbaf6ec6e
commit
d096c970b3
@ -3697,6 +3697,7 @@ runs.no_workflows.documentation = For more information on Gitea Actions, see <a
|
||||
runs.no_runs = The workflow has no runs yet.
|
||||
runs.empty_commit_message = (empty commit message)
|
||||
runs.expire_log_message = Logs have been purged because they were too old.
|
||||
runs.details = Run details
|
||||
|
||||
workflow.disable = Disable Workflow
|
||||
workflow.disable_success = Workflow '%s' disabled successfully.
|
||||
@ -3708,6 +3709,7 @@ workflow.not_found = Workflow '%s' not found.
|
||||
workflow.run_success = Workflow '%s' run successfully.
|
||||
workflow.from_ref = Use workflow from
|
||||
workflow.has_workflow_dispatch = This workflow has a workflow_dispatch event trigger.
|
||||
workflow.file = Workflow file
|
||||
|
||||
need_approval_desc = Need approval to run workflows for fork pull request.
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
data-locale-rerun-all="{{ctx.Locale.Tr "rerun_all"}}"
|
||||
data-locale-runs-scheduled="{{ctx.Locale.Tr "actions.runs.scheduled"}}"
|
||||
data-locale-runs-commit="{{ctx.Locale.Tr "actions.runs.commit"}}"
|
||||
data-locale-runs-details="{{ctx.Locale.Tr "actions.runs.details"}}"
|
||||
data-locale-runs-pushed-by="{{ctx.Locale.Tr "actions.runs.pushed_by"}}"
|
||||
data-locale-status-unknown="{{ctx.Locale.Tr "actions.status.unknown"}}"
|
||||
data-locale-status-waiting="{{ctx.Locale.Tr "actions.status.waiting"}}"
|
||||
@ -27,6 +28,7 @@
|
||||
data-locale-show-log-seconds="{{ctx.Locale.Tr "show_log_seconds"}}"
|
||||
data-locale-show-full-screen="{{ctx.Locale.Tr "show_full_screen"}}"
|
||||
data-locale-download-logs="{{ctx.Locale.Tr "download_logs"}}"
|
||||
data-locale-workflow-file="{{ctx.Locale.Tr "actions.workflow.file"}}"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -351,10 +351,12 @@ export function initRepositoryActionView() {
|
||||
artifactsTitle: el.getAttribute('data-locale-artifacts-title'),
|
||||
areYouSure: el.getAttribute('data-locale-are-you-sure'),
|
||||
confirmDeleteArtifact: el.getAttribute('data-locale-confirm-delete-artifact'),
|
||||
runDetails: el.getAttribute('data-locale-runs-details'),
|
||||
showTimeStamps: el.getAttribute('data-locale-show-timestamps'),
|
||||
showLogSeconds: el.getAttribute('data-locale-show-log-seconds'),
|
||||
showFullScreen: el.getAttribute('data-locale-show-full-screen'),
|
||||
downloadLogs: el.getAttribute('data-locale-download-logs'),
|
||||
workflowFile: el.getAttribute('data-locale-workflow-file'),
|
||||
status: {
|
||||
unknown: el.getAttribute('data-locale-status-unknown'),
|
||||
waiting: el.getAttribute('data-locale-status-waiting'),
|
||||
@ -422,14 +424,14 @@ export function initRepositoryActionView() {
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="left-side-section">
|
||||
<div class="left-side-section" v-if="run.workflowFileLink">
|
||||
<div class="left-side-section-title">
|
||||
Run details
|
||||
{{ locale.runDetails }}
|
||||
</div>
|
||||
<ul class="left-side-section-list">
|
||||
<li class="left-side-section-item" v-for="artifact in artifacts" :key="artifact.name">
|
||||
<li class="left-side-section-item">
|
||||
<a class="left-side-section-link" target="_blank" :href="run.workflowFileLink">
|
||||
<SvgIcon name="octicon-file" class="ui text black left-side-section-icon"/>{{ run.workflowID }}
|
||||
<SvgIcon name="octicon-file" class="ui text black left-side-section-icon"/>{{ locale.workflowFile }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user