diff --git a/src/Umbraco.Web.UI.Client/.github/localization_overview.md b/src/Umbraco.Web.UI.Client/.github/localization_overview.md index d4c10efbc2..c2dd2453ae 100644 --- a/src/Umbraco.Web.UI.Client/.github/localization_overview.md +++ b/src/Umbraco.Web.UI.Client/.github/localization_overview.md @@ -62,7 +62,7 @@ Before you start: - [ ] Published Status - [ ] Health Check - [x] Profiling - - [ ] Telemetry Data + - [x] Telemetry Data - [ ] Document Type - [ ] Section: Design - [ ] Section: Structure diff --git a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/telemetry/dashboard-telemetry.element.ts b/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/telemetry/dashboard-telemetry.element.ts index 57afcabb6b..2275ee1d17 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/telemetry/dashboard-telemetry.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/settings/dashboards/telemetry/dashboard-telemetry.element.ts @@ -46,7 +46,7 @@ export class UmbDashboardTelemetryElement extends UmbLitElement { this, TelemetryResource.postTelemetryLevel({ requestBody: { telemetryLevel: this._telemetryFormData }, - }) + }), ); if (error) { @@ -75,19 +75,11 @@ export class UmbDashboardTelemetryElement extends UmbLitElement { private get _selectedTelemetryDescription() { switch (this._selectedTelemetry.telemetryLevel) { case TelemetryLevelModel.MINIMAL: - return 'We will only send an anonymized site ID to let us know that the site exists.'; + return this.localize.term('analytics_minimalLevelDescription'); case TelemetryLevelModel.BASIC: - return 'We will send an anonymized site ID, Umbraco version, and packages installed.'; + return this.localize.term('analytics_basicLevelDescription'); case TelemetryLevelModel.DETAILED: - return `We will send: - - We might change what we send on the Detailed level in the future. If so, it will be listed above. - By choosing "Detailed" you agree to current and future anonymized information being collected.`; + return this.localize.term('analytics_detailedLevelDescription'); default: return 'Could not find description for this setting'; } @@ -100,7 +92,7 @@ export class UmbDashboardTelemetryElement extends UmbLitElement { -

Consent for telemetry data

+

-

- In order to improve Umbraco and add new functionality based on as relevant information as possible, we would - like to collect system- and usage information from your installation. Aggregate data will be shared on a - regular basis as well as learnings from these metrics. Hopefully, you will help us collect some valuable - data. -

- We WILL NOT collect any personal data such as content, code, user information, and all data - will be fully anonymized. -

+ ${this._renderSettingSlider()} - Save - + .state=${this._buttonState}>
${this._errorMessage ? html`

${this._errorMessage}

` : ''}