Revert "Use correct suffix for elevation" (#5382)

This reverts commit b15270dfe28216e01639e8febd6e0840fd5d5fee.
This commit is contained in:
Bram Kragten 2020-03-31 21:25:48 +02:00 committed by GitHub
parent 5f467f82e0
commit 2439827eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 15 deletions

View File

@ -116,13 +116,9 @@ class OnboardingCoreConfig extends LitElement {
@value-changed=${this._handleChange}
>
<span slot="suffix">
${this._unitSystem === "metric"
? this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_meters"
)
: this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_feet"
)}
${this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_meters"
)}
</span>
</paper-input>
</div>

View File

@ -102,13 +102,9 @@ class ConfigCoreForm extends LitElement {
@value-changed=${this._handleChange}
>
<span slot="suffix">
${this._unitSystem === "metric"
? this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_meters"
)
: this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_feet"
)}
${this.hass.localize(
"ui.panel.config.core.section.core.core_config.elevation_meters"
)}
</span>
</paper-input>
</div>

View File

@ -847,7 +847,6 @@
"longitude": "Longitude",
"elevation": "Elevation",
"elevation_meters": "meters",
"elevation_feet": "feet",
"time_zone": "Time Zone",
"unit_system": "Unit System",
"unit_system_imperial": "Imperial",