better message when Anki can't create a profile folder
This commit is contained in:
parent
b4784b7437
commit
50e0d0b811
@ -88,8 +88,10 @@ class ProfileManager(object):
|
|||||||
# can't translate, as lang not initialized
|
# can't translate, as lang not initialized
|
||||||
QMessageBox.critical(
|
QMessageBox.critical(
|
||||||
None, "Error", """\
|
None, "Error", """\
|
||||||
Anki can't write to the harddisk. Please see the \
|
Anki could not create the folder %s. Please ensure that location is not \
|
||||||
documentation for information on using a flash drive.""")
|
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
|
raise
|
||||||
|
|
||||||
# Profile load/save
|
# Profile load/save
|
||||||
|
Loading…
Reference in New Issue
Block a user