Add pin to base strings for config flows (#41202)

This commit is contained in:
springstan 2020-10-06 11:00:36 +02:00 committed by GitHub
parent c4401754be
commit 014fe48096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 7 deletions

View file

@ -12,7 +12,7 @@
"title": "Authorize Sony Bravia TV", "title": "Authorize Sony Bravia TV",
"description": "Enter the PIN code shown on the Sony Bravia TV. \n\nIf the PIN code is not shown, you have to unregister Home Assistant on your TV, go to: Settings -> Network -> Remote device settings -> Unregister remote device.", "description": "Enter the PIN code shown on the Sony Bravia TV. \n\nIf the PIN code is not shown, you have to unregister Home Assistant on your TV, go to: Settings -> Network -> Remote device settings -> Unregister remote device.",
"data": { "data": {
"pin": "PIN code" "pin": "[%key:common::config_flow::data::pin%]"
} }
} }
}, },
@ -36,4 +36,4 @@
} }
} }
} }
} }

View file

@ -5,7 +5,7 @@
"title": "Pick HomematicIP Access point", "title": "Pick HomematicIP Access point",
"data": { "data": {
"hapid": "Access point ID (SGTIN)", "hapid": "Access point ID (SGTIN)",
"pin": "Pin Code (optional)", "pin": "[%key:common::config_flow::data::pin%]",
"name": "[%key:common::config_flow::data::name%] (optional, used as name prefix for all devices)" "name": "[%key:common::config_flow::data::name%] (optional, used as name prefix for all devices)"
} }
}, },

View file

@ -14,7 +14,7 @@
"title": "Pairing", "title": "Pairing",
"description": "Enter the PIN displayed on your TV", "description": "Enter the PIN displayed on your TV",
"data": { "data": {
"pin": "PIN" "pin": "[%key:common::config_flow::data::pin%]"
} }
} }
}, },

View file

@ -5,7 +5,7 @@
"data": { "data": {
"username": "[%key:common::config_flow::data::username%]", "username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]", "password": "[%key:common::config_flow::data::password%]",
"pin": "Pin code" "pin": "[%key:common::config_flow::data::pin%]"
} }
} }
}, },

View file

@ -15,7 +15,7 @@
"title": "Complete Pairing Process", "title": "Complete Pairing Process",
"description": "Your TV should be displaying a code. Enter that code into the form and then continue to the next step to complete the pairing.", "description": "Your TV should be displaying a code. Enter that code into the form and then continue to the next step to complete the pairing.",
"data": { "data": {
"pin": "PIN" "pin": "[%key:common::config_flow::data::pin%]"
} }
}, },
"pairing_complete": { "pairing_complete": {

View file

@ -40,7 +40,8 @@
"ssl": "Uses an SSL certificate", "ssl": "Uses an SSL certificate",
"verify_ssl": "Verify SSL certificate", "verify_ssl": "Verify SSL certificate",
"longitude": "Longitude", "longitude": "Longitude",
"latitude": "Latitude" "latitude": "Latitude",
"pin": "PIN Code"
}, },
"create_entry": { "create_entry": {
"authenticated": "Successfully authenticated" "authenticated": "Successfully authenticated"