Add invalid_host to base strings for config flows (#41381)

pull/41389/head
Maciej Bieniek 2020-10-07 11:24:31 +02:00 committed by GitHub
parent 04b04027c3
commit ca441a79aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 7 deletions

View File

@ -17,7 +17,7 @@
}
},
"error": {
"invalid_host": "Invalid hostname or IP address.",
"invalid_host": "[%key:common::config_flow::error::invalid_host%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"unsupported_model": "Your TV model is not supported."
},

View File

@ -34,7 +34,7 @@
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
"already_in_progress": "[%key:common::config_flow::abort::already_in_progress%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"invalid_host": "Invalid hostname or IP address",
"invalid_host": "[%key:common::config_flow::error::invalid_host%]",
"not_supported": "Device not supported",
"unknown": "[%key:common::config_flow::error::unknown%]"
},

View File

@ -10,7 +10,7 @@
}
},
"error": {
"invalid_host": "Invalid hostname or IP address.",
"invalid_host": "[%key:common::config_flow::error::invalid_host%]",
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]"
},

View File

@ -12,7 +12,7 @@
},
"error": {
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
"invalid_host": "Invalid host provided",
"invalid_host": "[%key:common::config_flow::error::invalid_host%]",
"unknown": "[%key:common::config_flow::error::unknown%]"
},
"abort": {

View File

@ -31,7 +31,7 @@
"discovery_error": "Failed to discover a Xiaomi Aqara Gateway, try using the IP of the device running HomeAssistant as interface",
"invalid_interface": "Invalid network interface",
"invalid_key": "Invalid gateway key",
"invalid_host": "Invalid [%key:common::config_flow::data::ip%], see https://www.home-assistant.io/integrations/xiaomi_aqara/#connection-problem",
"invalid_host": "[%key:common::config_flow::error::invalid_host%], see https://www.home-assistant.io/integrations/xiaomi_aqara/#connection-problem",
"invalid_mac": "Invalid Mac Address"
},
"abort": {

View File

@ -47,10 +47,11 @@
"authenticated": "Successfully authenticated"
},
"error": {
"invalid_api_key": "Invalid API key",
"invalid_access_token": "Invalid access token",
"cannot_connect": "Failed to connect",
"invalid_access_token": "Invalid access token",
"invalid_api_key": "Invalid API key",
"invalid_auth": "Invalid authentication",
"invalid_host": "Invalid hostname or IP address",
"unknown": "Unexpected error"
},
"abort": {