feat(transport): Improve socket transport mode selection and localization

This commit is contained in:
cogwheel0
2025-10-30 22:32:59 +05:30
parent f4561484f6
commit a00d64fc26
19 changed files with 441 additions and 50 deletions

View File

@@ -694,12 +694,12 @@
"@transportModeDescription": {"description": "Helper text explaining the transport setting."},
"mode": "Mode",
"@mode": {"description": "Form field label for transport mode dropdown."},
"transportModeAuto": "Auto (Polling + WebSocket)",
"@transportModeAuto": {"description": "Dropdown option label for automatic transport selection."},
"transportModePolling": "Polling fallback",
"@transportModePolling": {"description": "Dropdown option label for HTTP polling fallback transport."},
"transportModeWs": "WebSocket only",
"@transportModeWs": {"description": "Dropdown option label for WebSocket-only transport."},
"transportModeAutoInfo": "More robust on restrictive networks. Upgrades to WebSocket when possible.",
"@transportModeAutoInfo": {"description": "Footnote text for the Auto transport mode."},
"transportModePollingInfo": "Falls back to HTTP polling when WebSocket is blocked. Upgrades to WebSocket when possible.",
"@transportModePollingInfo": {"description": "Footnote text for the polling fallback transport mode."},
"transportModeWsInfo": "Lower overhead, but may fail behind strict proxies/firewalls.",
"@transportModeWsInfo": {"description": "Footnote text for the WebSocket-only transport mode."},
"websocketConnectionError": "Unable to establish real-time connection. Please check your network and server configuration.",