mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix lokalization of MQTT config entry panel re-configure button and title (#14915)
This commit is contained in:
parent
9750e0e0b5
commit
dd109b0054
@ -40,10 +40,14 @@ class HaPanelDevMqtt extends LitElement {
|
|||||||
return html`
|
return html`
|
||||||
<hass-subpage .narrow=${this.narrow} .hass=${this.hass}>
|
<hass-subpage .narrow=${this.narrow} .hass=${this.hass}>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<ha-card header="MQTT settings">
|
<ha-card
|
||||||
|
.header=${this.hass.localize("ui.panel.config.mqtt.settings_title")}
|
||||||
|
>
|
||||||
<div class="card-actions">
|
<div class="card-actions">
|
||||||
<mwc-button @click=${this._openOptionFlow}
|
<mwc-button @click=${this._openOptionFlow}
|
||||||
>Re-configure MQTT</mwc-button
|
>${this.hass.localize(
|
||||||
|
"ui.panel.config.mqtt.reconfigure"
|
||||||
|
)}</mwc-button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
|
@ -3245,6 +3245,8 @@
|
|||||||
},
|
},
|
||||||
"mqtt": {
|
"mqtt": {
|
||||||
"title": "MQTT",
|
"title": "MQTT",
|
||||||
|
"settings_title": "MQTT settings",
|
||||||
|
"reconfigure": "Re-configure MQTT",
|
||||||
"description_publish": "Publish a packet",
|
"description_publish": "Publish a packet",
|
||||||
"topic": "Topic",
|
"topic": "Topic",
|
||||||
"payload": "Payload (template allowed)",
|
"payload": "Payload (template allowed)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user