Implements hook_node_predelete().
function translation_node_predelete(Node $node) {
// Only act if we are dealing with a content type supporting translations.
if (translation_supported_type($node->type)) {
translation_remove_from_set($node);
}
}