def _context_of_message(self, message):
        context_node = message.parentNode
        context_name_element = _getElementByTagName(context_node, "name")
        if context_name_element.firstChild:
            if context_name_element.firstChild.nodeValue:
                context_name = escape_context(
                    [context_name_element.firstChild.nodeValue])
            else:
                context_name = []
        else:
            context_name = []
        try:
            c_node = _getElementByTagName(message, "comment")
            comment_text = _getText(c_node.childNodes)
            if comment_text:
                comment = escape_context([comment_text])
            else:
                comment = []
        except LinguistParseError, e:
            comment = []
        return (context_name + comment) or "None"
Returns mnemonic for ``n`` if ``0 <= n <= 31`` or ``None``.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/formats/qt.py/LinguistHandler._context_of_message--crossover with--dataset/ETHPy150Open base4sistemas/pyescpos/escpos/asc.py/mnemonic