Replace _mailchimp_lists_entity_get_bundle() with the DrupalMetadataWrapper::getBundle().
Fixing undefined variable.
missing t() wrappers.