def METHOD_NAME(cls, message, user):
    if message.variable:
        t = Template(message.text.replace('%', '&#37;'))
        c = Context({
            "last_name": user.last_name,
            "first_name": user.first_name,
        })
        return t.render(c)
    return message.text