Merge pull request #13364 from steverep/fix-random-bad-keys

This commit is contained in:
Steve Repsher 2022-08-09 12:50:50 -04:00 committed by GitHub
commit f76a3ea2ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 5 deletions

View File

@ -40,7 +40,7 @@ class HassErrorScreen extends LitElement {
<h3>${this.error}</h3> <h3>${this.error}</h3>
<slot> <slot>
<mwc-button @click=${this._handleBack}> <mwc-button @click=${this._handleBack}>
${this.hass?.localize("ui.panel.error.go_back") || "go back"} ${this.hass?.localize("ui.common.back")}
</mwc-button> </mwc-button>
</slot> </slot>
</div> </div>

View File

@ -336,7 +336,7 @@ class DialogSystemInformation extends LitElement {
rel="noreferrer noopener" rel="noreferrer noopener"
> >
${this.hass.localize( ${this.hass.localize(
"ui.panel.config.info.system_health.more_systemInfo" "ui.panel.config.info.system_health.more_info"
)} )}
</a> </a>
`} `}

View File

@ -69,7 +69,7 @@ export const showRepairsFlowDialog = (
issue.translation_key || issue.issue_id issue.translation_key || issue.issue_id
}.fix_flow.step.${step.step_id}.title`, }.fix_flow.step.${step.step_id}.title`,
step.description_placeholders step.description_placeholders
) || hass.localize(`ui.dialogs.issues_flow.form.header`) ) || hass.localize("ui.dialogs.repair_flow.form.header")
); );
}, },
@ -126,7 +126,7 @@ export const showRepairsFlowDialog = (
renderCreateEntryDescription(hass, _step) { renderCreateEntryDescription(hass, _step) {
return html` return html`
<p>${hass.localize(`ui.dialogs.repairs.success.description`)}</p> <p>${hass.localize("ui.dialogs.repair_flow.success.description")}</p>
`; `;
}, },
@ -202,7 +202,7 @@ export const showRepairsFlowDialog = (
issue.translation_key || issue.issue_id issue.translation_key || issue.issue_id
}.fix_flow.loading` }.fix_flow.loading`
) || ) ||
hass.localize(`ui.dialogs.repairs.loading.${reason}`, { hass.localize(`ui.dialogs.repair_flow.loading.${reason}`, {
integration: domainToName(hass.localize, issue.domain), integration: domainToName(hass.localize, issue.domain),
}) })
); );

View File

@ -1256,6 +1256,7 @@
"add_picture": "Add a picture", "add_picture": "Add a picture",
"assigned_to_area": "Assigned to this area", "assigned_to_area": "Assigned to this area",
"targeting_area": "Targeting this area", "targeting_area": "Targeting this area",
"area_not_found": "[%key:ui::card::area::area_not_found%]",
"data_table": { "data_table": {
"area": "Area", "area": "Area",
"devices": "Devices", "devices": "Devices",
@ -1341,6 +1342,7 @@
"update": "Update", "update": "Update",
"create": "Create", "create": "Create",
"create_and_write": "Create and Write", "create_and_write": "Create and Write",
"required_error_msg": "[%key:ui::panel::config::zone::detail::required_error_msg%]",
"usage": "A tag can trigger an automation when scanned, you can use NFC tags, QR codes or any other kind of tag. Use our {companion_link} to write this tag to a programmable NFC tag or create a QR code below.", "usage": "A tag can trigger an automation when scanned, you can use NFC tags, QR codes or any other kind of tag. Use our {companion_link} to write this tag to a programmable NFC tag or create a QR code below.",
"companion_apps": "companion apps" "companion_apps": "companion apps"
} }