Commit 2909006e authored by Russell Dickenson's avatar Russell Dickenson

Improve UI text for maintenance mode

Changelog: changed
parent 10932045
......@@ -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 } }
......@@ -15290,7 +15290,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"
......@@ -22805,7 +22805,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"
......@@ -25314,7 +25314,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