mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Updated error message to provide help for import if 'Legacy Import/Export' is enabled (#3399)
* Updated error message to provide additional guidance for file import issues if Legacy Import/Export is enabled Enhanced the error message from "Unable to read file. It probably requires a newer version of Anki to import." to include a suggestion for users to try unchecking 'Legacy import/export Handling' under Preferences > Editing > Import/Export if they encounter the issue. * Update CONTRIBUTORS
This commit is contained in:
parent
34809f2520
commit
f496411da8
2 changed files with 2 additions and 1 deletions
|
@ -189,6 +189,7 @@ Dillon Baldwin <https://github.com/DillBal>
|
|||
Voczi <https://github.com/voczi>
|
||||
Ben Nguyen <105088397+bpnguyen107@users.noreply.github.com>
|
||||
Themis Demetriades <themis100@outlook.com>
|
||||
Gregory Abrasaldo <degeemon@gmail.com>
|
||||
|
||||
********************
|
||||
|
||||
|
|
|
@ -390,7 +390,7 @@ def importFile(mw: AnkiQt, file: str) -> None:
|
|||
showWarning(invalidZipMsg())
|
||||
except MediaMapInvalid:
|
||||
showWarning(
|
||||
"Unable to read file. It probably requires a newer version of Anki to import."
|
||||
"Unable to read file. It probably requires a newer version of Anki to import. Try unchecking 'Legacy import/export Handling' under Preferences > Editing > Import/Export and see if the problem persists."
|
||||
)
|
||||
except V2ImportIntoV1:
|
||||
showWarning(
|
||||
|
|
Loading…
Reference in a new issue