Use new localize format (#18574)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Kendell R
2023-11-28 04:29:41 -08:00
committed by GitHub
parent 2087028c47
commit f4ee734ea3
105 changed files with 596 additions and 791 deletions

View File

@@ -174,8 +174,7 @@ export const showConfigFlowDialog = (
<p>
${hass.localize(
"ui.panel.config.integrations.config_flow.created_config",
"name",
step.title
{ name: step.title }
)}
</p>
`;

View File

@@ -98,8 +98,7 @@ class StepFlowCreateEntry extends LitElement {
showAlertDialog(this, {
text: this.hass.localize(
"ui.panel.config.integrations.config_flow.error_saving_area",
"error",
err.message
{ error: err.message }
),
});
picker.value = null;