def METHOD_NAME(id, str, fuzzy):
    """Add a non-fuzzy translation to the dictionary."""
    global MESSAGES, nonewlines, RE_HTML
    if not fuzzy and str:
        if id.count(b"%s") == str.count(b"%s"):
            if nonewlines and id and (b"\r" in str or b"\n" in str) and RE_HTML.search(str):
                MESSAGES[id] = str.replace(b"\n", b"").replace(b"\r", b"")
            else:
                MESSAGES[id] = str
        else:
            print("WARNING: %s mismatch, skipping!")
            print("    %s" % id)
            print("    %s" % str)