Replace "Add" button with "Create" in Create floor / area dialogs (#23395)

This commit is contained in:
Norbert Rittel 2024-12-23 14:25:14 +01:00 committed by GitHub
parent 061b6af812
commit 0e61596f5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -173,7 +173,7 @@ class DialogAreaDetail extends LitElement {
> >
${entry ${entry
? this.hass.localize("ui.common.save") ? this.hass.localize("ui.common.save")
: this.hass.localize("ui.common.add")} : this.hass.localize("ui.common.create")}
</mwc-button> </mwc-button>
</ha-dialog> </ha-dialog>
`; `;

View File

@ -237,7 +237,7 @@ class DialogFloorDetail extends LitElement {
> >
${entry ${entry
? this.hass.localize("ui.common.save") ? this.hass.localize("ui.common.save")
: this.hass.localize("ui.common.add")} : this.hass.localize("ui.common.create")}
</mwc-button> </mwc-button>
</ha-dialog> </ha-dialog>
`; `;

View File

@ -348,6 +348,7 @@
"move": "Move", "move": "Move",
"save": "Save", "save": "Save",
"add": "Add", "add": "Add",
"create": "Create",
"edit": "Edit", "edit": "Edit",
"submit": "Submit", "submit": "Submit",
"rename": "Rename", "rename": "Rename",
@ -2159,7 +2160,7 @@
"edit_floor": "Edit floor", "edit_floor": "Edit floor",
"delete_floor": "Delete floor", "delete_floor": "Delete floor",
"confirm_delete": "Delete floor?", "confirm_delete": "Delete floor?",
"confirm_delete_text": "Removing the floor will unassign all areas from it." "confirm_delete_text": "Deleting the floor will unassign all areas from it."
} }
}, },
"editor": { "editor": {