mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
direct user to help page when file not in utf-8
This commit is contained in:
parent
ea32bce31c
commit
1f239c1e67
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class TextImporter(Importer):
|
||||||
except UnicodeDecodeError, e:
|
except UnicodeDecodeError, e:
|
||||||
raise ImportFormatError(
|
raise ImportFormatError(
|
||||||
type="encodingError",
|
type="encodingError",
|
||||||
info=_("The file was not in UTF8 format."))
|
info=_("Please save in UTF-8 format. Click help for info."))
|
||||||
if len(row) != self.numFields:
|
if len(row) != self.numFields:
|
||||||
log.append(_(
|
log.append(_(
|
||||||
"'%(row)s' had %(num1)d fields, "
|
"'%(row)s' had %(num1)d fields, "
|
||||||
|
|
Loading…
Reference in a new issue