Better message indicating which folder will be deleted, to ensure that the user only deletes the one that really want to delete.
This commit is contained in:
parent
2f8a8dc1e4
commit
be34851f32
2 changed files with 2 additions and 3 deletions
|
|
@ -410,7 +410,7 @@ class devede_project:
|
|||
|
||||
if os.path.exists(data.path):
|
||||
ask_w = devede.ask.ask_window()
|
||||
retval = ask_w.run(_("The selected folder already exists. If you continue, it will be deleted. Continue?"),_("Delete folder"))
|
||||
retval = ask_w.run(_("The selected folder already exists. To create the project, Devede must delete it.\nIf you continue, the folder\n\n <b>%s</b>\n\n and all its contents <b>will be deleted</b>. Continue?") % data.path,_("Delete folder"))
|
||||
if retval:
|
||||
shutil.rmtree(data.path,True)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue