Use error for protection mode alert (#10315)

This commit is contained in:
Joakim Sørensen 2021-10-19 18:37:22 +02:00 committed by GitHub
parent b3f8daa758
commit 21e1fef0fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ class HassioAddonInfo extends LitElement {
${!this.addon.protected ${!this.addon.protected
? html` ? html`
<ha-alert <ha-alert
alert-type="warning" alert-type="error"
.title=${this.supervisor.localize( .title=${this.supervisor.localize(
"addon.dashboard.protection_mode.title" "addon.dashboard.protection_mode.title"
)} )}

View File

@ -4027,7 +4027,7 @@
"rebuild": "rebuild", "rebuild": "rebuild",
"open_web_ui": "Open web UI", "open_web_ui": "Open web UI",
"protection_mode": { "protection_mode": {
"title": "Warning: Protection mode is disabled!", "title": "Protection mode is disabled!",
"content": "Protection mode on this add-on is disabled! This gives the add-on full access to the entire system, which adds security risks, and could damage your system when used incorrectly. Only disable the protection mode if you know, need AND trust the source of this add-on.", "content": "Protection mode on this add-on is disabled! This gives the add-on full access to the entire system, which adds security risks, and could damage your system when used incorrectly. Only disable the protection mode if you know, need AND trust the source of this add-on.",
"enable": "[%key:ui::common::enable%]" "enable": "[%key:ui::common::enable%]"
}, },