Commit 48658f1b authored by Simon Knox's avatar Simon Knox

Merge branch 'russell/ui-text-maintenance-mode' into 'master'

Improve UI text for Maintenance Mode

See merge request gitlab-org/gitlab!69264
parents 9c8d29cc 2909006e
......@@ -9,10 +9,10 @@ export default {
i18n: {
toggleLabel: __('Enable maintenance mode'),
toggleHelpText: __(
'Non-admin users can sign in with read-only access and make read-only API requests.',
'Non-admin users are restricted to read-only access, in both GitLab UI and API.',
),
bannerMessagePlaceholder: __(
'GitLab is undergoing maintenance and is operating in a read-only mode.',
'GitLab is undergoing maintenance and is operating in read-only mode.',
),
buttonText: __('Save changes'),
},
......
......@@ -7,7 +7,8 @@
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Prevent users from performing write operations on GitLab while performing maintenance.')
= _('Prevent users from performing write operations while GitLab maintenance is in progress.')
= link_to _('Learn more.'), help_page_path('administration/maintenance_mode/index'), target: '_blank', rel: 'noopener noreferrer'
.settings-content
#js-maintenance-mode-settings{ data: { "maintenance-enabled" => @application_setting.maintenance_mode,
"banner-message" => @application_setting.maintenance_mode_message } }
......@@ -15340,7 +15340,7 @@ msgstr ""
msgid "GitLab is open source software to collaborate on code."
msgstr ""
msgid "GitLab is undergoing maintenance and is operating in a read-only mode."
msgid "GitLab is undergoing maintenance and is operating in read-only mode."
msgstr ""
msgid "GitLab member or Email address"
......@@ -22858,7 +22858,7 @@ msgstr ""
msgid "Nodes"
msgstr ""
msgid "Non-admin users can sign in with read-only access and make read-only API requests."
msgid "Non-admin users are restricted to read-only access, in both GitLab UI and API."
msgstr ""
msgid "None"
......@@ -25370,7 +25370,7 @@ msgstr ""
msgid "Prevent users from changing their profile name"
msgstr ""
msgid "Prevent users from performing write operations on GitLab while performing maintenance."
msgid "Prevent users from performing write operations while GitLab maintenance is in progress."
msgstr ""
msgid "Preview"
......
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