Skip to content

Commit

Permalink
[MovieSelection]
Browse files Browse the repository at this point in the history
* small text changes
  • Loading branch information
jbleyel committed Jan 30, 2025
1 parent f2bc8cb commit 8972e8d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/python/Screens/MovieSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1552,8 +1552,7 @@ def delete(self, *args):
preamble = f"{_("'%s' contains %d file(s) and %d sub-directories.\n") % (split(split(name)[0])[1], files, subdirs)}\n\n" if files or subdirs else ""
if TRASHCAN not in currentPath and config.usage.movielist_trashcan.value:
if isFolder(item):
# areYouSure = _("Do you really want to move '%s' to the trashcan?") % name
areYouSure = _("Do you really want to move to trashcan ?")
areYouSure = _("Do you really want to move '%s' to the trashcan?") % name
else:
args = True
if args:
Expand All @@ -1567,7 +1566,6 @@ def delete(self, *args):
msg = f"{_("Can't move to trashcan!")}\n\n"
self.session.open(MessageBox, msg, MessageBox.TYPE_ERROR, windowTitle=self.getTitle())
return
areYouSure = _("Do you really want to delete '%s'?") % name
self.session.openWithCallback(self.delete, MessageBox, f"{preamble}{areYouSure}", windowTitle=self.getTitle())
return
else:
Expand Down

0 comments on commit 8972e8d

Please sign in to comment.