def METHOD_NAME(self):
    selected = 0
    profile_option_list = [(_("None (Disabled)"), self.menu_handle, None)]
    for i, (profile_name, profile) in enumerate(self.profiles.items()):
        if (
            profile.get("subtype", None) is not None
            and not settings.shader_pack_subtype in profile["subtype"]
        ):
            continue
        name = profile["displayname"]
        if name in profile_name_translation:
            name = profile_name_translation[name]
        profile_option_list.append((name, self.menu_handle, profile_name))
        if profile_name == self.current_profile:
            selected = i + 1
    self.menu.put_menu(_("Select Shader Profile"), profile_option_list, selected)