Fix lokalization of MQTT config entry panel re-configure button and title (#14915)

This commit is contained in:
Jan Bouwhuis 2023-01-04 11:30:15 +01:00 committed by GitHub
parent 9750e0e0b5
commit dd109b0054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -40,10 +40,14 @@ class HaPanelDevMqtt extends LitElement {
return html`
<hass-subpage .narrow=${this.narrow} .hass=${this.hass}>
<div class="content">
<ha-card header="MQTT settings">
<ha-card
.header=${this.hass.localize("ui.panel.config.mqtt.settings_title")}
>
<div class="card-actions">
<mwc-button @click=${this._openOptionFlow}
>Re-configure MQTT</mwc-button
>${this.hass.localize(
"ui.panel.config.mqtt.reconfigure"
)}</mwc-button
>
</div>
</ha-card>

View File

@ -3245,6 +3245,8 @@
},
"mqtt": {
"title": "MQTT",
"settings_title": "MQTT settings",
"reconfigure": "Re-configure MQTT",
"description_publish": "Publish a packet",
"topic": "Topic",
"payload": "Payload (template allowed)",