mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Catch altered translation of 'unknown error'
https://forums.ankiweb.net/t/how-to-solve-this-problem-trouble-report/32402
This commit is contained in:
parent
61f7c70d3c
commit
e7ee99c5fb
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,9 @@ def is_chromium_cert_error(error: str) -> bool:
|
|||
List derived with:
|
||||
qtwebengine-chromium% rg --no-heading --no-filename --no-line-number \
|
||||
3380365263193509176 | perl -pe 's/.*>(.*)<.*/"$1",/' | sort | uniq
|
||||
|
||||
This list has been manually updated to add a different Japanese translation, as
|
||||
the translations may change in different Chromium releases.
|
||||
|
||||
Judging by error reports, we can't assume the error falls on a separate line:
|
||||
https://forums.ankiweb.net/t/topic/22036/
|
||||
|
@ -135,6 +138,7 @@ def is_chromium_cert_error(error: str) -> bool:
|
|||
"မသိရ အမှား",
|
||||
"កំហុសឆ្គងមិនស្គាល់",
|
||||
"不明なエラー",
|
||||
"未知のエラー",
|
||||
"未知的錯誤",
|
||||
"未知错误",
|
||||
):
|
||||
|
|
Loading…
Reference in a new issue