Commit ef567010 authored by Takuya Noguchi's avatar Takuya Noguchi

Externalize i18n strings from app/views/shared/runners/show.html.haml

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 63cea671
- page_title "#{@runner.description} ##{@runner.id}", _("Runners") - page_title "#{@runner.description} ##{@runner.id}", _("Runners")
%h3.page-title %h3.page-title
Runner ##{@runner.id} = s_('Runners|Runner #%{id}' % { id: @runner.id })
.float-right .float-right
- if @runner.instance_type? - if @runner.instance_type?
%span.runner-state.runner-state-shared %span.runner-state.runner-state-shared
Shared = s_('Runners|Shared')
- elsif @runner.group_type? - elsif @runner.group_type?
%span.runner-state.runner-state-shared %span.runner-state.runner-state-shared
Group = s_('Runners|Group')
- else - else
%span.runner-state.runner-state-specific %span.runner-state.runner-state-specific
Specific = s_('Runners|Specific')
.table-holder .table-holder
%table.table %table.table
%thead %thead
%tr %tr
%th Property Name %th= s_('Runners|Property Name')
%th Value %th= s_('Runners|Value')
%tr %tr
%td Active %td= s_('Runners|Active')
%td= @runner.active? ? 'Yes' : 'No' %td= @runner.active? ? _('Yes') : _('No')
%tr %tr
%td Protected %td= s_('Runners|Protected')
%td= @runner.ref_protected? ? 'Yes' : 'No' %td= @runner.ref_protected? ? _('Yes') : _('No')
%tr %tr
%td Can run untagged jobs %td= s_('Runners|Can run untagged jobs')
%td= @runner.run_untagged? ? 'Yes' : 'No' %td= @runner.run_untagged? ? _('Yes') : _('No')
- unless @runner.group_type? - unless @runner.group_type?
%tr %tr
%td Locked to this project %td= s_('Runners|Locked to this project')
%td= @runner.locked? ? 'Yes' : 'No' %td= @runner.locked? ? _('Yes') : _('No')
%tr %tr
%td Tags %td= s_('Runners|Tags')
%td %td
- @runner.tag_list.sort.each do |tag| - @runner.tag_list.sort.each do |tag|
%span.badge.badge-primary %span.badge.badge-primary
= tag = tag
%tr %tr
%td Name %td= s_('Runners|Name')
%td= @runner.name %td= @runner.name
%tr %tr
%td Version %td= s_('Runners|Version')
%td= @runner.version %td= @runner.version
%tr %tr
%td IP Address %td= s_('Runners|IP Address')
%td= @runner.ip_address %td= @runner.ip_address
%tr %tr
%td Revision %td= s_('Runners|Revision')
%td= @runner.revision %td= @runner.revision
%tr %tr
%td Platform %td= s_('Runners|Platform')
%td= @runner.platform %td= @runner.platform
%tr %tr
%td Architecture %td= s_('Runners|Architecture')
%td= @runner.architecture %td= @runner.architecture
%tr %tr
%td Description %td= s_('Runners|Description')
%td= @runner.description %td= @runner.description
%tr %tr
%td Maximum job timeout %td= s_('Runners|Maximum job timeout')
%td= @runner.maximum_timeout_human_readable %td= @runner.maximum_timeout_human_readable
%tr %tr
%td Last contact %td= s_('Runners|Last contact')
%td %td
- if @runner.contacted_at - if @runner.contacted_at
= time_ago_with_tooltip @runner.contacted_at = time_ago_with_tooltip @runner.contacted_at
- else - else
Never = s_('Never')
---
title: Externalize i18n strings from app/views/shared/runners/show.html.haml
merge_request: 41241
author: Takuya Noguchi
type: other
...@@ -21456,6 +21456,63 @@ msgstr "" ...@@ -21456,6 +21456,63 @@ msgstr ""
msgid "Runners page." msgid "Runners page."
msgstr "" msgstr ""
msgid "Runners|Active"
msgstr ""
msgid "Runners|Architecture"
msgstr ""
msgid "Runners|Can run untagged jobs"
msgstr ""
msgid "Runners|Description"
msgstr ""
msgid "Runners|Group"
msgstr ""
msgid "Runners|IP Address"
msgstr ""
msgid "Runners|Last contact"
msgstr ""
msgid "Runners|Locked to this project"
msgstr ""
msgid "Runners|Maximum job timeout"
msgstr ""
msgid "Runners|Name"
msgstr ""
msgid "Runners|Platform"
msgstr ""
msgid "Runners|Property Name"
msgstr ""
msgid "Runners|Protected"
msgstr ""
msgid "Runners|Revision"
msgstr ""
msgid "Runners|Shared"
msgstr ""
msgid "Runners|Specific"
msgstr ""
msgid "Runners|Tags"
msgstr ""
msgid "Runners|Value"
msgstr ""
msgid "Runners|Version"
msgstr ""
msgid "Runners|You have used %{quotaUsed} out of %{quotaLimit} of your shared Runners pipeline minutes." msgid "Runners|You have used %{quotaUsed} out of %{quotaLimit} of your shared Runners pipeline minutes."
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment