Skip to content
Snippets Groups Projects
Commit e9672f11 authored by Jonston Chan's avatar Jonston Chan
Browse files

Unscope i18n strings that are incorrectly scoped in HAML files

Unscopes i18n strings that are incorrectly scoped in HAML files

Changelog: changed
parent 9b93a05a
No related branches found
No related tags found
2 merge requests!122597doc/gitaly: Remove references to removed metrics,!118574Unscope i18n strings that are incorrectly scoped in HAML files
......@@ -20,7 +20,7 @@
= _('Default language')
= f.select :default_preferred_language, default_preferred_language_choices, {}, class: 'gl-form-select custom-select'
.form-text.text-muted
= s_('Default language for users who are not logged in.')
= _('Default language for users who are not logged in.')
= f.submit _('Save changes'), pajamas_button: true
......@@ -15,12 +15,12 @@
.gl-max-w-full.gl-m-auto
%h1.h4.gl-font-size-h-display= s_('AdminArea|No applications found')
= render Pajamas::ButtonComponent.new(href: new_admin_application_path, variant: :confirm, button_options: { data: { qa_selector: 'new_application_button' } }) do
= s_('New application')
= _('New application')
- else
%hr
= render Pajamas::ButtonComponent.new(href: new_admin_application_path, variant: :confirm, button_options: { data: { qa_selector: 'new_application_button' } }) do
= s_('New application')
= _('New application')
.table-responsive
%table.b-table.gl-table.gl-w-full{ role: 'table' }
......
......@@ -7,7 +7,7 @@
= c.body do
%h4
= sprite_icon('pod', size: 18, css_class: 'gl-text-gray-700')
= s_('CPU')
= _('CPU')
.data
- if @cpus
%h2= _('%{cores} cores') % { cores: @cpus.length }
......@@ -19,7 +19,7 @@
= c.body do
%h4
= sprite_icon('status-health', size: 18, css_class: 'gl-text-gray-700')
= s_('Memory Usage')
= _('Memory Usage')
.data
- if @memory
%h2 #{number_to_human_size(@memory.active_bytes)} / #{number_to_human_size(@memory.total_bytes)}
......@@ -31,7 +31,7 @@
= c.body do
%h4
= sprite_icon('clock', size: 18, css_class: 'gl-text-gray-700')
= s_('System started')
= _('System started')
.data
%h2= time_ago_with_tooltip(Rails.application.config.booted_at)
.col-sm
......@@ -39,7 +39,7 @@
= c.body do
%h4
= sprite_icon('disk', size: 18, css_class: 'gl-text-gray-700')
= s_('Disk Usage')
= _('Disk Usage')
.data
- @disks.each do |disk|
%h2 #{number_to_human_size(disk[:bytes_used])} / #{number_to_human_size(disk[:bytes_total])}
......
......@@ -21,7 +21,7 @@
= html_escape(_("Define environments in the deploy stage(s) in %{code_open}.gitlab-ci.yml%{code_close} to track deployments here.")) % { code_open: '<code>'.html_safe, code_close: '</code>'.html_safe }
.text-center
= render Pajamas::ButtonComponent.new(variant: :confirm, href: help_page_path("ci/environments/index.md")) do
= s_('Read more')
= _('Read more')
- else
.table-holder.gl-overflow-visible
......
......@@ -32,7 +32,7 @@
.col-sm-10.offset-sm-2
= render Pajamas::CardComponent.new(body_options: { class: 'gl-display-flex gl-align-items-center gl-justify-content-space-between gl-p-5' }) do |c|
- c.header do
= s_('Certificate')
= _('Certificate')
- c.body do
%span
= domain_presenter.pages_domain.subject || _('missing')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment