App 2.4.2: pairing dialog shows errors instead of closing
- On a failure the pairing dialog stays open and shows the reason in red (Cancel becomes Close); before, it closed at once and the reason was only in the Server tab's status line. - "Pairing is not enabled" only when the server says so. Any other 404 (a server older than 2.1.0, or a proxy's page) is reported as a server without pairing. - Pairing and Test connection name the problem: a server name that does not resolve (Test connection used to say "No internet connection"), a server that does not answer, or the HTTP status. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki
This commit is contained in:
@@ -66,6 +66,11 @@
|
||||
<string name="pair_expired">The code expired — press Pair with phone again</string>
|
||||
<string name="pair_not_enabled">Pairing is not enabled on the server (no APPROVAL_PASSWORD)</string>
|
||||
<string name="pair_error">Pairing failed: %1$s</string>
|
||||
<string name="pair_close">Close</string>
|
||||
<string name="pair_err_old_server">The server has no pairing (HTTP 404). It needs server version 2.1.0 or newer.</string>
|
||||
<string name="err_dns">Server name %1$s not found. Is it in public DNS?</string>
|
||||
<string name="err_unreachable">Server %1$s not reachable</string>
|
||||
<string name="err_http">Server answered HTTP %1$d</string>
|
||||
<string name="pair_cancel">Cancel</string>
|
||||
<string name="pair_qr_description">QR code to approve this car on your phone</string>
|
||||
<string name="server_err_token">The token must be at least 24 characters, without spaces</string>
|
||||
|
||||
Reference in New Issue
Block a user