mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
better message when Anki can't create a profile folder
This commit is contained in:
parent
b4784b7437
commit
50e0d0b811
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue