mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-26 06:17:20 +00:00
Pass translation placeholders to repair title translations (#13289)
This commit is contained in:
parent
c08be957ce
commit
1dc68b72da
@ -48,7 +48,8 @@ class DialogRepairsIssue extends LitElement {
|
||||
this.hass.localize(
|
||||
`component.${this._issue.domain}.issues.${
|
||||
this._issue.translation_key || this._issue.issue_id
|
||||
}.title`
|
||||
}.title`,
|
||||
this._issue.translation_placeholders || {}
|
||||
) || this.hass!.localize("ui.panel.config.repairs.dialog.title")
|
||||
)}
|
||||
>
|
||||
|
@ -66,7 +66,8 @@ class HaConfigRepairs extends LitElement {
|
||||
>${this.hass.localize(
|
||||
`component.${issue.domain}.issues.${
|
||||
issue.translation_key || issue.issue_id
|
||||
}.title`
|
||||
}.title`,
|
||||
issue.translation_placeholders || {}
|
||||
)}</span
|
||||
>
|
||||
<span slot="secondary" class="secondary">
|
||||
|
Loading…
x
Reference in New Issue
Block a user