Revert "Use correct suffix for elevation" (#5382)
This reverts commit b15270dfe2.
This commit is contained in:
@@ -116,12 +116,8 @@ 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>
|
||||||
|
|||||||
@@ -102,12 +102,8 @@ 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>
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user