From deb179ad38b69279e7a52e11b0718bc9ba983c51 Mon Sep 17 00:00:00 2001 From: Maciej Bieniek Date: Mon, 25 May 2020 14:50:58 +0200 Subject: [PATCH] Add translation to the back button on the helpers page (#5999) --- src/panels/config/helpers/dialog-helper-detail.ts | 2 +- src/translations/en.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/panels/config/helpers/dialog-helper-detail.ts b/src/panels/config/helpers/dialog-helper-detail.ts index f52d5c5178..b22ca67e77 100644 --- a/src/panels/config/helpers/dialog-helper-detail.ts +++ b/src/panels/config/helpers/dialog-helper-detail.ts @@ -108,7 +108,7 @@ export class DialogHelperDetail extends LitElement { @click="${this._goBack}" .disabled=${this._submitting} > - Back + ${this.hass!.localize("ui.common.back")} ` : html` diff --git a/src/translations/en.json b/src/translations/en.json index 8817ecd26f..b05c162ca2 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -244,7 +244,8 @@ "yes": "Yes", "no": "No", "successfully_saved": "Successfully saved", - "successfully_deleted": "Successfully deleted" + "successfully_deleted": "Successfully deleted", + "back": "Back" }, "components": { "entity": {