Use ellipsis character instead of '...' for deleted titles.

This commit is contained in:
auouymous 2022-06-07 13:34:15 -06:00
parent a9726153c7
commit f8d1b22909
1 changed files with 2 additions and 2 deletions

View File

@ -2929,9 +2929,9 @@ class gPodder(BuilderWidget, dbus.service.Object):
def format_delete_message(self, message, things, max_things, max_length):
titles = []
for index, thing in zip(range(max_things), things):
titles.append('' + (html.escape(thing.title if len(thing.title) <= max_length else thing.title[:max_length] + '...')))
titles.append('' + (html.escape(thing.title if len(thing.title) <= max_length else thing.title[:max_length] + '')))
if len(things) > max_things:
titles.append('+%(count)d more ...' % {'count': len(things) - max_things})
titles.append('+%(count)d more ' % {'count': len(things) - max_things})
return '\n'.join(titles) + '\n\n' + message
def delete_episode_list(self, episodes, confirm=True, callback=None, undownload=False):