From c00915a6a74a37e585372aa6134288d18b580cd9 Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Sat, 3 Oct 2020 16:06:45 +0200 Subject: [PATCH] Add ssl and verify_ssl to base strings for config flows (#40944) Co-authored-by: Martin Hjelmare --- homeassistant/components/adguard/strings.json | 4 ++-- homeassistant/components/glances/strings.json | 4 ++-- homeassistant/components/ipp/strings.json | 4 ++-- homeassistant/components/kodi/strings.json | 2 +- homeassistant/components/nzbget/strings.json | 4 ++-- homeassistant/components/pi_hole/strings.json | 4 ++-- homeassistant/components/plex/strings.json | 4 ++-- homeassistant/components/sonarr/strings.json | 4 ++-- homeassistant/components/synology_dsm/strings.json | 4 ++-- homeassistant/components/unifi/strings.json | 2 +- homeassistant/components/zoneminder/strings.json | 4 ++-- homeassistant/strings.json | 2 ++ 12 files changed, 22 insertions(+), 20 deletions(-) diff --git a/homeassistant/components/adguard/strings.json b/homeassistant/components/adguard/strings.json index 2658f7344d4..2d4bb49304f 100644 --- a/homeassistant/components/adguard/strings.json +++ b/homeassistant/components/adguard/strings.json @@ -8,8 +8,8 @@ "password": "[%key:common::config_flow::data::password%]", "port": "[%key:common::config_flow::data::port%]", "username": "[%key:common::config_flow::data::username%]", - "ssl": "AdGuard Home uses a SSL certificate", - "verify_ssl": "AdGuard Home uses a proper certificate" + "ssl": "[%key:common::config_flow::data::ssl%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" } }, "hassio_confirm": { diff --git a/homeassistant/components/glances/strings.json b/homeassistant/components/glances/strings.json index 49185c4d169..5d96b1ae57e 100644 --- a/homeassistant/components/glances/strings.json +++ b/homeassistant/components/glances/strings.json @@ -10,8 +10,8 @@ "password": "[%key:common::config_flow::data::password%]", "port": "[%key:common::config_flow::data::port%]", "version": "Glances API Version (2 or 3)", - "ssl": "Use SSL/TLS to connect to the Glances system", - "verify_ssl": "Verify the certification of the system" + "ssl": "[%key:common::config_flow::data::ssl%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" } } }, diff --git a/homeassistant/components/ipp/strings.json b/homeassistant/components/ipp/strings.json index 09c2424151f..d13d281cef3 100644 --- a/homeassistant/components/ipp/strings.json +++ b/homeassistant/components/ipp/strings.json @@ -9,8 +9,8 @@ "host": "[%key:common::config_flow::data::host%]", "port": "[%key:common::config_flow::data::port%]", "base_path": "Relative path to the printer", - "ssl": "Printer supports communication over SSL/TLS", - "verify_ssl": "Printer uses a proper SSL certificate" + "ssl": "[%key:common::config_flow::data::ssl%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" } }, "zeroconf_confirm": { diff --git a/homeassistant/components/kodi/strings.json b/homeassistant/components/kodi/strings.json index 56a637e54ce..cf2f265f577 100644 --- a/homeassistant/components/kodi/strings.json +++ b/homeassistant/components/kodi/strings.json @@ -7,7 +7,7 @@ "data": { "host": "[%key:common::config_flow::data::host%]", "port": "[%key:common::config_flow::data::port%]", - "ssl": "Connect over SSL" + "ssl": "[%key:common::config_flow::data::ssl%]" } }, "discovery_confirm": { diff --git a/homeassistant/components/nzbget/strings.json b/homeassistant/components/nzbget/strings.json index 98d02a1d2ef..96049ea9369 100644 --- a/homeassistant/components/nzbget/strings.json +++ b/homeassistant/components/nzbget/strings.json @@ -10,8 +10,8 @@ "username": "[%key:common::config_flow::data::username%]", "password": "[%key:common::config_flow::data::password%]", "port": "[%key:common::config_flow::data::port%]", - "ssl": "NZBGet uses a SSL certificate", - "verify_ssl": "NZBGet uses a proper certificate" + "ssl": "[%key:common::config_flow::data::ssl%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" } } }, diff --git a/homeassistant/components/pi_hole/strings.json b/homeassistant/components/pi_hole/strings.json index ccfc267b3c6..3bb5289777d 100644 --- a/homeassistant/components/pi_hole/strings.json +++ b/homeassistant/components/pi_hole/strings.json @@ -8,8 +8,8 @@ "name": "[%key:common::config_flow::data::name%]", "location": "Location", "api_key": "[%key:common::config_flow::data::api_key%]", - "ssl": "Use SSL", - "verify_ssl": "Verify SSL certificate" + "ssl": "[%key:common::config_flow::data::ssl%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" } } }, diff --git a/homeassistant/components/plex/strings.json b/homeassistant/components/plex/strings.json index 5c6d03793d1..3e1d76c344a 100644 --- a/homeassistant/components/plex/strings.json +++ b/homeassistant/components/plex/strings.json @@ -17,8 +17,8 @@ "data": { "host": "[%key:common::config_flow::data::host%]", "port": "[%key:common::config_flow::data::port%]", - "ssl": "Use SSL", - "verify_ssl": "Verify SSL certificate", + "ssl": "[%key:common::config_flow::data::ssl%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]", "token": "Token (Optional)" } }, diff --git a/homeassistant/components/sonarr/strings.json b/homeassistant/components/sonarr/strings.json index 7a50879195d..c7d624b2361 100644 --- a/homeassistant/components/sonarr/strings.json +++ b/homeassistant/components/sonarr/strings.json @@ -10,8 +10,8 @@ "api_key": "[%key:common::config_flow::data::api_key%]", "base_path": "Path to API", "port": "[%key:common::config_flow::data::port%]", - "ssl": "Sonarr uses a SSL certificate", - "verify_ssl": "Sonarr uses a proper certificate" + "ssl": "[%key:common::config_flow::data::ssl%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" } }, "reauth_confirm": { diff --git a/homeassistant/components/synology_dsm/strings.json b/homeassistant/components/synology_dsm/strings.json index 2bb81f6711d..93b68a312a5 100644 --- a/homeassistant/components/synology_dsm/strings.json +++ b/homeassistant/components/synology_dsm/strings.json @@ -7,7 +7,7 @@ "data": { "host": "[%key:common::config_flow::data::host%]", "port": "[%key:common::config_flow::data::port%]", - "ssl": "Use SSL/TLS to connect to your NAS", + "ssl": "[%key:common::config_flow::data::ssl%]", "username": "[%key:common::config_flow::data::username%]", "password": "[%key:common::config_flow::data::password%]" } @@ -22,7 +22,7 @@ "title": "Synology DSM", "description": "Do you want to setup {name} ({host})?", "data": { - "ssl": "Use SSL/TLS to connect to your NAS", + "ssl": "[%key:common::config_flow::data::ssl%]", "username": "[%key:common::config_flow::data::username%]", "password": "[%key:common::config_flow::data::password%]", "port": "[%key:common::config_flow::data::port%]" diff --git a/homeassistant/components/unifi/strings.json b/homeassistant/components/unifi/strings.json index ba0b3952dd0..9deb68f4e3b 100644 --- a/homeassistant/components/unifi/strings.json +++ b/homeassistant/components/unifi/strings.json @@ -9,7 +9,7 @@ "password": "[%key:common::config_flow::data::password%]", "port": "[%key:common::config_flow::data::port%]", "site": "Site ID", - "verify_ssl": "Controller using proper certificate" + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" } } }, diff --git a/homeassistant/components/zoneminder/strings.json b/homeassistant/components/zoneminder/strings.json index ef344171442..2973e193b86 100644 --- a/homeassistant/components/zoneminder/strings.json +++ b/homeassistant/components/zoneminder/strings.json @@ -10,8 +10,8 @@ "password": "[%key:common::config_flow::data::password%]", "path": "ZM Path", "path_zms": "ZMS Path", - "ssl": "Use SSL for connections to ZoneMinder", - "verify_ssl": "Verify SSL Certificate" + "ssl": "[%key:common::config_flow::data::ssl%]", + "verify_ssl": "[%key:common::config_flow::data::verify_ssl%]" } } }, diff --git a/homeassistant/strings.json b/homeassistant/strings.json index cbf4661b5f0..707d08da64e 100644 --- a/homeassistant/strings.json +++ b/homeassistant/strings.json @@ -37,6 +37,8 @@ "access_token": "Access Token", "api_key": "API Key", "api_token": "API Token", + "ssl": "Uses an SSL certificate", + "verify_ssl": "Verify SSL certificate", "longitude": "Longitude", "latitude": "Latitude" },