mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Revert "Use correct suffix for elevation" (#5382)
This reverts commit b15270dfe28216e01639e8febd6e0840fd5d5fee.
This commit is contained in:
parent
5f467f82e0
commit
2439827eff
@ -116,13 +116,9 @@ class OnboardingCoreConfig extends LitElement {
|
|||||||
@value-changed=${this._handleChange}
|
@value-changed=${this._handleChange}
|
||||||
>
|
>
|
||||||
<span slot="suffix">
|
<span slot="suffix">
|
||||||
${this._unitSystem === "metric"
|
${this.hass.localize(
|
||||||
? this.hass.localize(
|
"ui.panel.config.core.section.core.core_config.elevation_meters"
|
||||||
"ui.panel.config.core.section.core.core_config.elevation_meters"
|
)}
|
||||||
)
|
|
||||||
: this.hass.localize(
|
|
||||||
"ui.panel.config.core.section.core.core_config.elevation_feet"
|
|
||||||
)}
|
|
||||||
</span>
|
</span>
|
||||||
</paper-input>
|
</paper-input>
|
||||||
</div>
|
</div>
|
||||||
|
@ -102,13 +102,9 @@ class ConfigCoreForm extends LitElement {
|
|||||||
@value-changed=${this._handleChange}
|
@value-changed=${this._handleChange}
|
||||||
>
|
>
|
||||||
<span slot="suffix">
|
<span slot="suffix">
|
||||||
${this._unitSystem === "metric"
|
${this.hass.localize(
|
||||||
? this.hass.localize(
|
"ui.panel.config.core.section.core.core_config.elevation_meters"
|
||||||
"ui.panel.config.core.section.core.core_config.elevation_meters"
|
)}
|
||||||
)
|
|
||||||
: this.hass.localize(
|
|
||||||
"ui.panel.config.core.section.core.core_config.elevation_feet"
|
|
||||||
)}
|
|
||||||
</span>
|
</span>
|
||||||
</paper-input>
|
</paper-input>
|
||||||
</div>
|
</div>
|
||||||
|
@ -847,7 +847,6 @@
|
|||||||
"longitude": "Longitude",
|
"longitude": "Longitude",
|
||||||
"elevation": "Elevation",
|
"elevation": "Elevation",
|
||||||
"elevation_meters": "meters",
|
"elevation_meters": "meters",
|
||||||
"elevation_feet": "feet",
|
|
||||||
"time_zone": "Time Zone",
|
"time_zone": "Time Zone",
|
||||||
"unit_system": "Unit System",
|
"unit_system": "Unit System",
|
||||||
"unit_system_imperial": "Imperial",
|
"unit_system_imperial": "Imperial",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user