Add badge label (#21598)

This commit is contained in:
Simon Lamon 2024-08-06 11:38:08 +02:00 committed by GitHub
parent f096eb2031
commit eeffa3561c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -150,10 +150,10 @@ export class HuiViewBadges extends LitElement {
class="add" class="add"
@click=${this._addBadge} @click=${this._addBadge}
aria-label=${this.hass.localize( aria-label=${this.hass.localize(
"ui.panel.lovelace.editor.section.add_card" "ui.panel.lovelace.editor.section.add_badge"
)} )}
.title=${this.hass.localize( .title=${this.hass.localize(
"ui.panel.lovelace.editor.section.add_card" "ui.panel.lovelace.editor.section.add_badge"
)} )}
> >
<ha-svg-icon .path=${mdiPlus}></ha-svg-icon> <ha-svg-icon .path=${mdiPlus}></ha-svg-icon>

View File

@ -5626,6 +5626,7 @@
}, },
"section": { "section": {
"unnamed_section": "Unnamed section", "unnamed_section": "Unnamed section",
"add_badge": "Add badge",
"add_card": "[%key:ui::panel::lovelace::editor::edit_card::add%]", "add_card": "[%key:ui::panel::lovelace::editor::edit_card::add%]",
"create_section": "Create section" "create_section": "Create section"
}, },