Use config flow base strings (#35494)

This commit is contained in:
Fredrik Erlandsson 2020-05-11 15:22:37 +02:00 committed by GitHub
parent 31ee54c133
commit 6d9f561853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,8 @@
"config": {
"step": {
"user": {
"title": "Authentication Provider",
"description": "Pick via which authentication provider you want to authenticate with Point.",
"title": "[%key:common::config_flow::title::oauth2_pick_implementation%]",
"description": "[%key:common::config_flow::description::confirm_setup%]",
"data": { "flow_impl": "Provider" }
},
"auth": {
@ -12,17 +12,17 @@
}
},
"create_entry": {
"default": "Successfully authenticated with Minut for your Point device(s)"
"default": "[%key:common::config_flow::create_entry::authenticated%]"
},
"error": {
"no_token": "Not authenticated with Minut",
"no_token": "[%key:common::config_flow::error::invalid_access_token%]",
"follow_link": "Please follow the link and authenticate before pressing Submit"
},
"abort": {
"already_setup": "You can only configure a Point account.",
"already_setup": "[%key:common::config_flow::abort::single_instance_allowed%]",
"external_setup": "Point successfully configured from another flow.",
"no_flows": "You need to configure Point before being able to authenticate with it. [Please read the instructions](https://www.home-assistant.io/components/point/).",
"authorize_url_timeout": "Timeout generating authorize url.",
"no_flows": "[%key:common::config_flow::abort::oauth2_missing_configuration%]",
"authorize_url_timeout": "[%key:common::config_flow::abort::oauth2_authorize_url_timeout%]",
"authorize_url_fail": "Unknown error generating an authorize url."
}
}