mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 04:46:34 +00:00
Remove non fixable from repair dialog (#13292)
This commit is contained in:
parent
0769b14566
commit
a379d29a6c
@ -54,24 +54,16 @@ class DialogRepairsIssue extends LitElement {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<ha-alert
|
|
||||||
.alertType=${this._issue.severity === "error" ||
|
|
||||||
this._issue.severity === "critical"
|
|
||||||
? "error"
|
|
||||||
: "warning"}
|
|
||||||
.title=${this.hass.localize(
|
|
||||||
`ui.panel.config.repairs.${this._issue.severity}`
|
|
||||||
)}
|
|
||||||
>${this.hass.localize(
|
|
||||||
"ui.panel.config.repairs.dialog.alert_not_fixable"
|
|
||||||
)}
|
|
||||||
${this._issue.breaks_in_ha_version
|
${this._issue.breaks_in_ha_version
|
||||||
? this.hass.localize(
|
? html`
|
||||||
|
<ha-alert alert-type="error">
|
||||||
|
${this.hass.localize(
|
||||||
"ui.panel.config.repairs.dialog.breaks_in_version",
|
"ui.panel.config.repairs.dialog.breaks_in_version",
|
||||||
{ version: this._issue.breaks_in_ha_version }
|
{ version: this._issue.breaks_in_ha_version }
|
||||||
)
|
)}
|
||||||
: ""}
|
|
||||||
</ha-alert>
|
</ha-alert>
|
||||||
|
`
|
||||||
|
: ""}
|
||||||
<ha-markdown
|
<ha-markdown
|
||||||
allowsvg
|
allowsvg
|
||||||
breaks
|
breaks
|
||||||
|
@ -1246,8 +1246,7 @@
|
|||||||
"learn": "Learn more",
|
"learn": "Learn more",
|
||||||
"ignore": "Ignore",
|
"ignore": "Ignore",
|
||||||
"unignore": "Unignore",
|
"unignore": "Unignore",
|
||||||
"alert_not_fixable": "We cannot repair this issue for you.",
|
"breaks_in_version": "This will break in version {version}. Fix this issue before upgrading.",
|
||||||
"breaks_in_version": "This will break in version {version}. Please fix this issue before upgrading.",
|
|
||||||
"ignored_in_version_short": "Ignored in version {version}",
|
"ignored_in_version_short": "Ignored in version {version}",
|
||||||
"ignored_in_version": "This issue was ignored in version {version}."
|
"ignored_in_version": "This issue was ignored in version {version}."
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user