From eeffa3561c2f058416b57c887be1bee859cb623e Mon Sep 17 00:00:00 2001 From: Simon Lamon <32477463+silamon@users.noreply.github.com> Date: Tue, 6 Aug 2024 11:38:08 +0200 Subject: [PATCH] Add badge label (#21598) --- src/panels/lovelace/badges/hui-view-badges.ts | 4 ++-- src/translations/en.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/panels/lovelace/badges/hui-view-badges.ts b/src/panels/lovelace/badges/hui-view-badges.ts index b1736b97dd..5253e16139 100644 --- a/src/panels/lovelace/badges/hui-view-badges.ts +++ b/src/panels/lovelace/badges/hui-view-badges.ts @@ -150,10 +150,10 @@ export class HuiViewBadges extends LitElement { class="add" @click=${this._addBadge} aria-label=${this.hass.localize( - "ui.panel.lovelace.editor.section.add_card" + "ui.panel.lovelace.editor.section.add_badge" )} .title=${this.hass.localize( - "ui.panel.lovelace.editor.section.add_card" + "ui.panel.lovelace.editor.section.add_badge" )} > diff --git a/src/translations/en.json b/src/translations/en.json index f6e588e775..54b7979d1e 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -5626,6 +5626,7 @@ }, "section": { "unnamed_section": "Unnamed section", + "add_badge": "Add badge", "add_card": "[%key:ui::panel::lovelace::editor::edit_card::add%]", "create_section": "Create section" },