import { useTranslation } from "@/hooks/useTranslation"; import { getModelDisplayName } from "@/lib/modelNames"; interface SentenceWord { word: string; provider: 'player' | 'ai'; } interface GuessDescriptionProps { sentence: SentenceWord[]; model?: string; } export const GuessDescription = ({ sentence, model }: GuessDescriptionProps) => { const t = useTranslation(); return (

{t.guess.you} {" "}{t.guess.and}{" "} {model ? getModelDisplayName(model) : t.guess.aiModel} {" "}{t.guess.providedDescription}

{sentence.map((wordObj, index) => ( {wordObj.word} ))}

); };