feat(login): narrate the browser OAuth flow on the login screen

The screen sat inert while the system-browser OAuth ran: no waiting or
authenticating feedback, and failures were log-only. New LoginState
global (phase + error) driven by an on_phase callback in
auth::login_via_system_browser (both call sites: login + recovery).
The blue button now reads "Sign in with your browser", disables while
an attempt is in flight, and the screen shows continue-in-browser text
(with a no-focus hint), a Cancel link that aborts the pending flow, an
authenticating state, and a sign-in-failed box. The redundant
"Use your system browser instead" link and its AppCommand are removed.
Five new msgids translated in all seven locale catalogs.

cc
This commit is contained in:
vicrodh committed 2026-07-02 10:10:59 -06:00
1 parent da566d2426
commit 8a734f6427
13 files changed
+312 -37

No files matched your search

@@ -4192,3 +4192,19 @@ msgstr "Taille de l'interface modifiée — redémarrez QBZ pour appliquer"
msgid "Extra small"
msgstr "Très petit"
# Login-screen browser-flow narration (2026-07-02)
msgid "Sign in with your browser"
msgstr "Se connecter avec votre navigateur"
msgid "Continue in your web browser — QBZ is waiting for you to finish signing in."
msgstr "Continuez dans votre navigateur web — QBZ attend que vous terminiez la connexion."
msgid "The browser may open in the background without taking focus — check your other windows."
msgstr "Le navigateur peut s'ouvrir en arrière-plan sans prendre le focus — vérifiez vos autres fenêtres."
msgid "Signing you in…"
msgstr "Connexion en cours…"
msgid "Sign-in failed"
msgstr "Échec de la connexion"