53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"config": {
|
|
"flow_title": "Synology DSM {name} ({host})",
|
|
"step": {
|
|
"user": {
|
|
"title": "Synology DSM",
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]",
|
|
"ssl": "Use SSL/TLS to connect to your NAS",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"2sa": {
|
|
"title": "Synology DSM: two-step authentication",
|
|
"data": {
|
|
"otp_code": "Code"
|
|
}
|
|
},
|
|
"link": {
|
|
"title": "Synology DSM",
|
|
"description": "Do you want to setup {name} ({host})?",
|
|
"data": {
|
|
"ssl": "Use SSL/TLS to connect to your NAS",
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]",
|
|
"port": "[%key:common::config_flow::data::port%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"connection": "Connection error: please check your host, port & ssl",
|
|
"login": "Login error: please check your username & password",
|
|
"missing_data": "Missing data: please retry later or an other configuration",
|
|
"otp_failed": "Two-step authentication failed, retry with a new pass code",
|
|
"unknown": "Unknown error: please check logs to get more details"
|
|
},
|
|
"abort": {
|
|
"already_configured": "Host already configured"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"scan_interval": "Minutes between scans"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|