mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-26 14:27: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(
|
this.hass.localize(
|
||||||
`component.${this._issue.domain}.issues.${
|
`component.${this._issue.domain}.issues.${
|
||||||
this._issue.translation_key || this._issue.issue_id
|
this._issue.translation_key || this._issue.issue_id
|
||||||
}.title`
|
}.title`,
|
||||||
|
this._issue.translation_placeholders || {}
|
||||||
) || this.hass!.localize("ui.panel.config.repairs.dialog.title")
|
) || this.hass!.localize("ui.panel.config.repairs.dialog.title")
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
@ -66,7 +66,8 @@ class HaConfigRepairs extends LitElement {
|
|||||||
>${this.hass.localize(
|
>${this.hass.localize(
|
||||||
`component.${issue.domain}.issues.${
|
`component.${issue.domain}.issues.${
|
||||||
issue.translation_key || issue.issue_id
|
issue.translation_key || issue.issue_id
|
||||||
}.title`
|
}.title`,
|
||||||
|
issue.translation_placeholders || {}
|
||||||
)}</span
|
)}</span
|
||||||
>
|
>
|
||||||
<span slot="secondary" class="secondary">
|
<span slot="secondary" class="secondary">
|
||||||
|
@ -577,7 +577,7 @@
|
|||||||
"title": "Media Management",
|
"title": "Media Management",
|
||||||
"manage": "Manage",
|
"manage": "Manage",
|
||||||
"no_items": "No media items found",
|
"no_items": "No media items found",
|
||||||
"folders_not_supported": "Folders can not be managed via the UI.",
|
"folders_not_supported": "Folders cannot be managed via the UI.",
|
||||||
"highlight_button": "Click here to upload your first media",
|
"highlight_button": "Click here to upload your first media",
|
||||||
"upload_failed": "Upload failed: {reason}",
|
"upload_failed": "Upload failed: {reason}",
|
||||||
"add_media": "Add Media",
|
"add_media": "Add Media",
|
||||||
@ -1246,7 +1246,7 @@
|
|||||||
"learn": "Learn more",
|
"learn": "Learn more",
|
||||||
"ignore": "Ignore",
|
"ignore": "Ignore",
|
||||||
"unignore": "Unignore",
|
"unignore": "Unignore",
|
||||||
"alert_not_fixable": "We can not repair this issue for you.",
|
"alert_not_fixable": "We cannot repair this issue for you.",
|
||||||
"breaks_in_version": "This will break in version {version}. Please fix this issue before upgrading.",
|
"breaks_in_version": "This will break in version {version}. Please fix this issue before upgrading.",
|
||||||
"ignored_in_version_short": "Ignored in version {version}",
|
"ignored_in_version_short": "Ignored in version {version}",
|
||||||
"ignored_in_version": "This issue was ignored in version {version}."
|
"ignored_in_version": "This issue was ignored in version {version}."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user