def translate_macros(macro_dic: dict, data: str)  -> str:
    """Expects a macro dictionary key:value (macro_name:macro_value) 
    and a string to replace macro. \n
    It will replace the macro_name for the macro_value in any string.
    """
    for macro_name, macro_value in macro_dic.items():
        data = data.replace(macro_name, macro_value) 

    return data