@umbraco-cms/backoffice 14.0.0--preview004-3925d015 → 14.0.0--preview004-fe149e14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -51,19 +51,11 @@ export let UmbDashboardTelemetryElement = class UmbDashboardTelemetryElement ext
|
|
|
51
51
|
get _selectedTelemetryDescription() {
|
|
52
52
|
switch (this._selectedTelemetry.telemetryLevel) {
|
|
53
53
|
case TelemetryLevelModel.MINIMAL:
|
|
54
|
-
return
|
|
54
|
+
return this.localize.term('analytics_minimalLevelDescription');
|
|
55
55
|
case TelemetryLevelModel.BASIC:
|
|
56
|
-
return
|
|
56
|
+
return this.localize.term('analytics_basicLevelDescription');
|
|
57
57
|
case TelemetryLevelModel.DETAILED:
|
|
58
|
-
return
|
|
59
|
-
<li>Anonymized site ID, Umbraco version, and packages installed.</li>
|
|
60
|
-
<li>Number of: Root nodes, Content nodes, Macros, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, and Property Editors in use.</li>
|
|
61
|
-
<li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>
|
|
62
|
-
<li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, and if you are in debug mode.</li>
|
|
63
|
-
</ul>
|
|
64
|
-
|
|
65
|
-
<i>We might change what we send on the Detailed level in the future. If so, it will be listed above.
|
|
66
|
-
By choosing "Detailed" you agree to current and future anonymized information being collected.</i>`;
|
|
58
|
+
return this.localize.term('analytics_detailedLevelDescription');
|
|
67
59
|
default:
|
|
68
60
|
return 'Could not find description for this setting';
|
|
69
61
|
}
|
|
@@ -75,7 +67,7 @@ export let UmbDashboardTelemetryElement = class UmbDashboardTelemetryElement ext
|
|
|
75
67
|
<uui-slider
|
|
76
68
|
@input=${this._handleChange}
|
|
77
69
|
name="telemetryLevel"
|
|
78
|
-
label
|
|
70
|
+
label=${this.localize.term('analytics_consentForAnalytics')}
|
|
79
71
|
value=${this._selectedTelemetryIndex + 1}
|
|
80
72
|
min="1"
|
|
81
73
|
max=${this._telemetryLevels.length}
|
|
@@ -87,26 +79,16 @@ export let UmbDashboardTelemetryElement = class UmbDashboardTelemetryElement ext
|
|
|
87
79
|
render() {
|
|
88
80
|
return html `
|
|
89
81
|
<uui-box class="uui-text">
|
|
90
|
-
<h1 class="uui-h2">Consent for telemetry data</h1>
|
|
82
|
+
<h1 class="uui-h2"><umb-localize key="analytics_consentForAnalytics">Consent for telemetry data</umb-localize></h1>
|
|
91
83
|
<div style="max-width:75ch">
|
|
92
|
-
<
|
|
93
|
-
In order to improve Umbraco and add new functionality based on as relevant information as possible, we would
|
|
94
|
-
like to collect system- and usage information from your installation. Aggregate data will be shared on a
|
|
95
|
-
regular basis as well as learnings from these metrics. Hopefully, you will help us collect some valuable
|
|
96
|
-
data.
|
|
97
|
-
<br /><br />
|
|
98
|
-
We <strong>WILL NOT</strong> collect any personal data such as content, code, user information, and all data
|
|
99
|
-
will be fully anonymized.
|
|
100
|
-
</p>
|
|
84
|
+
<umb-localize key="analytics_analyticsDescription"></umb-localize>
|
|
101
85
|
${this._renderSettingSlider()}
|
|
102
86
|
<uui-button
|
|
103
87
|
look="primary"
|
|
104
88
|
color="positive"
|
|
105
|
-
label
|
|
89
|
+
label=${this.localize.term('buttons_save')}
|
|
106
90
|
@click="${this._handleSubmit}"
|
|
107
|
-
.state=${this._buttonState}>
|
|
108
|
-
Save
|
|
109
|
-
</uui-button>
|
|
91
|
+
.state=${this._buttonState}></uui-button>
|
|
110
92
|
</div>
|
|
111
93
|
${this._errorMessage ? html `<p class="error">${this._errorMessage}</p>` : ''}
|
|
112
94
|
</uui-box>
|