Update text: reset data -> erase user data (#171)

This commit is contained in:
Paulus Schoutsen 2022-02-03 22:25:49 -08:00 committed by GitHub
parent 27379335b8
commit e33a975147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,7 @@ class EwtInstallDialog extends LitElement {
<div> <div>
<ewt-button <ewt-button
class="danger" class="danger"
label="Reset Data" label="Erase User Data"
@click=${() => this._startInstall(true)} @click=${() => this._startInstall(true)}
></ewt-button> ></ewt-button>
</div> </div>
@ -456,14 +456,14 @@ class EwtInstallDialog extends LitElement {
const isUpdate = !this._installErase && this._isSameFirmware; const isUpdate = !this._installErase && this._isSameFirmware;
if (!this._installConfirmed && this._isSameVersion) { if (!this._installConfirmed && this._isSameVersion) {
heading = "Reset data"; heading = "Erase User Data";
content = html` content = html`
Do you want to reset your device and erase all existing data from your Do you want to reset your device and erase all user data from your
device? device?
<ewt-button <ewt-button
class="danger" class="danger"
slot="primaryAction" slot="primaryAction"
label="Reset data" label="Erase User Data"
@click=${this._confirmInstall} @click=${this._confirmInstall}
></ewt-button> ></ewt-button>
`; `;