mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Prompt user to apply Windows updates when SSL connection fails
See #3793
This commit is contained in:
parent
50c1155eb7
commit
f893ec63af
2 changed files with 3 additions and 1 deletions
|
@ -46,6 +46,7 @@ errors-unable-open-collection =
|
|||
|
||||
Debug info:
|
||||
errors-windows-tts-runtime-error = The TTS service failed. Please ensure Windows updates are installed, try restarting your computer, or try a different voice.
|
||||
errors-windows-ssl-updates = Secure connection failed. Please ensure Windows updates are installed, then try again.
|
||||
|
||||
## OBSOLETE; you do not need to translate this
|
||||
|
||||
|
|
|
@ -232,7 +232,8 @@ class ErrorHandler(QObject):
|
|||
if "disk I/O error" in error:
|
||||
showWarning(markdown(tr.errors_accessing_db()))
|
||||
return
|
||||
if is_chromium_cert_error(error):
|
||||
if "unable to get local issuer certificate" in error and is_win:
|
||||
showWarning(tr.errors_windows_ssl_updates())
|
||||
return
|
||||
|
||||
debug_text = supportText() + "\n" + error
|
||||
|
|
Loading…
Reference in a new issue