Commit 29e40bc5 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '330216-kpaizee-usage-statistics-ui-text' into 'master'

Revise UI text for Usage Statistics

See merge request gitlab-org/gitlab!71473
parents 13c904f0 6f7df4ea
import { __ } from '~/locale'; import { __ } from '~/locale';
export const HELPER_TEXT_SERVICE_PING_DISABLED = __( export const HELPER_TEXT_SERVICE_PING_DISABLED = __(
'To enable Registration Features, make sure "Enable service ping" is checked.', 'To enable Registration Features, first enable Service Ping.',
); );
export const HELPER_TEXT_SERVICE_PING_ENABLED = __( export const HELPER_TEXT_SERVICE_PING_ENABLED = __(
......
...@@ -10,21 +10,21 @@ ...@@ -10,21 +10,21 @@
= f.label :version_check_enabled, class: 'form-check-label' do = f.label :version_check_enabled, class: 'form-check-label' do
= _("Enable version check") = _("Enable version check")
.form-text.text-muted .form-text.text-muted
= _("GitLab will inform you if a new version is available.") = _("GitLab informs you if a new version is available.")
= _("%{link_start}Learn more%{link_end} about what information is shared with GitLab Inc.").html_safe % { link_start: "<a href='#{help_page_path("user/admin_area/settings/usage_statistics", anchor: "version-check")}'>".html_safe, link_end: '</a>'.html_safe } = _("%{link_start}What information does GitLab Inc. collect?%{link_end}").html_safe % { link_start: "<a href='#{help_page_path("user/admin_area/settings/usage_statistics", anchor: "version-check")}'>".html_safe, link_end: '</a>'.html_safe }
.form-group .form-group
- can_be_configured = @application_setting.usage_ping_can_be_configured? - can_be_configured = @application_setting.usage_ping_can_be_configured?
.form-check .form-check
= f.check_box :usage_ping_enabled, disabled: !can_be_configured, class: 'form-check-input' = f.check_box :usage_ping_enabled, disabled: !can_be_configured, class: 'form-check-input'
= f.label :usage_ping_enabled, class: 'form-check-label' do = f.label :usage_ping_enabled, class: 'form-check-label' do
= _('Enable service ping') = _('Enable Service Ping')
.form-text.text-muted .form-text.text-muted
- if can_be_configured - if can_be_configured
%p.mb-2= _('To help improve GitLab and its user experience, GitLab will periodically collect usage information.') %p.mb-2= _('To help improve GitLab and its user experience, GitLab periodically collects usage information.')
- service_ping_path = help_page_path('user/admin_area/settings/usage_statistics', anchor: 'service-ping') - service_ping_path = help_page_path('development/service_ping/index.md')
- service_ping_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: service_ping_path } - service_ping_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: service_ping_path }
%p.mb-2= s_('%{service_ping_link_start}Learn more%{service_ping_link_end} about what information is shared with GitLab Inc.').html_safe % { service_ping_link_start: service_ping_link_start, service_ping_link_end: '</a>'.html_safe } %p.mb-2= s_('%{service_ping_link_start}What information is shared with GitLab Inc.?%{service_ping_link_end}').html_safe % { service_ping_link_start: service_ping_link_start, service_ping_link_end: '</a>'.html_safe }
%button.gl-button.btn.btn-default.js-payload-preview-trigger{ type: 'button', data: { payload_selector: ".#{payload_class}" } } %button.gl-button.btn.btn-default.js-payload-preview-trigger{ type: 'button', data: { payload_selector: ".#{payload_class}" } }
.gl-spinner.js-spinner.gl-display-none.gl-mr-2 .gl-spinner.js-spinner.gl-display-none.gl-mr-2
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
- if usage_ping_enabled - if usage_ping_enabled
%p.gl-mb-3.text-muted{ id: 'service_ping_features_helper_text' }= _('You can enable Registration Features because Service Ping is enabled. To continue using Registration Features in the future, you will also need to register with GitLab via a new cloud licensing service.') %p.gl-mb-3.text-muted{ id: 'service_ping_features_helper_text' }= _('You can enable Registration Features because Service Ping is enabled. To continue using Registration Features in the future, you will also need to register with GitLab via a new cloud licensing service.')
- else - else
%p.gl-mb-3.text-muted{ id: 'service_ping_features_helper_text' }= _('To enable Registration Features, make sure "Enable service ping" is checked.') %p.gl-mb-3.text-muted{ id: 'service_ping_features_helper_text' }= _('To enable Registration Features, first enable Service Ping.')
%p.gl-mb-3.text-muted= _('Registration Features include:') %p.gl-mb-3.text-muted= _('Registration Features include:')
.form-text .form-text
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
%li %li
= _('Email from GitLab - email users right from the Admin Area. %{link_start}Learn more%{link_end}.').html_safe % { link_start: email_from_gitlab_link, link_end: link_end } = _('Email from GitLab - email users right from the Admin Area. %{link_start}Learn more%{link_end}.').html_safe % { link_start: email_from_gitlab_link, link_end: link_end }
%li %li
= _('Limit project size at a global, group and project level. %{link_start}Learn more%{link_end}.').html_safe % { link_start: repo_size_limit_link, link_end: link_end } = _('Limit project size at a global, group, and project level. %{link_start}Learn more%{link_end}.').html_safe % { link_start: repo_size_limit_link, link_end: link_end }
%li %li
= _('Restrict group access by IP address. %{link_start}Learn more%{link_end}.').html_safe % { link_start: restrict_ip_link, link_end: link_end } = _('Restrict group access by IP address. %{link_start}Learn more%{link_end}.').html_safe % { link_start: restrict_ip_link, link_end: link_end }
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand') = expanded_by_default? ? _('Collapse') : _('Expand')
%p %p
= _('Enable or disable version check and service ping.') = _('Enable or disable version check and Service Ping.')
.settings-content .settings-content
= render 'usage' = render 'usage'
......
...@@ -110,7 +110,7 @@ To disable Service Ping in the GitLab UI: ...@@ -110,7 +110,7 @@ To disable Service Ping in the GitLab UI:
1. On the top bar, select **Menu > Admin**. 1. On the top bar, select **Menu > Admin**.
1. On the left sidebar, select **Settings > Metrics and profiling**. 1. On the left sidebar, select **Settings > Metrics and profiling**.
1. Expand the **Usage statistics** section. 1. Expand the **Usage statistics** section.
1. Clear the **Enable service ping** checkbox. 1. Clear the **Enable Service Ping** checkbox.
1. Select **Save changes**. 1. Select **Save changes**.
### Disable Service Ping using the configuration file ### Disable Service Ping using the configuration file
...@@ -554,5 +554,5 @@ To work around this bug, you have two options: ...@@ -554,5 +554,5 @@ To work around this bug, you have two options:
1. In GitLab, on the top bar, select **Menu > Admin**. 1. In GitLab, on the top bar, select **Menu > Admin**.
1. On the left sidebar, select **Settings > Metrics and profiling**. 1. On the left sidebar, select **Settings > Metrics and profiling**.
1. Expand **Usage Statistics**. 1. Expand **Usage Statistics**.
1. Clear the **Enable service ping** checkbox. 1. Clear the **Enable Service Ping** checkbox.
1. Select **Save Changes**. 1. Select **Save Changes**.
...@@ -76,7 +76,7 @@ To enable or disable Service Ping and version check: ...@@ -76,7 +76,7 @@ To enable or disable Service Ping and version check:
1. On the top bar, select **Menu > Admin**. 1. On the top bar, select **Menu > Admin**.
1. On the left sidebar, select **Settings > Metrics and profiling**. 1. On the left sidebar, select **Settings > Metrics and profiling**.
1. Expand **Usage statistics**. 1. Expand **Usage statistics**.
1. Select or clear the **Enable version check** and **Enable service ping** checkboxes. 1. Select or clear the **Enable version check** and **Enable Service Ping** checkboxes.
1. Select **Save changes**. 1. Select **Save changes**.
<!-- ## Troubleshooting <!-- ## Troubleshooting
......
...@@ -715,15 +715,15 @@ msgstr "" ...@@ -715,15 +715,15 @@ msgstr ""
msgid "%{link_start}Learn more%{link_end} about roles." msgid "%{link_start}Learn more%{link_end} about roles."
msgstr "" msgstr ""
msgid "%{link_start}Learn more%{link_end} about what information is shared with GitLab Inc."
msgstr ""
msgid "%{link_start}Remove the %{draft_snippet} prefix%{link_end} from the title to allow this merge request to be merged when it's ready." msgid "%{link_start}Remove the %{draft_snippet} prefix%{link_end} from the title to allow this merge request to be merged when it's ready."
msgstr "" msgstr ""
msgid "%{link_start}Start the title with %{draft_snippet}%{link_end} to prevent a merge request that is a work in progress from being merged before it's ready." msgid "%{link_start}Start the title with %{draft_snippet}%{link_end} to prevent a merge request that is a work in progress from being merged before it's ready."
msgstr "" msgstr ""
msgid "%{link_start}What information does GitLab Inc. collect?%{link_end}"
msgstr ""
msgid "%{listToShow}, and %{awardsListLength} more" msgid "%{listToShow}, and %{awardsListLength} more"
msgstr "" msgstr ""
...@@ -876,7 +876,7 @@ msgid_plural "%{securityScanner} results are not available because a pipeline ha ...@@ -876,7 +876,7 @@ msgid_plural "%{securityScanner} results are not available because a pipeline ha
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "%{service_ping_link_start}Learn more%{service_ping_link_end} about what information is shared with GitLab Inc." msgid "%{service_ping_link_start}What information is shared with GitLab Inc.?%{service_ping_link_end}"
msgstr "" msgstr ""
msgid "%{size} %{unit}" msgid "%{size} %{unit}"
...@@ -12592,6 +12592,9 @@ msgstr "" ...@@ -12592,6 +12592,9 @@ msgstr ""
msgid "Enable SSL verification" msgid "Enable SSL verification"
msgstr "" msgstr ""
msgid "Enable Service Ping"
msgstr ""
msgid "Enable Snowplow tracking" msgid "Enable Snowplow tracking"
msgstr "" msgstr ""
...@@ -12685,7 +12688,7 @@ msgstr "" ...@@ -12685,7 +12688,7 @@ msgstr ""
msgid "Enable or disable the Pseudonymizer data collection." msgid "Enable or disable the Pseudonymizer data collection."
msgstr "" msgstr ""
msgid "Enable or disable version check and service ping." msgid "Enable or disable version check and Service Ping."
msgstr "" msgstr ""
msgid "Enable protected paths rate limit" msgid "Enable protected paths rate limit"
...@@ -12703,9 +12706,6 @@ msgstr "" ...@@ -12703,9 +12706,6 @@ msgstr ""
msgid "Enable repository checks" msgid "Enable repository checks"
msgstr "" msgstr ""
msgid "Enable service ping"
msgstr ""
msgid "Enable shared runners for all projects and subgroups in this group." msgid "Enable shared runners for all projects and subgroups in this group."
msgstr "" msgstr ""
...@@ -15526,6 +15526,9 @@ msgstr "" ...@@ -15526,6 +15526,9 @@ msgstr ""
msgid "GitLab group: %{source_link}" msgid "GitLab group: %{source_link}"
msgstr "" msgstr ""
msgid "GitLab informs you if a new version is available."
msgstr ""
msgid "GitLab is a complete DevOps platform, delivered as a single application, fundamentally changing the way Development, Security, and Ops teams collaborate" msgid "GitLab is a complete DevOps platform, delivered as a single application, fundamentally changing the way Development, Security, and Ops teams collaborate"
msgstr "" msgstr ""
...@@ -15568,9 +15571,6 @@ msgstr "" ...@@ -15568,9 +15571,6 @@ msgstr ""
msgid "GitLab version" msgid "GitLab version"
msgstr "" msgstr ""
msgid "GitLab will inform you if a new version is available."
msgstr ""
msgid "GitLab will run a background job that will produce pseudonymized CSVs of the GitLab database that will be uploaded to your configured object storage directory." msgid "GitLab will run a background job that will produce pseudonymized CSVs of the GitLab database that will be uploaded to your configured object storage directory."
msgstr "" msgstr ""
...@@ -20415,7 +20415,7 @@ msgstr "" ...@@ -20415,7 +20415,7 @@ msgstr ""
msgid "Limit namespaces and projects that can be indexed" msgid "Limit namespaces and projects that can be indexed"
msgstr "" msgstr ""
msgid "Limit project size at a global, group and project level. %{link_start}Learn more%{link_end}." msgid "Limit project size at a global, group, and project level. %{link_start}Learn more%{link_end}."
msgstr "" msgstr ""
msgid "Limit sign in from multiple IP addresses" msgid "Limit sign in from multiple IP addresses"
...@@ -35478,7 +35478,7 @@ msgstr "" ...@@ -35478,7 +35478,7 @@ msgstr ""
msgid "To define internal users, first enable new users set to external" msgid "To define internal users, first enable new users set to external"
msgstr "" msgstr ""
msgid "To enable Registration Features, make sure \"Enable service ping\" is checked." msgid "To enable Registration Features, first enable Service Ping."
msgstr "" msgstr ""
msgid "To ensure no loss of personal content, this account should only be used for matters related to %{group_name}." msgid "To ensure no loss of personal content, this account should only be used for matters related to %{group_name}."
...@@ -35505,7 +35505,7 @@ msgstr "" ...@@ -35505,7 +35505,7 @@ msgstr ""
msgid "To get started, use the link below to confirm your account." msgid "To get started, use the link below to confirm your account."
msgstr "" msgstr ""
msgid "To help improve GitLab and its user experience, GitLab will periodically collect usage information." msgid "To help improve GitLab and its user experience, GitLab periodically collects usage information."
msgstr "" msgstr ""
msgid "To help improve GitLab, we would like to periodically %{docs_link}. This can be changed at any time in %{settings_link}." msgid "To help improve GitLab, we would like to periodically %{docs_link}. This can be changed at any time in %{settings_link}."
......
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