From 7519e8d4175659607cf113171943d80024eee49e Mon Sep 17 00:00:00 2001 From: Jason Hu Date: Tue, 26 Mar 2019 07:48:26 -0700 Subject: [PATCH] Update translate, fix dev build error (#22419) --- .../components/axis/.translations/en.json | 32 +++++++++---------- .../components/ps4/.translations/en.json | 22 ++++++------- homeassistant/components/ps4/strings.json | 2 +- .../tellduslive/.translations/en.json | 1 - .../components/upnp/.translations/en.json | 15 --------- .../components/zha/.translations/en.json | 1 + 6 files changed, 29 insertions(+), 44 deletions(-) diff --git a/homeassistant/components/axis/.translations/en.json b/homeassistant/components/axis/.translations/en.json index 3c528dfbb16..6c5933dfd97 100644 --- a/homeassistant/components/axis/.translations/en.json +++ b/homeassistant/components/axis/.translations/en.json @@ -1,26 +1,26 @@ { "config": { - "title": "Axis device", - "step": { - "user": { - "title": "Set up Axis device", - "data": { - "host": "Host", - "username": "Username", - "password": "Password", - "port": "Port" - } - } + "abort": { + "already_configured": "Device is already configured", + "bad_config_file": "Bad data from config file", + "link_local_address": "Link local addresses are not supported" }, "error": { "already_configured": "Device is already configured", "device_unavailable": "Device is not available", "faulty_credentials": "Bad user credentials" }, - "abort": { - "already_configured": "Device is already configured", - "bad_config_file": "Bad data from config file", - "link_local_address": "Link local addresses are not supported" - } + "step": { + "user": { + "data": { + "host": "Host", + "password": "Password", + "port": "Port", + "username": "Username" + }, + "title": "Set up Axis device" + } + }, + "title": "Axis device" } } \ No newline at end of file diff --git a/homeassistant/components/ps4/.translations/en.json b/homeassistant/components/ps4/.translations/en.json index 662f6fb6116..8949e77b4cc 100644 --- a/homeassistant/components/ps4/.translations/en.json +++ b/homeassistant/components/ps4/.translations/en.json @@ -9,22 +9,14 @@ }, "error": { "login_failed": "Failed to pair to PlayStation 4. Verify PIN is correct.", - "not_ready": "PlayStation 4 is not on or connected to network.", - "no_ipaddress": "Enter the IP Address of the PlayStation 4 you would like to configure." + "no_ipaddress": "Enter the IP Address of the PlayStation 4 you would like to configure.", + "not_ready": "PlayStation 4 is not on or connected to network." }, "step": { "creds": { "description": "Credentials needed. Press 'Submit' and then in the PS4 2nd Screen App, refresh devices and select the 'Home-Assistant' device to continue.", "title": "PlayStation 4" }, - "mode": { - "data": { - "mode": "Config Mode", - "ip_address": "IP Address (Leave empty if using Auto Discovery)." - }, - "description": "Select mode for configuration. The IP Address field can be left blank if selecting Auto Discovery, as devices will be automatically discovered.", - "title": "PlayStation 4" - }, "link": { "data": { "code": "PIN", @@ -34,8 +26,16 @@ }, "description": "Enter your PlayStation 4 information. For 'PIN', navigate to 'Settings' on your PlayStation 4 console. Then navigate to 'Mobile App Connection Settings' and select 'Add Device'. Enter the PIN that is displayed. Refer to the [documentation](https://www.home-assistant.io/components/ps4/) for additional info.", "title": "PlayStation 4" + }, + "mode": { + "data": { + "ip_address": "IP Address (Leave empty if using Auto Discovery).", + "mode": "Config Mode" + }, + "description": "Select mode for configuration. The IP Address field can be left blank if selecting Auto Discovery, as devices will be automatically discovered.", + "title": "PlayStation 4" } }, "title": "PlayStation 4" } -} +} \ No newline at end of file diff --git a/homeassistant/components/ps4/strings.json b/homeassistant/components/ps4/strings.json index d8fdc9e18db..ea69d8c7a8c 100644 --- a/homeassistant/components/ps4/strings.json +++ b/homeassistant/components/ps4/strings.json @@ -12,7 +12,7 @@ "data": { "mode": "Config Mode", "ip_address": "IP Address (Leave empty if using Auto Discovery)." - }, + } }, "link": { "title": "PlayStation 4", diff --git a/homeassistant/components/tellduslive/.translations/en.json b/homeassistant/components/tellduslive/.translations/en.json index c2b00561858..4ed9ef597f4 100644 --- a/homeassistant/components/tellduslive/.translations/en.json +++ b/homeassistant/components/tellduslive/.translations/en.json @@ -1,7 +1,6 @@ { "config": { "abort": { - "all_configured": "TelldusLive is already configured", "already_setup": "TelldusLive is already configured", "authorize_url_fail": "Unknown error generating an authorize url.", "authorize_url_timeout": "Timeout generating authorize url.", diff --git a/homeassistant/components/upnp/.translations/en.json b/homeassistant/components/upnp/.translations/en.json index 632d5112f1a..91e4f6b7c52 100644 --- a/homeassistant/components/upnp/.translations/en.json +++ b/homeassistant/components/upnp/.translations/en.json @@ -1,28 +1,13 @@ { "config": { "abort": { - "already_configured": "UPnP/IGD is already configured", - "incomplete_device": "Ignoring incomplete UPnP device", - "no_devices_discovered": "No UPnP/IGDs discovered", "no_devices_found": "No UPnP/IGD devices found on the network.", - "no_sensors_or_port_mapping": "Enable at least sensors or port mapping", "single_instance_allowed": "Only a single configuration of UPnP/IGD is necessary." }, "step": { "confirm": { "description": "Do you want to set up UPnP/IGD?", "title": "UPnP/IGD" - }, - "init": { - "title": "UPnP/IGD" - }, - "user": { - "data": { - "enable_port_mapping": "Enable port mapping for Home Assistant", - "enable_sensors": "Add traffic sensors", - "igd": "UPnP/IGD" - }, - "title": "Configuration options for the UPnP/IGD" } }, "title": "UPnP/IGD" diff --git a/homeassistant/components/zha/.translations/en.json b/homeassistant/components/zha/.translations/en.json index f0da251f5eb..82489ac258e 100644 --- a/homeassistant/components/zha/.translations/en.json +++ b/homeassistant/components/zha/.translations/en.json @@ -12,6 +12,7 @@ "radio_type": "Radio Type", "usb_path": "USB Device Path" }, + "description": "", "title": "ZHA" } },