def replace_in_string_list(the_list, the_dict):
    """
    Replace all keys with their values in each string of 'the_list'.
    :param the_list: a list of strings
    :param the_dict: replacement dictionary
    :return: processed list
    """
    tmp = []
    for line in the_list:
        for key, val in the_dict.items():
            line = line.replace(key, val)
        tmp.append(line)
    return tmp