mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Use correct suffix for elevation (#4454)
* Use correct suffix for elevation * Use correct suffix for elevation
This commit is contained in:
parent
58ad949bc8
commit
b15270dfe2
@ -116,9 +116,13 @@ class OnboardingCoreConfig extends LitElement {
|
||||
@value-changed=${this._handleChange}
|
||||
>
|
||||
<span slot="suffix">
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.core.section.core.core_config.elevation_meters"
|
||||
)}
|
||||
${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"
|
||||
)}
|
||||
</span>
|
||||
</paper-input>
|
||||
</div>
|
||||
|
@ -102,9 +102,13 @@ class ConfigCoreForm extends LitElement {
|
||||
@value-changed=${this._handleChange}
|
||||
>
|
||||
<span slot="suffix">
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.core.section.core.core_config.elevation_meters"
|
||||
)}
|
||||
${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"
|
||||
)}
|
||||
</span>
|
||||
</paper-input>
|
||||
</div>
|
||||
|
@ -705,6 +705,7 @@
|
||||
"longitude": "Longitude",
|
||||
"elevation": "Elevation",
|
||||
"elevation_meters": "meters",
|
||||
"elevation_feet": "feet",
|
||||
"time_zone": "Time Zone",
|
||||
"unit_system": "Unit System",
|
||||
"unit_system_imperial": "Imperial",
|
||||
|
Loading…
x
Reference in New Issue
Block a user