Skip to content

Commit

Permalink
Fix copy on button to clear the selected background image (#23546)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbauer85 authored Jan 2, 2025
1 parent 012bd07 commit 04a9c67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ha-picture-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class HaPictureUpload extends LitElement {
<ha-button
@click=${this._handleChangeClick}
.label=${this.hass.localize(
"ui.components.picture-upload.change_picture"
"ui.components.picture-upload.clear_picture"
)}
>
</ha-button>
Expand Down
2 changes: 1 addition & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@
},
"picture-upload": {
"label": "Add picture",
"change_picture": "Change picture",
"clear_picture": "Clear picture",
"current_image_alt": "Current picture",
"supported_formats": "Supports JPEG, PNG, or GIF image.",
"unsupported_format": "Unsupported format, please choose a JPEG, PNG, or GIF image.",
Expand Down

0 comments on commit 04a9c67

Please sign in to comment.