(self)
return po_entries
pull translations from transifex

        :return: dict of resource_slug mapped to POEntry objects
pull translations from transifex
pull translations from transifex
def get_translations(self):
        """
        pull translations from transifex

        :return: dict of resource_slug mapped to POEntry objects
        """
        if self.version and self.use_version_postfix:
            self._ensure_resources_belong_to_version()
        po_entries = {}
        for resource_slug in self.resource_slugs:
            po_entries[resource_slug] = self.client.get_translation(resource_slug, self.source_lang,
                                                                    self.lock_translations)
        return po_entries
def get_translations ( self ) : if self . version and self . use_version_postfix : self . _ensure_resources_belong_to_version ( ) po_entries = { } for resource_slug in self . resource_slugs : po_entries [ resource_slug ] = self . client . get_translation ( resource_slug , self . source_lang , self . lock_translations ) return po_entries