Commit 1e2fbc86 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'Externalize-strings-in-_signin.html.haml' into 'master'

Externalize strings in  application_settings/_signin.html.haml

See merge request gitlab-org/gitlab!58066
parents 1fa2baed c3f83d1b
...@@ -6,14 +6,14 @@ ...@@ -6,14 +6,14 @@
.form-check .form-check
= f.check_box :password_authentication_enabled_for_web, class: 'form-check-input' = f.check_box :password_authentication_enabled_for_web, class: 'form-check-input'
= f.label :password_authentication_enabled_for_web, class: 'form-check-label' do = f.label :password_authentication_enabled_for_web, class: 'form-check-label' do
Password authentication enabled for web interface = _('Password authentication enabled for web interface')
.form-text.text-muted .form-text.text-muted
When disabled, an external authentication provider must be used. = _('When disabled, an external authentication provider must be used.')
.form-group .form-group
.form-check .form-check
= f.check_box :password_authentication_enabled_for_git, class: 'form-check-input' = f.check_box :password_authentication_enabled_for_git, class: 'form-check-input'
= f.label :password_authentication_enabled_for_git, class: 'form-check-label' do = f.label :password_authentication_enabled_for_git, class: 'form-check-label' do
Password authentication enabled for Git over HTTP(S) = _('Password authentication enabled for Git over HTTP(S)')
.form-text.text-muted .form-text.text-muted
When disabled, a Personal Access Token When disabled, a Personal Access Token
- if Gitlab::Auth::Ldap::Config.enabled? - if Gitlab::Auth::Ldap::Config.enabled?
...@@ -26,11 +26,11 @@ ...@@ -26,11 +26,11 @@
- oauth_providers_checkboxes.each do |source| - oauth_providers_checkboxes.each do |source|
= source = source
.form-group .form-group
= f.label :two_factor_authentication, 'Two-factor authentication', class: 'label-bold' = f.label :two_factor_authentication, _('Two-factor authentication'), class: 'label-bold'
.form-check .form-check
= f.check_box :require_two_factor_authentication, class: 'form-check-input' = f.check_box :require_two_factor_authentication, class: 'form-check-input'
= f.label :require_two_factor_authentication, class: 'form-check-label' do = f.label :require_two_factor_authentication, class: 'form-check-label' do
Require all users to set up Two-factor authentication = _('Require all users to set up two-factor authentication')
.form-group .form-group
= f.label :admin_mode, _('Admin Mode'), class: 'label-bold' = f.label :admin_mode, _('Admin Mode'), class: 'label-bold'
= sprite_icon('lock', css_class: 'gl-icon') = sprite_icon('lock', css_class: 'gl-icon')
...@@ -50,19 +50,19 @@ ...@@ -50,19 +50,19 @@
'https://docs.gitlab.com/ee/user/profile/unknown_sign_in_notification.html', 'https://docs.gitlab.com/ee/user/profile/unknown_sign_in_notification.html',
target: '_blank' target: '_blank'
.form-group .form-group
= f.label :two_factor_authentication, 'Two-factor grace period (hours)', class: 'label-bold' = f.label :two_factor_authentication, _('Two-factor grace period (hours)'), class: 'label-bold'
= f.number_field :two_factor_grace_period, min: 0, class: 'form-control gl-form-input', placeholder: '0' = f.number_field :two_factor_grace_period, min: 0, class: 'form-control gl-form-input', placeholder: '0'
.form-text.text-muted Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication .form-text.text-muted= _('Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication')
.form-group .form-group
= f.label :home_page_url, 'Home page URL', class: 'label-bold' = f.label :home_page_url, _('Home page URL'), class: 'label-bold'
= f.text_field :home_page_url, class: 'form-control gl-form-input', placeholder: 'http://company.example.com', :'aria-describedby' => 'home_help_block' = f.text_field :home_page_url, class: 'form-control gl-form-input', placeholder: 'http://company.example.com', :'aria-describedby' => 'home_help_block'
%span.form-text.text-muted#home_help_block We will redirect non-logged in users to this page %span.form-text.text-muted#home_help_block= _("We will redirect non-logged in users to this page")
.form-group .form-group
= f.label :after_sign_out_path, _('After sign-out path'), class: 'label-bold' = f.label :after_sign_out_path, _('After sign-out path'), class: 'label-bold'
= f.text_field :after_sign_out_path, class: 'form-control gl-form-input', placeholder: 'http://company.example.com', :'aria-describedby' => 'after_sign_out_path_help_block' = f.text_field :after_sign_out_path, class: 'form-control gl-form-input', placeholder: 'http://company.example.com', :'aria-describedby' => 'after_sign_out_path_help_block'
%span.form-text.text-muted#after_sign_out_path_help_block We will redirect users to this page after they sign out %span.form-text.text-muted#after_sign_out_path_help_block= _("We will redirect users to this page after they sign out")
.form-group .form-group
= f.label :sign_in_text, _('Sign-in text'), class: 'label-bold' = f.label :sign_in_text, _('Sign-in text'), class: 'label-bold'
= f.text_area :sign_in_text, class: 'form-control gl-form-input', rows: 4 = f.text_area :sign_in_text, class: 'form-control gl-form-input', rows: 4
.form-text.text-muted Markdown enabled .form-text.text-muted Markdown enabled
= f.submit 'Save changes', class: "gl-button btn btn-confirm" = f.submit _('Save changes'), class: "gl-button btn btn-confirm"
---
title: Externalize strings in /application_settings/_signin.html.haml
merge_request: 58066
author: nuwe1
type: other
...@@ -16181,6 +16181,9 @@ msgstr "" ...@@ -16181,6 +16181,9 @@ msgstr ""
msgid "History of authentications" msgid "History of authentications"
msgstr "" msgstr ""
msgid "Home page URL"
msgstr ""
msgid "Homepage" msgid "Homepage"
msgstr "" msgstr ""
...@@ -23291,6 +23294,12 @@ msgstr "" ...@@ -23291,6 +23294,12 @@ msgstr ""
msgid "Password (optional)" msgid "Password (optional)"
msgstr "" msgstr ""
msgid "Password authentication enabled for Git over HTTP(S)"
msgstr ""
msgid "Password authentication enabled for web interface"
msgstr ""
msgid "Password authentication is unavailable." msgid "Password authentication is unavailable."
msgstr "" msgstr ""
...@@ -27305,6 +27314,9 @@ msgstr "" ...@@ -27305,6 +27314,9 @@ msgstr ""
msgid "Require all users to accept Terms of Service and Privacy Policy when they access GitLab." msgid "Require all users to accept Terms of Service and Privacy Policy when they access GitLab."
msgstr "" msgstr ""
msgid "Require all users to set up two-factor authentication"
msgstr ""
msgid "Require new approvals when new commits are added to an MR." msgid "Require new approvals when new commits are added to an MR."
msgstr "" msgstr ""
...@@ -33840,6 +33852,9 @@ msgstr "" ...@@ -33840,6 +33852,9 @@ msgstr ""
msgid "Two-factor authentication is not enabled for this user" msgid "Two-factor authentication is not enabled for this user"
msgstr "" msgstr ""
msgid "Two-factor grace period (hours)"
msgstr ""
msgid "Type" msgid "Type"
msgstr "" msgstr ""
...@@ -35641,6 +35656,12 @@ msgstr "" ...@@ -35641,6 +35656,12 @@ msgstr ""
msgid "We will notify %{inviter} that you declined their invitation to join GitLab. You will stop receiving reminders." msgid "We will notify %{inviter} that you declined their invitation to join GitLab. You will stop receiving reminders."
msgstr "" msgstr ""
msgid "We will redirect non-logged in users to this page"
msgstr ""
msgid "We will redirect users to this page after they sign out"
msgstr ""
msgid "We would like to inform you that your subscription GitLab Enterprise Edition %{plan_name} is nearing its user limit. You have %{active_user_count} active users, which is almost at the user limit of %{maximum_user_count}." msgid "We would like to inform you that your subscription GitLab Enterprise Edition %{plan_name} is nearing its user limit. You have %{active_user_count} active users, which is almost at the user limit of %{maximum_user_count}."
msgstr "" msgstr ""
...@@ -35899,6 +35920,9 @@ msgstr "" ...@@ -35899,6 +35920,9 @@ msgstr ""
msgid "When an event in GitLab triggers a webhook, you can use the request details to figure out if something went wrong." msgid "When an event in GitLab triggers a webhook, you can use the request details to figure out if something went wrong."
msgstr "" msgstr ""
msgid "When disabled, an external authentication provider must be used."
msgstr ""
msgid "When enabled, if an npm package isn't found in the GitLab Registry, we will attempt to pull from the global npm registry." msgid "When enabled, if an npm package isn't found in the GitLab Registry, we will attempt to pull from the global npm registry."
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