Skip to content

Commit

Permalink
Fix download note (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Feb 5, 2022
1 parent 0d9c7ce commit 5abf0d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/components/dialogs/hacs-download-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,9 @@ export class HacsDonwloadDialog extends HacsDialogBase {
</ha-alert>`
: ""}
<div class="note">
${this.hacs.localize(`repository.note_downloaded`)}
<code>'${installPath}'</code>
${this.hacs.localize("dialog_download.note_downloaded", {
location: html`<code>'${installPath}'</code>`,
})}
${this._repository.category === "plugin" && this.hacs.status.lovelace_mode !== "storage"
? html`
<p>${this.hacs.localize(`repository.lovelace_instruction`)}</p>
Expand Down
3 changes: 2 additions & 1 deletion src/localize/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"url": "URL",
"select_version": "Select version",
"show_beta": "Show beta versions",
"restart": "Remember that you need to restart Home Assistant before changes to integrations (custom_components) are applied."
"restart": "Remember that you need to restart Home Assistant before changes to integrations (custom_components) are applied.",
"note_downloaded": "When downloaded this will be located in {location}"
},
"dialog_info": {
"version_installed": "Version downloaded",
Expand Down

0 comments on commit 5abf0d2

Please sign in to comment.