mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Use issue scoped translation for repair abort reason (#14445)
This commit is contained in:
parent
2223ffd7ee
commit
f95a3c75f6
@ -47,7 +47,9 @@ export const showRepairsFlowDialog = (
|
|||||||
|
|
||||||
renderAbortDescription(hass, step) {
|
renderAbortDescription(hass, step) {
|
||||||
const description = hass.localize(
|
const description = hass.localize(
|
||||||
`component.${issue.domain}.issues.abort.${step.reason}`,
|
`component.${issue.domain}.issues.${
|
||||||
|
issue.translation_key || issue.issue_id
|
||||||
|
}.fix_flow.abort.${step.reason}`,
|
||||||
step.description_placeholders
|
step.description_placeholders
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user