mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Use different message for direct delete success, close #904
This commit is contained in:
parent
4c3dfe2f1f
commit
9805cba10d
13
core/app.py
13
core/app.py
@ -308,11 +308,14 @@ class DupeGuru(Broadcaster):
|
|||||||
self.problem_dialog.refresh()
|
self.problem_dialog.refresh()
|
||||||
self.view.show_problem_dialog()
|
self.view.show_problem_dialog()
|
||||||
else:
|
else:
|
||||||
msg = {
|
if jobid == JobType.COPY:
|
||||||
JobType.COPY: tr("All marked files were copied successfully."),
|
msg = tr("All marked files were copied successfully.")
|
||||||
JobType.MOVE: tr("All marked files were moved successfully."),
|
elif jobid == JobType.MOVE:
|
||||||
JobType.DELETE: tr("All marked files were successfully sent to Trash."),
|
msg = tr("All marked files were moved successfully.")
|
||||||
}[jobid]
|
elif jobid == JobType.DELETE and self.deletion_options.direct:
|
||||||
|
msg = tr("All marked files were deleted successfully.")
|
||||||
|
else:
|
||||||
|
msg = tr("All marked files were successfully sent to Trash.")
|
||||||
self.view.show_message(msg)
|
self.view.show_message(msg)
|
||||||
|
|
||||||
def _job_error(self, jobid, err):
|
def _job_error(self, jobid, err):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user