From b61a250321cc58024512175edc03c61120cc024d Mon Sep 17 00:00:00 2001 From: Jason Hu Date: Thu, 4 Oct 2018 06:50:42 -0700 Subject: [PATCH] Fix upnp component l10n error (#17132) --- .../components/upnp/.translations/en.json | 26 +++++++++---------- homeassistant/components/upnp/strings.json | 2 -- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/homeassistant/components/upnp/.translations/en.json b/homeassistant/components/upnp/.translations/en.json index 682150b7ddd..93e1db62f8e 100644 --- a/homeassistant/components/upnp/.translations/en.json +++ b/homeassistant/components/upnp/.translations/en.json @@ -1,25 +1,23 @@ { "config": { - "title": "UPnP/IGD", + "abort": { + "already_configured": "UPnP/IGD is already configured", + "no_devices_discovered": "No UPnP/IGDs discovered", + "no_sensors_or_port_mapping": "Enable at least sensors or port mapping" + }, "step": { "init": { "title": "UPnP/IGD" }, "user": { - "title": "Configuration options for the UPnP/IGD", - "data":{ - "igd": "UPnP/IGD", + "data": { + "enable_port_mapping": "Enable port mapping for Home Assistant", "enable_sensors": "Add traffic sensors", - "enable_port_mapping": "Enable port mapping for Home Assistant" - } + "igd": "UPnP/IGD" + }, + "title": "Configuration options for the UPnP/IGD" } }, - "error": { - }, - "abort": { - "no_devices_discovered": "No UPnP/IGDs discovered", - "already_configured": "UPnP/IGD is already configured", - "no_sensors_or_port_mapping": "Enable at least sensors or port mapping" - } + "title": "UPnP/IGD" } -} +} \ No newline at end of file diff --git a/homeassistant/components/upnp/strings.json b/homeassistant/components/upnp/strings.json index 682150b7ddd..9dd4c3f5ad0 100644 --- a/homeassistant/components/upnp/strings.json +++ b/homeassistant/components/upnp/strings.json @@ -14,8 +14,6 @@ } } }, - "error": { - }, "abort": { "no_devices_discovered": "No UPnP/IGDs discovered", "already_configured": "UPnP/IGD is already configured",