@@ -29,7 +29,7 @@ import {
2929 EuiSpacer ,
3030 EuiText ,
3131} from '@elastic/eui' ;
32- import { getConfigTelemetryDesc , PRIVACY_STATEMENT_URL } from '../../common/constants' ;
32+ import { PRIVACY_STATEMENT_URL } from '../../common/constants' ;
3333import { OptInExampleFlyout } from './opt_in_details_component' ;
3434import { Field } from 'ui/management' ;
3535import { FormattedMessage } from '@kbn/i18n/react' ;
@@ -162,7 +162,23 @@ export class TelemetryForm extends Component {
162162
163163 renderDescription = ( ) => (
164164 < Fragment >
165- < p > { getConfigTelemetryDesc ( ) } </ p >
165+ < p >
166+ < FormattedMessage
167+ id = "telemetry.telemetryConfigAndLinkDescription"
168+ defaultMessage = "Enabling data usage collection helps us manage and improve our products and services.
169+ See our {privacyStatementLink} for more details."
170+ values = { {
171+ privacyStatementLink : (
172+ < EuiLink href = { PRIVACY_STATEMENT_URL } target = "_blank" >
173+ < FormattedMessage
174+ id = "telemetry.readOurUsageDataPrivacyStatementLinkText"
175+ defaultMessage = "Privacy Statement"
176+ />
177+ </ EuiLink >
178+ )
179+ } }
180+ />
181+ </ p >
166182 < p >
167183 < EuiLink onClick = { this . toggleExample } >
168184 < FormattedMessage
@@ -171,14 +187,6 @@ export class TelemetryForm extends Component {
171187 />
172188 </ EuiLink >
173189 </ p >
174- < p >
175- < EuiLink href = { PRIVACY_STATEMENT_URL } target = "_blank" >
176- < FormattedMessage
177- id = "telemetry.readOurUsageDataPrivacyStatementLinkText"
178- defaultMessage = "Read our usage data privacy statement"
179- />
180- </ EuiLink >
181- </ p >
182190 </ Fragment >
183191 )
184192
0 commit comments