Commit 59cee834 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'Externalize-strings-in-instance_configuration/_gitlab_pages.html.haml' into 'master'

Externalize strings in instance_configuration/_gitlab_pages.html.haml

See merge request gitlab-org/gitlab!58437
parents d74aba3c 676c49f0
- gitlab_pages = @instance_configuration.settings[:gitlab_pages] - gitlab_pages = @instance_configuration.settings[:gitlab_pages]
- content_for :table_content do - content_for :table_content do
%li= link_to 'GitLab Pages', '#gitlab-pages' %li= link_to _('GitLab Pages'), '#gitlab-pages'
- content_for :settings_content do - content_for :settings_content do
%h2#gitlab-pages %h2#gitlab-pages
GitLab Pages = _('GitLab Pages')
%p %p
Below are the settings for - link_to_gitlab_pages = link_to(_('GitLab Pages'), gitlab_pages[:url], target: '_blank')
= succeed('.') { link_to('GitLab Pages', gitlab_pages[:url], target: '_blank') } = _('Below are the settings for %{link_to_gitlab_pages}.').html_safe % { link_to_gitlab_pages: link_to_gitlab_pages }
.table-responsive .table-responsive
%table %table
%thead %thead
%tr %tr
%th Setting %th= _('Setting')
%th= instance_configuration_host(@instance_configuration.settings[:host]) %th= instance_configuration_host(@instance_configuration.settings[:host])
%tbody %tbody
%tr %tr
%td Domain Name %td= _('Domain Name')
%td %td
%code= instance_configuration_cell_html(gitlab_pages[:host]) %code= instance_configuration_cell_html(gitlab_pages[:host])
%tr %tr
%td IP Address %td= _('IP Address')
%td %td
%code= instance_configuration_cell_html(gitlab_pages[:ip_address]) %code= instance_configuration_cell_html(gitlab_pages[:ip_address])
%tr %tr
%td Port %td= _('Port')
%td %td
%code= instance_configuration_cell_html(gitlab_pages[:port]) %code= instance_configuration_cell_html(gitlab_pages[:port])
%br %br
%p %p
The maximum size of your Pages site is regulated by the artifacts maximum - link_to_gitlab_ci = link_to(_('GitLab CI'), '#gitlab-ci')
size which is part of #{succeed('.') { link_to('GitLab CI', '#gitlab-ci') }} = _("The maximum size of your Pages site is regulated by the artifacts maximum size which is part of %{link_to_gitlab_ci}.").html_safe % { link_to_gitlab_ci: link_to_gitlab_ci }
---
title: Externalize strings in instance_configuration/_gitlab_pages.html.haml
merge_request: 58437
author: nuwe1
type: other
...@@ -4938,6 +4938,9 @@ msgstr "" ...@@ -4938,6 +4938,9 @@ msgstr ""
msgid "Below are the fingerprints for the current instance SSH host keys." msgid "Below are the fingerprints for the current instance SSH host keys."
msgstr "" msgstr ""
msgid "Below are the settings for %{link_to_gitlab_pages}."
msgstr ""
msgid "Below you will find all the groups that are public." msgid "Below you will find all the groups that are public."
msgstr "" msgstr ""
...@@ -11441,6 +11444,9 @@ msgstr "" ...@@ -11441,6 +11444,9 @@ msgstr ""
msgid "Domain" msgid "Domain"
msgstr "" msgstr ""
msgid "Domain Name"
msgstr ""
msgid "Domain cannot be deleted while associated to one or more clusters." msgid "Domain cannot be deleted while associated to one or more clusters."
msgstr "" msgstr ""
...@@ -23810,6 +23816,9 @@ msgstr "" ...@@ -23810,6 +23816,9 @@ msgstr ""
msgid "Popularity" msgid "Popularity"
msgstr "" msgstr ""
msgid "Port"
msgstr ""
msgid "Postman collection" msgid "Postman collection"
msgstr "" msgstr ""
...@@ -31278,6 +31287,9 @@ msgstr "" ...@@ -31278,6 +31287,9 @@ msgstr ""
msgid "The maximum number of tags that a single worker accepts for cleanup. If the number of tags goes above this limit, the list of tags to delete is truncated to this number. To remove this limit, set it to 0." msgid "The maximum number of tags that a single worker accepts for cleanup. If the number of tags goes above this limit, the list of tags to delete is truncated to this number. To remove this limit, set it to 0."
msgstr "" msgstr ""
msgid "The maximum size of your Pages site is regulated by the artifacts maximum size which is part of %{link_to_gitlab_ci}."
msgstr ""
msgid "The merge conflicts for this merge request cannot be resolved through GitLab. Please try to resolve them locally." msgid "The merge conflicts for this merge request cannot be resolved through GitLab. Please try to resolve them locally."
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