# HG changeset patch # User neko259 # Date 2016-05-26 08:09:07 # Node ID 5daaaa13f298a04030af01b60c8748717b233599 # Parent c269d63f3a346fdccfc6fdc2213d2ffb6840509b Translate ban admin action diff --git a/boards/admin.py b/boards/admin.py --- a/boards/admin.py +++ b/boards/admin.py @@ -38,7 +38,7 @@ class PostAdmin(admin.ModelAdmin): hidden += posts.count() posts.delete() self.message_user(request, _('{} posters were banned, {} messages were removed.').format(bans, hidden)) - ban_latter_with_delete.short_description = 'Ban user and delete posts starting from this one and later' + ban_latter_with_delete.short_description = _('Ban user and delete posts starting from this one and later') def linked_images(self, obj: Post): images = obj.attachments.filter(mimetype__in=FILE_TYPES_IMAGE)