Energy setup wizard missing localization entries (#11469)

This commit is contained in:
Yosi Levy 2022-01-29 19:57:04 +02:00 committed by GitHub
parent 5caa256f1b
commit cb47ee7721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -51,7 +51,12 @@ export class EnergySetupWizard extends LitElement implements LovelaceCard {
protected render(): TemplateResult {
return html`
<p>Step ${this._step + 1} of 5</p>
<p>
${this.hass.localize("ui.panel.energy.setup.step", {
step: this._step + 1,
steps: 5,
})}
</p>
${this._step === 0
? html`<ha-energy-grid-settings
.hass=${this.hass}

View File

@ -4105,7 +4105,8 @@
"setup": {
"next": "Next",
"back": "Back",
"done": "Show me my energy dashboard!"
"done": "Show me my energy dashboard!",
"step": "Step {step} of {steps}"
},
"charts": {
"stat_house_energy_meter": "Total energy consumption",