better message when Anki can't create a profile folder

This commit is contained in:
Soren I. Bjornstad 2014-06-20 10:00:44 -05:00
parent b4784b7437
commit 50e0d0b811

View File

@ -88,8 +88,10 @@ class ProfileManager(object):
# can't translate, as lang not initialized
QMessageBox.critical(
None, "Error", """\
Anki can't write to the harddisk. Please see the \
documentation for information on using a flash drive.""")
Anki could not create the folder %s. Please ensure that location is not \
read-only and you have permission to write to it. If you cannot fix this \
issue, please see the documentation for information on running Anki from \
a flash drive.""" % self.base)
raise
# Profile load/save