From f737889799afc25f004f98d4a89f2dc6a9854079 Mon Sep 17 00:00:00 2001 From: juanpabloacosta Date: Thu, 30 Nov 2023 17:58:03 -0500 Subject: [PATCH] Added written questions for mandarin. --- frontend/src/pages/Review.tsx | 48 +++++++++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 5 deletions(-) diff --git a/frontend/src/pages/Review.tsx b/frontend/src/pages/Review.tsx index e982cad..3570b68 100644 --- a/frontend/src/pages/Review.tsx +++ b/frontend/src/pages/Review.tsx @@ -15,41 +15,79 @@ export default function Review() { if (language === "Japanese") { reviewQuestions = [ { - question: 'Translate this sentence: 新幹線で東京に行きます。', + question: 'Translate this sentence: 新幹線で東京に行きます.', wordBank: ['Explore', 'Train', 'Will', 'City', 'I', 'Go', 'Bullet', 'To', 'Tokyo', 'By', 'Mountain'], expected: 'I will go to Tokyo by bullet train.', type: reviewType, exercise: lesson }, { - question: 'Translate this sentence: 空港で荷物を受け取ります。', + question: 'Translate this sentence: 空港で荷物を受け取ります.', wordBank: ['Sunset', 'Will', 'Ocean', 'At', 'Adventure', 'Airport', 'The', 'I', 'Receive', 'Luggage'], expected: 'I will receive luggage at the airport.', type: reviewType, exercise: lesson }, { - question: 'Translate this sentence: ホテルでチェックインします。', + question: 'Translate this sentence: ホテルでチェックインします.', wordBank: ['Culture', 'At', 'Jungle', 'Will', 'The', 'Check-In', 'Hotel', 'I', 'Historic'], expected: 'I will check in at the hotel.', type: reviewType, exercise: lesson }, { - question: 'Translate this sentence: 観光名所を訪れます。', + question: 'Translate this sentence: 観光名所を訪れます.', wordBank: ['Desert', 'Mountain', 'Beach', 'Visit', 'Attractions', 'Tourist', 'I', 'Will'], expected: 'I will visit tourist attractions.', type: reviewType, exercise: lesson }, { - question: 'Translate this sentence: 美味しい地元の食べ物を試します。', + question: 'Translate this sentence: 美味しい地元の食べ物を試します.', wordBank: ['Try', 'Market', 'Delicious', 'I', 'Food', 'Will', 'River', 'Local', 'Park'], expected: 'I will try delicious local food.', type: reviewType, exercise: lesson }, ] + } else if (language === "Mandarin Chinese") { + reviewQuestions = [ + { + question: 'Translate this sentence: 新幹線で東京に行きます.', + wordBank: ['探索', '列車', '意志', '都市', '私', '行く', '弾丸', 'へ', '東京', 'に', '山'], + expected: 'I will go to Tokyo by bullet train.', + type: reviewType, + exercise: lesson + }, + { + question: 'Translate this sentence: 空港で荷物を受け取ります.', + wordBank: ['夕日', '意志', '海洋', 'で', '冒険', '空港', 'の', '私', '受け取る', '荷物'], + expected: 'I will receive luggage at the airport.', + type: reviewType, + exercise: lesson + }, + { + question: 'Translate this sentence: ホテルでチェックインします.', + wordBank: ['文化', 'で', 'ジャングル', '意志', 'の', 'チェックイン', 'ホテル', '私', '歴史的'], + expected: 'I will check in at the hotel.', + type: reviewType, + exercise: lesson + }, + { + question: 'Translate this sentence: 観光名所を訪れます.', + wordBank: ['砂漠', '山', 'ビーチ', '訪れる', '名所', '観光客', '私', '意志'], + expected: 'I will visit tourist attractions.', + type: reviewType, + exercise: lesson + }, + { + question: 'Translate this sentence: 美味しい地元の食べ物を試します.', + wordBank: ['試す', '市場', '美味しい', '私', '食べ物', '意志', '川', '地元', '公園'], + expected: 'I will try delicious local food.', + type: reviewType, + exercise: lesson + }, + ] } navigate('/lesson', { state: { questions: reviewQuestions } }); }