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",
"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": {
"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",
"data": {
"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)"
}
},

View file

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

View file

@ -5,7 +5,7 @@
"data": {
"username": "[%key:common::config_flow::data::username%]",
"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",
"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": {
"pin": "PIN"
"pin": "[%key:common::config_flow::data::pin%]"
}
},
"pairing_complete": {

View file

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