From e4afb949d7d18ca2c869a8926b9997f110b8a3b8 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Mon, 11 May 2020 22:52:16 -0500 Subject: [PATCH] Use common strings for ipp config flow (#35505) * Use common strings for ipp config flow * Update strings.json * Update strings.json * Update strings.json --- homeassistant/components/ipp/strings.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/ipp/strings.json b/homeassistant/components/ipp/strings.json index e3e28ace1fd..999c868f080 100644 --- a/homeassistant/components/ipp/strings.json +++ b/homeassistant/components/ipp/strings.json @@ -6,25 +6,25 @@ "title": "Link your printer", "description": "Set up your printer via Internet Printing Protocol (IPP) to integrate with Home Assistant.", "data": { - "host": "Host or IP address", - "port": "Port", + "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" } }, "zeroconf_confirm": { - "description": "Do you want to add the printer named `{name}` to Home Assistant?", + "description": "Do you want to set up {name}?", "title": "Discovered printer" } }, "error": { - "connection_error": "Failed to connect to printer.", + "connection_error": "[%key:common::config_flow::error::cannot_connect%]", "connection_upgrade": "Failed to connect to printer. Please try again with SSL/TLS option checked." }, "abort": { - "already_configured": "This printer is already configured.", - "connection_error": "Failed to connect to printer.", + "already_configured": "[%key:common::config_flow::abort::already_configured_device%]", + "connection_error": "[%key:common::config_flow::error::cannot_connect%]", "connection_upgrade": "Failed to connect to printer due to connection upgrade being required.", "ipp_error": "Encountered IPP error.", "ipp_version_error": "IPP version not supported by printer.",