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 "Oberflächengröße geändert — QBZ neu starten, um sie zu übernehmen
msgid "Extra small"
msgstr "Extra klein"
# Login-screen browser-flow narration (2026-07-02)
msgid "Sign in with your browser"
msgstr "Mit deinem Browser anmelden"
msgid "Continue in your web browser — QBZ is waiting for you to finish signing in."
msgstr "Fahre in deinem Webbrowser fort — QBZ wartet, bis du die Anmeldung abgeschlossen hast."
msgid "The browser may open in the background without taking focus — check your other windows."
msgstr "Der Browser öffnet sich möglicherweise im Hintergrund, ohne den Fokus zu übernehmen — prüfe deine anderen Fenster."
msgid "Signing you in…"
msgstr "Du wirst angemeldet…"
msgid "Sign-in failed"
msgstr "Anmeldung fehlgeschlagen"
@@ -78,3 +78,19 @@ msgstr "Interface size changed — restart QBZ to apply"
msgid "Extra small"
msgstr "Extra small"
# Login-screen browser-flow narration (2026-07-02)
msgid "Sign in with your browser"
msgstr "Sign in with your browser"
msgid "Continue in your web browser — QBZ is waiting for you to finish signing in."
msgstr "Continue in your web browser — QBZ is waiting for you to finish signing in."
msgid "The browser may open in the background without taking focus — check your other windows."
msgstr "The browser may open in the background without taking focus — check your other windows."
msgid "Signing you in…"
msgstr "Signing you in…"
msgid "Sign-in failed"
msgstr "Sign-in failed"
@@ -4249,3 +4249,19 @@ msgstr "Tamaño de la interfaz cambiado — reinicia QBZ para aplicar"
msgid "Extra small"
msgstr "Extra pequeño"
# Login-screen browser-flow narration (2026-07-02)
msgid "Sign in with your browser"
msgstr "Inicia sesión con tu navegador"
msgid "Continue in your web browser — QBZ is waiting for you to finish signing in."
msgstr "Continúa en tu navegador web — QBZ está esperando a que termines de iniciar sesión."
msgid "The browser may open in the background without taking focus — check your other windows."
msgstr "Puede que el navegador se abra en segundo plano sin tomar el foco — checa tus otras ventanas."
msgid "Signing you in…"
msgstr "Iniciando tu sesión…"
msgid "Sign-in failed"
msgstr "No se pudo iniciar sesión"
@@ -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"
@@ -4139,3 +4139,19 @@ msgstr "インターフェースのサイズを変更しました — 適用す
msgid "Extra small"
msgstr "極小"
# Login-screen browser-flow narration (2026-07-02)
msgid "Sign in with your browser"
msgstr "ブラウザでサインイン"
msgid "Continue in your web browser — QBZ is waiting for you to finish signing in."
msgstr "ウェブブラウザで続行してください — QBZ はサインインの完了を待っています。"
msgid "The browser may open in the background without taking focus — check your other windows."
msgstr "ブラウザは前面に出ずにバックグラウンドで開くことがあります — 他のウィンドウを確認してください。"
msgid "Signing you in…"
msgstr "サインインしています…"
msgid "Sign-in failed"
msgstr "サインインに失敗しました"
@@ -4192,3 +4192,19 @@ msgstr "Tamanho da interface alterado — reinicie o QBZ para aplicar"
msgid "Extra small"
msgstr "Extra pequeno"
# Login-screen browser-flow narration (2026-07-02)
msgid "Sign in with your browser"
msgstr "Entrar com o seu navegador"
msgid "Continue in your web browser — QBZ is waiting for you to finish signing in."
msgstr "Continue no seu navegador web — o QBZ está aguardando você concluir o login."
msgid "The browser may open in the background without taking focus — check your other windows."
msgstr "O navegador pode abrir em segundo plano sem tomar o foco — verifique as suas outras janelas."
msgid "Signing you in…"
msgstr "Entrando…"
msgid "Sign-in failed"
msgstr "Falha ao entrar"
@@ -4163,3 +4163,19 @@ msgstr "Размер интерфейса изменён — перезапус
msgid "Extra small"
msgstr "Очень маленький"
# Login-screen browser-flow narration (2026-07-02)
msgid "Sign in with your browser"
msgstr "Войти через браузер"
msgid "Continue in your web browser — QBZ is waiting for you to finish signing in."
msgstr "Продолжите в веб-браузере — QBZ ждёт, пока вы завершите вход."
msgid "The browser may open in the background without taking focus — check your other windows."
msgstr "Браузер может открыться в фоне, не перехватывая фокус — проверьте другие окна."
msgid "Signing you in…"
msgstr "Выполняется вход…"
msgid "Sign-in failed"
msgstr "Не удалось войти"