<py:when test="'delete'"><i18n:msg params="id">Delete Ticket #$ticket.id</i18n:msg></py:when> <py:otherwise><i18n:msg params="num, id">Delete comment $cnum on Ticket #$ticket.id</i18n:msg></py:otherwise>

Delete Ticket #$ticket.id ($ticket.status $ticket.type: $ticket.resolution)

Are you sure you want to delete this ticket? (comments: ${sum(1 for change in changes if 'cnum' in change)}, attachments: ${sum(1 for change in changes if 'cnum' not in change)})
This is an irreversible operation.

Delete comment $cnum on Ticket #$ticket.id

Are you sure you want to delete this ticket comment?
This is an irreversible operation.