def get_feature_name(feature_type, product):
    ensure_product(product)
    if feature_type not in [f[0] for f in FeatureType.CHOICES]:
        raise ValueError("Unsupported Feature")
    return {
        FeatureType.USER: {
            Product.COMMCARE: _("Mobile Users"),
            Product.COMMCONNECT: _("Mobile Users"),
            Product.COMMTRACK: _("Facilities"),
        }[product],
        FeatureType.SMS: _("SMS"),
    }[feature_type]
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/accounting/user_text.py/get_feature_name/original