{result.message}
) : null} {body ?{body}
: null} {translation.translation ? ({translation.translation}
) : null} {translation.note ? ({translation.note}
) : null} {translation.alternatives.length ? ({question.prompt}
{t("Quiz stars: {{count}}", { count: reward.stars })}
) : null} > ); } function QuestionHelp({ questionId, materialId, locator, context, disabled, onBusyChange, onError, }: { questionId: string; materialId: string; locator: number; context: QuizHelpContext; disabled: boolean; onBusyChange: (busy: boolean) => void; onError: (message: string) => void; }) { const { t, i18n } = useTranslation(); const [result, setResult] = useState{t("Select text from this question's reading section first.")}
: null} {busy ?{t("Working on it…")}
: null} {count > 0 ?{t("Recorded help: {{count}}", { count })}
: null} {result ? (