def progress_type(text):
    """Return plain progress text, turning aliases into their value."""
    return {'dot': '.', 'percent': '{percent}%\n', 'pages':
        '{page}/{total}\n', 'none': ''}.get(text, text)
