/**
 * The text generation features, by the key their options use
 * (wtofe_ai_model_{key}, wtofe_ai_max_tokens_{key} …). PHP sends the keys in
 * display order (WTOFE_Settings_App_Sections::TEXT_FEATURES).
 */
import { __ } from '@wordpress/i18n';

export type FeatureKey = 'title' | 'description' | 'short_description' | 'brands' | 'tags';

export function featureLabel( key: FeatureKey ): string {
    switch ( key ) {
        case 'title':
            return __( 'Product Name Generation', 'ai-content-generator-for-woocommerce' );
        case 'description':
            return __( 'Description Generation', 'ai-content-generator-for-woocommerce' );
        case 'short_description':
            return __( 'Short Description Generation', 'ai-content-generator-for-woocommerce' );
        case 'brands':
            return __( 'Brands Generation', 'ai-content-generator-for-woocommerce' );
        case 'tags':
            return __( 'Tags Generation', 'ai-content-generator-for-woocommerce' );
    }
}
