Skip to content

Commit

Permalink
Replace "Add" button with "Create" in Create floor / area dialogs (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
NoRi2909 authored Dec 23, 2024
1 parent 061b6af commit 0e61596
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/panels/config/areas/dialog-area-registry-detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class DialogAreaDetail extends LitElement {
>
${entry
? this.hass.localize("ui.common.save")
: this.hass.localize("ui.common.add")}
: this.hass.localize("ui.common.create")}
</mwc-button>
</ha-dialog>
`;
Expand Down
2 changes: 1 addition & 1 deletion src/panels/config/areas/dialog-floor-registry-detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class DialogFloorDetail extends LitElement {
>
${entry
? this.hass.localize("ui.common.save")
: this.hass.localize("ui.common.add")}
: this.hass.localize("ui.common.create")}
</mwc-button>
</ha-dialog>
`;
Expand Down
3 changes: 2 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@
"move": "Move",
"save": "Save",
"add": "Add",
"create": "Create",
"edit": "Edit",
"submit": "Submit",
"rename": "Rename",
Expand Down Expand Up @@ -2159,7 +2160,7 @@
"edit_floor": "Edit floor",
"delete_floor": "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": {
Expand Down

0 comments on commit 0e61596

Please sign in to comment.