mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Allow description placeholders in all repair flow title options (#19553)
Add description placeholders
This commit is contained in:
parent
314499005d
commit
f98e66a409
@ -100,7 +100,8 @@ export const showRepairsFlowDialog = (
|
||||
return hass.localize(
|
||||
`component.${issue.domain}.issues.${
|
||||
issue.translation_key || issue.issue_id
|
||||
}.fix_flow.step.${step.step_id}.data.${field.name}`
|
||||
}.fix_flow.step.${step.step_id}.data.${field.name}`,
|
||||
step.description_placeholders
|
||||
);
|
||||
},
|
||||
|
||||
@ -163,7 +164,8 @@ export const showRepairsFlowDialog = (
|
||||
hass.localize(
|
||||
`component.${issue.domain}.issues.step.${
|
||||
issue.translation_key || issue.issue_id
|
||||
}.fix_flow.${step.step_id}.title`
|
||||
}.fix_flow.${step.step_id}.title`,
|
||||
step.description_placeholders
|
||||
) || hass.localize(`component.${issue.domain}.title`)
|
||||
);
|
||||
},
|
||||
@ -191,7 +193,8 @@ export const showRepairsFlowDialog = (
|
||||
hass.localize(
|
||||
`component.${issue.domain}.issues.${
|
||||
issue.translation_key || issue.issue_id
|
||||
}.fix_flow.step.${step.step_id}.title`
|
||||
}.fix_flow.step.${step.step_id}.title`,
|
||||
step.description_placeholders
|
||||
) || hass.localize(`component.${issue.domain}.title`)
|
||||
);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user