def get_text(self, lang) : text = None text = i18n.get_text_from_dict(self.texts, lang) return text
def get_title(self, lang) : title = None if (lang in self.titles) : title = i18n.get_text_from_dict(self.titles, lang) if (title == None) : if (lang in self.levels[0].games[0].titles) : title = self.levels[0].games[0].get_title(lang) return title
def get_title(self, lang): title = None if (lang in self.titles): title = i18n.get_text_from_dict(self.titles, lang) if (title == None): if (lang in self.levels[0].games[0].titles): title = self.levels[0].games[0].get_title(lang) return title
def get_title(self, lang) : return i18n.get_text_from_dict(self.titles, lang)
def get_text(self, lang): text = None text = i18n.get_text_from_dict(self.texts, lang) return text
def get_title(self, lang): return i18n.get_text_from_dict(self.titles, lang)