예제 #1
0
def getChatActionName(actionID):
    actionName = _ACTIONS.getActionName(actionID)
    i18nKey = I18N_MESSENGER.chat_action(actionName)
    if i18nKey is not None:
        i18nName = i18n.makeString(i18nKey)
    else:
        i18nName = actionName
    return i18nName
예제 #2
0
def getChatActionName(actionID):
    actionName = _ACTIONS.getActionName(actionID)
    i18nKey = I18N_MESSENGER.chat_action(actionName)
    if i18nKey is not None:
        i18nName = i18n.makeString(i18nKey)
    else:
        i18nName = actionName
    return i18nName
 def lookupName(self, rqTypeID):
     return _ACTIONS.getActionName(rqTypeID)
예제 #4
0
 def getName(self):
     return _ACTIONS.getActionName(self.actionID)
예제 #5
0
 def lookupName(self, rqTypeID):
     return _ACTIONS.getActionName(rqTypeID)
예제 #6
0
 def getName(self):
     return _ACTIONS.getActionName(self.actionID)
예제 #7
0
 def messenger_onActionByServer_chat2(self, actionID, reqID, args):
     from messenger_common_chat2 import MESSENGER_ACTION_IDS as actions
     LOG_DEBUG('messenger_onActionByServer', actions.getActionName(actionID), reqID, args)
     MessengerEntry.g_instance.protos.BW_CHAT2.onActionReceived(actionID, reqID, args)