direct user to help page when file not in utf-8

This commit is contained in:
Damien Elmes 2010-09-02 11:45:33 +09:00
parent ea32bce31c
commit 1f239c1e67

View file

@ -42,7 +42,7 @@ class TextImporter(Importer):
except UnicodeDecodeError, e:
raise ImportFormatError(
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:
log.append(_(
"'%(row)s' had %(num1)d fields, "