mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Replace "Add" button with "Create" in Create floor / area dialogs (#23395)
This commit is contained in:
parent
061b6af812
commit
0e61596f5c
@ -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>
|
||||||
`;
|
`;
|
||||||
|
@ -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>
|
||||||
`;
|
`;
|
||||||
|
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user