def add(ctxt, id, str, fuzzy, messages):
    """Add a non-fuzzy translation to the dictionary."""
    if not fuzzy and str:
        if ctxt is None:
            messages[id] = str
        else:
            messages[b'%b\x04%b' % (ctxt, id)] = str
