Enhance ConnectionPlaceholder component to handle missing device IP with localized messages; update DeviceContext to manage IP state; improve CSS for touch actions in various components; update locale files for English and Chinese with new connection prompts.

This commit is contained in:
yangy
2026-05-22 17:24:50 +08:00
parent 32f15217ad
commit 11821730ec
9 changed files with 89 additions and 22 deletions
+8
View File
@@ -1,4 +1,12 @@
{
"connect": {
"ipMissingTitle": "Device IP not specified",
"ipMissingDesc": "Add the device IP in the address bar before opening this page, for example:",
"connecting": "Connecting to {ip}…",
"failedTitle": "Connection failed",
"failedDesc": "Check the device IP and your network connection.",
"failedHint": "Specify the device in the URL, e.g. ?ip=10.0.0.119"
},
"home": {
"audioSet": "Audio setting",
"systemSet": "System",