def METHOD_NAME(self, generated_files, app_trans_generator):
    file_uploads = {}
    for resource_slug, path_to_file in generated_files:
        resource_name = self._resource_name_in_project_lang(resource_slug, app_trans_generator)
        if self.is_source_file:
            response = self.client.upload_resource(
                path_to_file,
                resource_slug,
                resource_name,
                self.update_resource
            )
        else:
            response = self.client.upload_translation(
                path_to_file, resource_slug,
                resource_name, self.source_lang
            )
        if response.status_code in [200, 201]:
            file_uploads[resource_name] = _("Successfully Uploaded")
        else:
            file_uploads[resource_name] = "{}: {}".format(response.status_code, response.content)
    return file_uploads