From e477fd567d031d613df33e0cbe4567e5827f64a8 Mon Sep 17 00:00:00 2001 From: Marc Randolph Date: Tue, 29 Dec 2020 15:38:31 -0600 Subject: [PATCH] Button text is swapped on Lovelace raw YAML exit window (#8038) Button text is swapped compared to the same thing elsewhere: https://github.com/home-assistant/frontend/blob/d23165d06ae57cddef2529481d1c4d857f3e20b6/src/panels/lovelace/editor/card-editor/hui-dialog-edit-card.ts#L311 --- src/panels/lovelace/hui-editor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels/lovelace/hui-editor.ts b/src/panels/lovelace/hui-editor.ts index 24909716a7..cadee1956c 100644 --- a/src/panels/lovelace/hui-editor.ts +++ b/src/panels/lovelace/hui-editor.ts @@ -173,8 +173,8 @@ class LovelaceFullConfigEditor extends LitElement { text: this.hass.localize( "ui.panel.lovelace.editor.raw_editor.confirm_unsaved_changes" ), - dismissText: this.hass!.localize("ui.common.leave"), - confirmText: this.hass!.localize("ui.common.stay"), + dismissText: this.hass!.localize("ui.common.stay"), + confirmText: this.hass!.localize("ui.common.leave"), })) ) { return;