def ui_description(self):
     """ Return the "description" of the object for the current locale. """
     return self.descriptionByLang(get_my_lang_code())
示例#2
0
文件: comps.py 项目: aregee/Dorrie
 def ui_description(self):
     """ Return the "description" of the object for the current locale. """
     return self.descriptionByLang(get_my_lang_code())
 def ui_name(self):
     """ Return the "name" of the object for the current locale. """
     return self.nameByLang(get_my_lang_code())
示例#4
0
文件: comps.py 项目: aregee/Dorrie
 def ui_name(self):
     """ Return the "name" of the object for the current locale. """
     return self.nameByLang(get_my_lang_code())