Use config flow references for data (#35529)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-05-12 10:50:44 -07:00
1 parent 1f71bdedab
commit dd32324e01
83 files changed
+526 -353

No files matched your search

+15 -8
View File
@@ -4,26 +4,33 @@
"user": {
"title": "Connect to the NUT server",
"data": {
"host": "Host",
"port": "Port",
"username": "Username",
"password": "Password"
"host": "[%key:common::config_flow::data::host%]",
"port": "[%key:common::config_flow::data::port%]",
"username": "[%key:common::config_flow::data::username%]",
"password": "[%key:common::config_flow::data::password%]"
}
},
"ups": {
"title": "Choose the UPS to Monitor",
"data": { "alias": "Alias", "resources": "Resources" }
"data": {
"alias": "Alias",
"resources": "Resources"
}
},
"resources": {
"title": "Choose the Resources to Monitor",
"data": { "resources": "Resources" }
"data": {
"resources": "Resources"
}
}
},
"error": {
"cannot_connect": "Failed to connect, please try again",
"unknown": "Unexpected error"
},
"abort": { "already_configured": "Device is already configured" }
"abort": {
"already_configured": "Device is already configured"
}
},
"options": {
"step": {
@@ -36,4 +43,4 @@
}
}
}
}
}