Allow translate gas total (#11547)

This commit is contained in:
Bram Kragten 2022-02-04 17:22:37 +01:00 committed by GitHub
parent 0046252e32
commit 8730c122fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -538,7 +538,11 @@ export class HuiEnergySourcesTableCard
${types.gas
? html`<tr class="mdc-data-table__row total">
<td class="mdc-data-table__cell"></td>
<th class="mdc-data-table__cell" scope="row">Gas total</th>
<th class="mdc-data-table__cell" scope="row">
${this.hass.localize(
"ui.panel.lovelace.cards.energy.energy_sources_table.gas_total"
)}
</th>
<td
class="mdc-data-table__cell mdc-data-table__cell--numeric"
>

View File

@ -3145,6 +3145,7 @@
},
"energy_sources_table": {
"grid_total": "Grid total",
"gas_total": "Gas total",
"source": "Source",
"energy": "Energy",
"cost": "Cost",