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

@@ -4,7 +4,10 @@
"user": {
"title": "Link your Minecraft Server",
"description": "Set up your Minecraft Server instance to allow monitoring.",
"data": { "name": "Name", "host": "Host" }
"data": {
"name": "Name",
"host": "[%key:common::config_flow::data::host%]"
}
}
},
"error": {
@@ -12,6 +15,8 @@
"cannot_connect": "Failed to connect to server. Please check the host and port and try again. Also ensure that you are running at least Minecraft version 1.7 on your server.",
"invalid_ip": "IP address is invalid (MAC address could not be determined). Please correct it and try again."
},
"abort": { "already_configured": "Host is already configured." }
"abort": {
"already_configured": "Host is already configured."
}
}
}
}