mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Fix localization Solar total
in Enery dashboard (#14841)
Co-authored-by: Bram Kragten <mail@bramkragten.nl> fixes undefined
This commit is contained in:
parent
36e99c3c0f
commit
4919341871
@ -279,7 +279,9 @@ export class HuiEnergySourcesTableCard
|
|||||||
? html`<tr class="mdc-data-table__row total">
|
? html`<tr class="mdc-data-table__row total">
|
||||||
<td class="mdc-data-table__cell"></td>
|
<td class="mdc-data-table__cell"></td>
|
||||||
<th class="mdc-data-table__cell" scope="row">
|
<th class="mdc-data-table__cell" scope="row">
|
||||||
Solar total
|
${this.hass.localize(
|
||||||
|
"ui.panel.lovelace.cards.energy.energy_sources_table.solar_total"
|
||||||
|
)}
|
||||||
</th>
|
</th>
|
||||||
${compare
|
${compare
|
||||||
? html`<td
|
? html`<td
|
||||||
|
@ -3808,6 +3808,7 @@
|
|||||||
"energy_sources_table": {
|
"energy_sources_table": {
|
||||||
"grid_total": "Grid total",
|
"grid_total": "Grid total",
|
||||||
"gas_total": "Gas total",
|
"gas_total": "Gas total",
|
||||||
|
"solar_total": "Solar total",
|
||||||
"water_total": "Water total",
|
"water_total": "Water total",
|
||||||
"source": "Source",
|
"source": "Source",
|
||||||
"energy": "Energy",
|
"energy": "Energy",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user