Please wrap the string in _() so that it can be translated. e.g. in this case message = _("Are you sure you want to delete these objects?")