def __getEmptyListMsg(self, hasMessages):
     """
     Gets formatted empty list message
     """
     if not hasMessages:
         return _ms(MESSENGER.LISTVIEW_EMPTYLIST_TEMPLATE, listType=_ms(MESSENGER.listview_emptylist(self.__currentGroup)))
     return ''
 def __getEmptyListMsg(self, hasMessages):
     """
     Gets formatted empty list message
     """
     if not hasMessages:
         return _ms(MESSENGER.LISTVIEW_EMPTYLIST_TEMPLATE, listType=_ms(MESSENGER.listview_emptylist(self.__currentGroup)))
     return ''
Ejemplo n.º 3
0
 def __getEmptyListMsg(self, hasMessages):
     return _ms(MESSENGER.LISTVIEW_EMPTYLIST_TEMPLATE,
                listType=_ms(
                    MESSENGER.listview_emptylist(
                        self.__currentGroup))) if not hasMessages else ''