Skip to content

Commit

Permalink
Minor fixes for backup translations (#23691)
Browse files Browse the repository at this point in the history
  • Loading branch information
silamon authored Jan 12, 2025
1 parent f1cc02b commit de027b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class HaBackupConfigData extends LitElement {
</span>
<span slot="supporting-text">
${this.hass.localize(
"ui.panel.config.backup.data.history_description"
"ui.panel.config.backup.data.media_description"
)}
</span>
<ha-switch
Expand Down
4 changes: 3 additions & 1 deletion src/panels/config/backup/dialogs/dialog-upload-backup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ export class DialogUploadBackup
></ha-file-upload>
</div>
<div slot="actions">
<ha-button @click=${this.closeDialog}>Cancel</ha-button>
<ha-button @click=${this.closeDialog}
>${this.hass.localize("ui.common.cancel")}</ha-button
>
<ha-button @click=${this._upload} .disabled=${!this._formValid()}>
${this.hass.localize(
"ui.panel.config.backup.dialogs.upload.action"
Expand Down
2 changes: 1 addition & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2609,7 +2609,7 @@
"protected_not_encrypted": "Not encrypted"
},
"restore": {
"title": "Selected what to restore",
"title": "Select what to restore",
"action": "Restore"
},
"locations": {
Expand Down

0 comments on commit de027b6

Please sign in to comment.