- ${this._action === "update" - ? this._dialogParams.supervisor.localize( - "dialog.update.updating", - "name", - this._dialogParams.name, - "version", - this._dialogParams.version - ) - : this._dialogParams.supervisor.localize( - "dialog.update.creating_backup", - "name", - this._dialogParams.name - )} -
`} - ${this._error - ? html`+ ${this.supervisor.localize( + "update_available.description", + { + name, + version: + this._addonInfo?.version || + this.supervisor[this._updateEntry]?.version, + newest_version: + this._addonInfo?.version_latest || + this.supervisor[this._updateEntry]?.version_latest, + } + )} +
+ ${this._updateEntry === "core" + ? html` + + ${this.supervisor.localize( + "update_available.core_note", + { + version: + this._addonInfo?.version || + this.supervisor[this._updateEntry]?.version, + } + )} + + ` + : ""} ++ ${this._action === "update" + ? this.supervisor.localize("update_available.updating", { + name, + version: + this._addonInfo?.version_latest || + this.supervisor[this._updateEntry]?.version_latest, + }) + : this.supervisor.localize( + "update_available.creating_backup", + { name } + )} +
`} +