mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 00:36:34 +00:00
Allow translate gas total (#11547)
This commit is contained in:
parent
0046252e32
commit
8730c122fd
@ -538,7 +538,11 @@ export class HuiEnergySourcesTableCard
|
|||||||
${types.gas
|
${types.gas
|
||||||
? 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">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
|
<td
|
||||||
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
class="mdc-data-table__cell mdc-data-table__cell--numeric"
|
||||||
>
|
>
|
||||||
|
@ -3145,6 +3145,7 @@
|
|||||||
},
|
},
|
||||||
"energy_sources_table": {
|
"energy_sources_table": {
|
||||||
"grid_total": "Grid total",
|
"grid_total": "Grid total",
|
||||||
|
"gas_total": "Gas total",
|
||||||
"source": "Source",
|
"source": "Source",
|
||||||
"energy": "Energy",
|
"energy": "Energy",
|
||||||
"cost": "Cost",
|
"cost": "Cost",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user