fix(qt): explain blocked QConnect logout
Keep fail-closed teardown semantics while telling the user how to recover when logout cannot proceed safely. cx
This commit is contained in:
9 files changed
+30
No files matched your search
@@ -6248,3 +6248,6 @@ msgstr "Mixerregler auswählen"
|
|||||||
|
|
||||||
msgid "Change mixer control"
|
msgid "Change mixer control"
|
||||||
msgstr "Mixerregler ändern"
|
msgstr "Mixerregler ändern"
|
||||||
|
|
||||||
|
msgid "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
|
msgstr "Qobuz Connect konnte nicht sicher beendet werden. Beenden und öffnen Sie QBZ erneut und versuchen Sie dann noch einmal, sich abzumelden."
|
||||||
@@ -1868,3 +1868,6 @@ msgstr "Choose mixer control"
|
|||||||
|
|
||||||
msgid "Change mixer control"
|
msgid "Change mixer control"
|
||||||
msgstr "Change mixer control"
|
msgstr "Change mixer control"
|
||||||
|
|
||||||
|
msgid "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
|
msgstr "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
@@ -6254,3 +6254,6 @@ msgstr "Elegir control de mezclador"
|
|||||||
|
|
||||||
msgid "Change mixer control"
|
msgid "Change mixer control"
|
||||||
msgstr "Cambiar control de mezclador"
|
msgstr "Cambiar control de mezclador"
|
||||||
|
|
||||||
|
msgid "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
|
msgstr "Qobuz Connect no pudo cerrarse de forma segura. Cierra y vuelve a abrir QBZ, y luego intenta cerrar sesión de nuevo."
|
||||||
@@ -6246,3 +6246,6 @@ msgstr "Choisir la commande de mixage"
|
|||||||
|
|
||||||
msgid "Change mixer control"
|
msgid "Change mixer control"
|
||||||
msgstr "Changer la commande de mixage"
|
msgstr "Changer la commande de mixage"
|
||||||
|
|
||||||
|
msgid "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
|
msgstr "Qobuz Connect n’a pas pu s’arrêter en toute sécurité. Quittez et rouvrez QBZ, puis réessayez de vous déconnecter."
|
||||||
@@ -6230,3 +6230,6 @@ msgstr "ミキサーコントロールを選択"
|
|||||||
|
|
||||||
msgid "Change mixer control"
|
msgid "Change mixer control"
|
||||||
msgstr "ミキサーコントロールを変更"
|
msgstr "ミキサーコントロールを変更"
|
||||||
|
|
||||||
|
msgid "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
|
msgstr "Qobuz Connect を安全に終了できませんでした。QBZ を終了して再度開き、もう一度ログアウトしてください。"
|
||||||
@@ -6236,3 +6236,6 @@ msgstr "Mixerregelaar kiezen"
|
|||||||
|
|
||||||
msgid "Change mixer control"
|
msgid "Change mixer control"
|
||||||
msgstr "Mixerregelaar wijzigen"
|
msgstr "Mixerregelaar wijzigen"
|
||||||
|
|
||||||
|
msgid "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
|
msgstr "Qobuz Connect kon niet veilig worden afgesloten. Sluit QBZ af, open het opnieuw en probeer daarna nogmaals uit te loggen."
|
||||||
@@ -6246,3 +6246,6 @@ msgstr "Escolher controlo do misturador"
|
|||||||
|
|
||||||
msgid "Change mixer control"
|
msgid "Change mixer control"
|
||||||
msgstr "Alterar controlo do misturador"
|
msgstr "Alterar controlo do misturador"
|
||||||
|
|
||||||
|
msgid "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
|
msgstr "Não foi possível encerrar o Qobuz Connect com segurança. Feche e reabra o QBZ e tente terminar sessão novamente."
|
||||||
@@ -6266,3 +6266,6 @@ msgstr "Выбрать регулятор микшера"
|
|||||||
|
|
||||||
msgid "Change mixer control"
|
msgid "Change mixer control"
|
||||||
msgstr "Изменить регулятор микшера"
|
msgstr "Изменить регулятор микшера"
|
||||||
|
|
||||||
|
msgid "Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again."
|
||||||
|
msgstr "Не удалось безопасно завершить работу Qobuz Connect. Закройте и снова откройте QBZ, затем повторите выход из учётной записи."
|
||||||
@@ -1086,12 +1086,18 @@ pub(crate) fn do_logout() {
|
|||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
integrations_qt::set_qobuz_authenticated(true);
|
integrations_qt::set_qobuz_authenticated(true);
|
||||||
deep_link_qt::set_online_session(true);
|
deep_link_qt::set_online_session(true);
|
||||||
|
crate::toast_qt::error(qbz_i18n::t(
|
||||||
|
"Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again.",
|
||||||
|
));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::error!("[qbz-qt] QConnect logout teardown failed: {e}");
|
log::error!("[qbz-qt] QConnect logout teardown failed: {e}");
|
||||||
integrations_qt::set_qobuz_authenticated(true);
|
integrations_qt::set_qobuz_authenticated(true);
|
||||||
deep_link_qt::set_online_session(true);
|
deep_link_qt::set_online_session(true);
|
||||||
|
crate::toast_qt::error(qbz_i18n::t(
|
||||||
|
"Qobuz Connect could not shut down safely. Quit and reopen QBZ, then try logging out again.",
|
||||||
|
));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user