Fix copy on button to clear the selected background image (#23546)

This commit is contained in:
Marcin 2025-01-02 13:44:34 +01:00 committed by Bram Kragten
parent 486038c426
commit 2206644c47
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ export class HaPictureUpload extends LitElement {
<ha-button <ha-button
@click=${this._handleChangeClick} @click=${this._handleChangeClick}
.label=${this.hass.localize( .label=${this.hass.localize(
"ui.components.picture-upload.change_picture" "ui.components.picture-upload.clear_picture"
)} )}
> >
</ha-button> </ha-button>

View File

@ -756,7 +756,7 @@
}, },
"picture-upload": { "picture-upload": {
"label": "Add picture", "label": "Add picture",
"change_picture": "Change picture", "clear_picture": "Clear picture",
"current_image_alt": "Current picture", "current_image_alt": "Current picture",
"supported_formats": "Supports JPEG, PNG, or GIF image.", "supported_formats": "Supports JPEG, PNG, or GIF image.",
"unsupported_format": "Unsupported format, please choose a JPEG, PNG, or GIF image.", "unsupported_format": "Unsupported format, please choose a JPEG, PNG, or GIF image.",