Replace add_zone with create_zone in ha-config-zone.ts (#23041)

* Replace add_zone with create_zone in ha-config-zone.ts

The action button is the only inconsistent item here now.

* Remove orphaned "add_zone" string
This commit is contained in:
Norbert Rittel 2024-11-28 13:46:29 +01:00 committed by GitHub
parent 36312cc273
commit de87aee15b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -272,7 +272,7 @@ export class HaConfigZone extends SubscribeMixin(LitElement) {
: ""} : ""}
<ha-fab <ha-fab
slot="fab" slot="fab"
.label=${hass.localize("ui.panel.config.zone.add_zone")} .label=${hass.localize("ui.panel.config.zone.create_zone")}
extended extended
@click=${this._createZone} @click=${this._createZone}
> >

View File

@ -4351,7 +4351,6 @@
"introduction": "Zones allow you to specify certain regions on Earth. When a person is within a zone, the state will take the name from the zone. Zones can also be used as a trigger or condition inside automation setups.", "introduction": "Zones allow you to specify certain regions on Earth. When a person is within a zone, the state will take the name from the zone. Zones can also be used as a trigger or condition inside automation setups.",
"no_zones_created_yet": "Looks like you have not created any zones yet.", "no_zones_created_yet": "Looks like you have not created any zones yet.",
"create_zone": "Create zone", "create_zone": "Create zone",
"add_zone": "Add zone",
"edit_zone": "Edit zone", "edit_zone": "Edit zone",
"edit_home": "Edit home", "edit_home": "Edit home",
"confirm_delete": "Are you sure you want to delete this zone?", "confirm_delete": "Are you sure you want to delete this zone?",