diff --git a/app/pages/classroom.vue b/app/pages/classroom.vue index a6e897c..487d503 100644 --- a/app/pages/classroom.vue +++ b/app/pages/classroom.vue @@ -1112,17 +1112,6 @@ mdi-eye-outline Show model answer -
@@ -3322,15 +3311,6 @@ const targetPhrase = computed(() => { return displayCallsign(prompt(scenario.value), scenario.value) }) -const correctReadbackText = computed(() => { - if (!activeLesson.value || !scenario.value) return '' - return activeLesson.value.readback.map(seg => { - if (seg.type === 'text') return typeof seg.text === 'function' ? seg.text(scenario.value!) : seg.text - const field = activeLesson.value!.fields.find(f => f.key === seg.key) - return field ? field.expected(scenario.value!) : '' - }).join('').trim() -}) - // Pair each input field with its preceding text label so they wrap together // as a single visual unit — otherwise the label (e.g. "runway") can land on // one line while the input lands on the next, forcing the user to look up to @@ -3358,12 +3338,6 @@ const clozeGroups = computed(() => { return groups }) -async function speakCorrectReadback() { - const text = correctReadbackText.value - if (!text || ttsLoading.value) return - await say(text) -} - const lessonInfo = computed(() => (activeLesson.value && scenario.value ? activeLesson.value.info(scenario.value) : [])) const lessonReference = computed(() => { diff --git a/shared/data/learnModules.ts b/shared/data/learnModules.ts index 01ee3f3..11941d9 100644 --- a/shared/data/learnModules.ts +++ b/shared/data/learnModules.ts @@ -568,7 +568,7 @@ const readbackLessons: Lesson[] = [ keywords: ['Delivery', 'Readback'], hints: [ 'Remember the order: destination – SID – runway – altitude – squawk.', - 'Speak altitude and squawk digits clearly.' + 'Use the prescribed ICAO pronunciations for altitude and squawk digits.' ], fields: [ {