Add filename in the message
This commit is contained in:
parent
b03ed2f503
commit
635e2bb9a8
1 changed files with 3 additions and 1 deletions
|
@ -1772,8 +1772,10 @@ class gPodder(BuilderWidget, dbus.service.Object):
|
|||
def save_episodes_as_file(self, episodes):
|
||||
def do_save_episode(copy_from, copy_to):
|
||||
if os.path.exists(copy_to):
|
||||
logger.warn(copy_from)
|
||||
logger.warn(copy_to)
|
||||
title = _('File already exist')
|
||||
message = _('A file with this name already exist. Do you want to replace it?')
|
||||
message = _('A file named "%s" already exist. Do you want to replace it?') % os.path.basename(copy_to)
|
||||
if not self.show_confirmation(message, title):
|
||||
return
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue