Adds missing strings (#63046)

This commit is contained in:
Christopher Bailey 2021-12-29 17:27:31 -05:00 committed by GitHub
parent 26972942ca
commit 5eb59092e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 4 deletions

View File

@ -2,8 +2,20 @@
"config": { "config": {
"step": { "step": {
"user": { "user": {
"title": "UniFi Protect Setup",
"data": { "data": {
"host": "[%key:common::config_flow::data::host%]", "host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]",
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
}
},
"reauth_confirm": {
"title": "UniFi Protect Reauth",
"data": {
"host": "IP/Host of UniFi Protect Server",
"port": "[%key:common::config_flow::data::port%]",
"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%]"
} }

View File

@ -6,16 +6,27 @@
"error": { "error": {
"cannot_connect": "Failed to connect", "cannot_connect": "Failed to connect",
"invalid_auth": "Invalid authentication", "invalid_auth": "Invalid authentication",
"protect_version": "Minimum required version is v1.20.0. Please upgrade UniFi Protect and then retry.", "protect_version": "Minimum required version is v1.20.0. Please upgrade UniFi Protect and then retry."
"unknown": "Unexpected error"
}, },
"step": { "step": {
"reauth_confirm": {
"data": {
"host": "IP/Host of UniFi Protect Server",
"password": "Password",
"port": "Port",
"username": "Username"
},
"title": "UniFi Protect Reauth"
},
"user": { "user": {
"data": { "data": {
"host": "Host", "host": "Host",
"password": "Password", "password": "Password",
"username": "Username" "port": "Port",
} "username": "Username",
"verify_ssl": "Verify SSL certificate"
},
"title": "UniFi Protect Setup"
} }
} }
}, },