def get_translations(self, name):
     """
     Load template `name` and return all translatable strings (note that
     that it really just returns the strings form this template, not from
     the parent or any included templates!)
     """
     return collect_translations(self.loader.parse(name))
 def get_translations(self, name):
     """
     Load template `name` and return all translatable strings (note that
     that it really just returns the strings form this template, not from
     the parent or any included templates!)
     """
     return collect_translations(self.loader.parse(name))
 def get_translations_for_string(self, string):
     """
     Like `get_translations`, but the translations are loaded from a
     normal string that represents the template.
     """
     return collect_translations(self.parse(string))
 def get_translations_for_string(self, string):
     """
     Like `get_translations`, but the translations are loaded from a
     normal string that represents the template.
     """
     return collect_translations(self.parse(string))