Display error message on template delete failure

If some error occurs when a template is deleted, no message is displayed
to the user.

Display an error message so the user knows something went wrong.

A new translation entry has been added: "Failed to delete template.".

Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com>