mirror of
https://github.com/esphome/esp-web-tools.git
synced 2025-07-28 14:16:41 +00:00
Update text: reset data -> erase user data (#171)
This commit is contained in:
parent
27379335b8
commit
e33a975147
@ -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>
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user