/* ── LESSON PACK: ESSENTIALS A1–B1 ── Loads after learn-lessons-grammar.jsx — pushes into window.LESSONS_DATA. Uses existing groups: basics, prepositions, tenses. */ window.LESSONS_DATA.push( /* ─── ARTICLES A/AN/THE ─── */ { id:'articles-a-an-the', level:'A1', icon:'🚦', group:'basics', title:{ en:'Articles — a, an, the', ar:'أدوات التعريف والتنكير — a, an, the', tr:'Artikeller — a, an, the' }, summary:{ en:'The three smallest words in English — and the most common mistake for Arabic and Turkish speakers.', ar:'أصغر ثلاث كلمات في الإنجليزية — وأكثر خطأ شائع لمتحدثي العربية والتركية.', tr:'İngilizcenin en küçük üç kelimesi — ve Arapça ile Türkçe konuşanların en yaygın hatası.', }, sections:[ { type:'concept', title:{ en:'The core rule', ar:'القاعدة الأساسية' }, body:{ en:'**a / an** = one thing, not specific, first mention. *a report, an engineer.*\n**the** = a specific thing — both you and the listener know which one. *the report I sent you.*\n**no article** = plurals and uncountables in general. *Engineers solve problems. Water is important.*\nUse **an** before a vowel SOUND: *an hour* (silent h), but *a university* (sounds like "yu").', ar:'**a / an** = شيء واحد غير محدد، يُذكر لأول مرة. *a report, an engineer.*\n**the** = شيء محدد — أنت والمستمع تعرفان أيّه. *the report I sent you.*\n**بدون أداة** = الجمع وغير المعدود بشكل عام. *Engineers solve problems.*\nنستخدم **an** قبل صوت العلة: *an hour* (الـ h صامتة)، لكن *a university*.', }}, { type:'table', title:{ en:'Quick decision table', ar:'جدول القرار السريع' }, headers:['Situation','Article','Example'], rows:[ ['First mention, one thing','a / an','I found a bug.'], ['Second mention / known thing','the','The bug is in line 40.'], ['Only one exists','the','the sun, the internet, the CEO'], ['Plural, in general','—','Sensors are cheap now.'], ['Uncountable, in general','—','Safety is our priority.'], ['Specific uncountable','the','The data from the last test.'], ]}, { type:'examples', title:{ en:'In real work sentences', ar:'في جمل عمل حقيقية' }, items:[ { en:'We need an engineer for the night shift.', ar:'نحتاج مهندساً لوردية الليل.', ctx:'First mention → an; known shift → the' }, { en:'I wrote a report. The report is on your desk.', ar:'كتبت تقريراً. التقرير على مكتبك.', ctx:'New → a; known → the' }, { en:'The client approved the design.', ar:'وافق العميل على التصميم.', ctx:'Both known' }, { en:'Meetings waste time when they have no agenda.', ar:'الاجتماعات تضيع الوقت عندما تكون بلا جدول.', ctx:'General plural → no article' }, { en:'She has an hour before the flight.', ar:'لديها ساعة قبل الرحلة.', ctx:'an + vowel sound' }, ]}, { type:'note', title:{ en:'Pitfall for Arabic & Turkish speakers', ar:'تحذير لمتحدثي العربية والتركية' }, body:{ en:'Some languages have no articles at all, and some have only "the". The most common errors: ❌ *I am engineer* → ✅ *I am an engineer.* ❌ *The life is difficult* → ✅ *Life is difficult* (general uncountable takes no article).', ar:'العربية فيها "ال" لكن ليس فيها "a/an". الأخطاء الأكثر شيوعاً: ❌ *I am engineer* → ✅ *I am an engineer.* ❌ *The life is difficult* → ✅ *Life is difficult*.', }}, ], practice:[ { type:'mcq', q:'I am ___ engineer.', options:['a','an','the','—'], a:1, explainEn:'"Engineer" starts with a vowel sound → an.', explainAr:'engineer تبدأ بصوت علة → an.' }, { type:'mcq', q:'___ sun heats the panels all day.', options:['A','An','The','—'], a:2, explainEn:'Only one sun exists → the.', explainAr:'الشمس واحدة فقط → the.' }, { type:'mcq', q:'___ safety is important in every factory.', options:['A','An','The','— (no article)'], a:3, explainEn:'Uncountable, general meaning → no article.', explainAr:'غير معدود بمعنى عام → بدون أداة.' }, { type:'fill', q:'She works at ___ university in Istanbul. (a/an/the)', a:'a', explainEn:'"University" starts with a "yu" sound → a.', explainAr:'university تبدأ بصوت "يو" → a.' }, { type:'fill', q:'I fixed a bug yesterday. ___ bug was in the login code. (a/an/the)', a:'the', explainEn:'Second mention → the.', explainAr:'الذكر الثاني → the.' }, { type:'fill', q:'The meeting starts in ___ hour. (a/an/the)', a:'an', explainEn:'"Hour" has a silent h — vowel sound → an.', explainAr:'الـ h في hour صامتة → an.' }, ], }, /* ─── PREPOSITIONS IN/ON/AT ─── */ { id:'prep-in-on-at', level:'A1', icon:'📌', group:'prepositions', title:{ en:'in, on, at — Time & Place', ar:'in, on, at — الزمان والمكان', tr:'in, on, at — Zaman ve Yer' }, summary:{ en:'Three tiny words, one simple system: big → medium → small.', ar:'ثلاث كلمات صغيرة، نظام واحد بسيط: كبير ← متوسط ← صغير.', tr:'Üç küçük kelime, tek basit sistem: büyük → orta → küçük.', }, sections:[ { type:'concept', title:{ en:'The triangle rule', ar:'قاعدة المثلث' }, body:{ en:'Think of a triangle from big to small:\n**in** = big containers: *in 2026, in July, in Riyadh, in the office.*\n**on** = surfaces and days: *on Monday, on 5 May, on the desk, on the wall.*\n**at** = exact points: *at 9:00, at noon, at the door, at the airport.*', ar:'تخيل مثلثاً من الكبير إلى الصغير:\n**in** = الحاويات الكبيرة: *in 2026, in July, in Riyadh.*\n**on** = الأسطح والأيام: *on Monday, on the desk.*\n**at** = النقاط الدقيقة: *at 9:00, at the door.*', }}, { type:'table', title:{ en:'Time at a glance', ar:'الزمان بنظرة واحدة' }, headers:['Preposition','Used for','Examples'], rows:[ ['in','years, months, seasons, parts of day','in 2026 · in March · in winter · in the morning'], ['on','days and dates','on Friday · on 12 June · on my birthday'], ['at','clock times, points','at 8:30 · at noon · at night · at the weekend (UK)'], ]}, { type:'examples', title:{ en:'Place examples', ar:'أمثلة المكان' }, items:[ { en:'The team works in Dubai, in a tall building.', ar:'يعمل الفريق في دبي، في مبنى مرتفع.', ctx:'in = inside / city' }, { en:'The drawings are on the table.', ar:'المخططات على الطاولة.', ctx:'on = surface' }, { en:'Meet me at the main gate at 7:45.', ar:'قابلني عند البوابة الرئيسية في ٧:٤٥.', ctx:'at = exact point + time' }, { en:'The sensor is on the wall, in the server room.', ar:'المستشعر على الجدار، في غرفة الخوادم.', ctx:'surface + container' }, ]}, { type:'note', title:{ en:'Pitfall', ar:'تحذير' }, body:{ en:'❌ *in Monday* → ✅ *on Monday.* ❌ *at the morning* → ✅ *in the morning.* But: ✅ *at night* (fixed phrase).', ar:'❌ *in Monday* → ✅ *on Monday.* ❌ *at the morning* → ✅ *in the morning.* لكن: ✅ *at night* (عبارة ثابتة).', }}, ], practice:[ { type:'mcq', q:'The inspection is ___ Tuesday.', options:['in','on','at','by'], a:1, explainEn:'Days → on.', explainAr:'الأيام → on.' }, { type:'mcq', q:'The project started ___ 2024.', options:['in','on','at','from'], a:0, explainEn:'Years → in.', explainAr:'السنوات → in.' }, { type:'mcq', q:'The standup meeting is ___ 9:15.', options:['in','on','at','by'], a:2, explainEn:'Clock times → at.', explainAr:'الساعات → at.' }, { type:'fill', q:'I check emails ___ the morning. (in/on/at)', a:'in', explainEn:'Parts of the day → in (but "at night").', explainAr:'أجزاء اليوم → in.' }, { type:'fill', q:'The manual is ___ the shelf. (in/on/at)', a:'on', explainEn:'Surface → on.', explainAr:'سطح → on.' }, { type:'fill', q:'Wait for me ___ the entrance. (in/on/at)', a:'at', explainEn:'Exact point → at.', explainAr:'نقطة محددة → at.' }, ], }, /* ─── MODALS MUST/SHOULD/CAN ─── */ { id:'modals-must-should-can', level:'A2', icon:'🧭', group:'basics', title:{ en:'Modals — must, should, can', ar:'الأفعال الناقصة — must, should, can', tr:'Modal Fiiller — must, should, can' }, summary:{ en:'How strong is your sentence? Rules, advice, and ability — the engineer\'s three most useful modals.', ar:'ما مدى قوة جملتك؟ القواعد والنصائح والقدرة — أهم ثلاثة أفعال ناقصة للمهندس.', tr:'Cümlen ne kadar güçlü? Kurallar, tavsiyeler ve yetenek — mühendisin en faydalı üç modal fiili.', }, sections:[ { type:'concept', title:{ en:'The strength scale', ar:'مقياس القوة' }, body:{ en:'**must / mustn\'t** = rule or law, no choice. *You must wear a helmet on site.*\n**should / shouldn\'t** = advice, best practice. *You should back up your files daily.*\n**can / can\'t** = ability or permission. *She can read circuit diagrams. You can leave early today.*\nAfter every modal: the BASE verb, never -s, never to. ❌ *must to go*, ❌ *can goes*.', ar:'**must / mustn\'t** = قاعدة أو قانون، لا خيار. *You must wear a helmet.*\n**should / shouldn\'t** = نصيحة وأفضل ممارسة. *You should back up daily.*\n**can / can\'t** = قدرة أو إذن. *She can read circuit diagrams.*\nبعد كل فعل ناقص: الفعل الأساسي، بلا -s وبلا to. ❌ *must to go*.', }}, { type:'table', title:{ en:'Compare the strength', ar:'قارن القوة' }, headers:['Sentence','Meaning','Strength'], rows:[ ['You must test before release.','Company rule — required','100%'], ['You should test twice.','Good advice','70%'], ['You can test on my machine.','Permission / option','allowed'], ['You mustn\'t share the password.','Forbidden','0% — never'], ['You don\'t have to come Friday.','Not necessary (but allowed!)','optional'], ]}, { type:'note', title:{ en:'The classic trap', ar:'الفخ الكلاسيكي' }, body:{ en:'**mustn\'t** ≠ **don\'t have to**! *You mustn\'t enter* = forbidden. *You don\'t have to enter* = it is optional. Mixing these two can cause real problems in safety instructions.', ar:'**mustn\'t** ≠ **don\'t have to**! الأولى تعني ممنوع، والثانية تعني غير ضروري. الخلط بينهما قد يسبب مشاكل حقيقية في تعليمات السلامة.', }}, { type:'examples', title:{ en:'On the job', ar:'في العمل' }, items:[ { en:'Visitors must sign in at reception.', ar:'يجب على الزوار التسجيل في الاستقبال.', ctx:'Rule' }, { en:'You should update the firmware first.', ar:'من الأفضل تحديث البرنامج الثابت أولاً.', ctx:'Advice' }, { en:'I can join the call at 3, but not earlier.', ar:'أستطيع الانضمام للمكالمة في الثالثة.', ctx:'Ability' }, { en:'You mustn\'t bypass the safety switch.', ar:'يُمنع تجاوز مفتاح الأمان.', ctx:'Forbidden' }, { en:'You don\'t have to attend — I\'ll send notes.', ar:'لست مضطراً للحضور — سأرسل الملاحظات.', ctx:'Optional' }, ]}, ], practice:[ { type:'mcq', q:'Safety rule: workers ___ wear helmets in this area.', options:['can','should','must','could'], a:2, explainEn:'A rule with no choice → must.', explainAr:'قاعدة بلا خيار → must.' }, { type:'mcq', q:'You ___ share your password with anyone. (forbidden)', options:['don\'t have to','mustn\'t','shouldn\'t','can\'t to'], a:1, explainEn:'Forbidden → mustn\'t.', explainAr:'ممنوع → mustn\'t.' }, { type:'mcq', q:'She ___ speak three languages.', options:['can','must','should','can to'], a:0, explainEn:'Ability → can + base verb.', explainAr:'قدرة → can.' }, { type:'mcq', q:'Which sentence means "it is optional"?', options:['You mustn\'t come.','You don\'t have to come.','You can\'t come.','You must come.'], a:1, explainEn:'Don\'t have to = not necessary, but allowed.', explainAr:'don\'t have to تعني غير ضروري لكنه مسموح.' }, { type:'fill', q:'You ___ (advice) test the code before you push it.', a:'should', explainEn:'Advice → should.', explainAr:'نصيحة → should.' }, { type:'fill', q:'After a modal we use the ___ form of the verb. (base/ing)', a:'base', explainEn:'must go, can read — never "to" or "-s".', explainAr:'بعد الفعل الناقص نستخدم الفعل الأساسي.' }, ], }, /* ─── PAST SIMPLE VS PRESENT PERFECT ─── */ { id:'past-vs-perfect', level:'B1', icon:'⚔️', group:'tenses', title:{ en:'Past Simple vs Present Perfect', ar:'الماضي البسيط مقابل المضارع التام', tr:'Past Simple ve Present Perfect Karşılaştırması' }, summary:{ en:'"I did" or "I have done"? The single most useful tense decision in professional English.', ar:'"I did" أم "I have done"؟ أهم قرار زمني في الإنجليزية المهنية.', tr:'"I did" mi "I have done" mu? Profesyonel İngilizcedeki en faydalı zaman kararı.', }, sections:[ { type:'concept', title:{ en:'One question decides', ar:'سؤال واحد يحسم' }, body:{ en:'Ask: **is the time finished and known?**\nYES → Past Simple: *I sent the report yesterday.*\nNO (time is open, or the result matters now) → Present Perfect: *I have sent the report — you can read it now.*\nWords like *yesterday, last week, in 2023, two hours ago* lock you into Past Simple. Words like *just, already, yet, ever, since, for* signal Present Perfect.', ar:'اسأل: **هل الوقت منتهٍ ومعروف؟**\nنعم → الماضي البسيط: *I sent the report yesterday.*\nلا (الوقت مفتوح أو النتيجة مهمة الآن) → المضارع التام: *I have sent the report.*\nكلمات مثل *yesterday, last week, ago* تفرض الماضي البسيط. كلمات مثل *just, already, yet, since, for* تشير إلى المضارع التام.', }}, { type:'table', title:{ en:'Same fact, two meanings', ar:'حقيقة واحدة، معنيان' }, headers:['Sentence','Meaning'], rows:[ ['I worked in Dubai for two years.','Finished — I don\'t work there now.'], ['I have worked in Dubai for two years.','Still true — I work there now.'], ['Did you see the error log?','At a specific past moment.'], ['Have you seen the error log?','At any time until now — is it done?'], ['The server crashed at 2 a.m.','Report of a past event.'], ['The server has crashed!','It is down RIGHT NOW — act!'], ]}, { type:'note', title:{ en:'Pitfall', ar:'تحذير' }, body:{ en:'Never combine Present Perfect with a finished time. ❌ *I have seen him yesterday* → ✅ *I saw him yesterday.* And for "how long" with since/for: ❌ *I work here since 2021* → ✅ *I have worked here since 2021.*', ar:'لا تجمع المضارع التام مع وقت منتهٍ. ❌ *I have seen him yesterday* → ✅ *I saw him yesterday.* ومع since/for: ✅ *I have worked here since 2021.*', }}, { type:'examples', title:{ en:'In status updates', ar:'في تحديثات العمل' }, items:[ { en:'We have fixed the login bug. (it works now)', ar:'أصلحنا خطأ تسجيل الدخول. (يعمل الآن)', ctx:'Result now' }, { en:'We fixed it on Tuesday, before the release.', ar:'أصلحناه يوم الثلاثاء قبل الإصدار.', ctx:'Known past time' }, { en:'Have you ever used this framework?', ar:'هل سبق أن استخدمت هذا الإطار؟', ctx:'Life experience' }, { en:'She has been our client since 2022.', ar:'هي عميلتنا منذ ٢٠٢٢.', ctx:'Continues now' }, ]}, ], practice:[ { type:'mcq', q:'I ___ the report yesterday.', options:['have finished','finished','have finish','finish'], a:1, explainEn:'"Yesterday" = finished time → Past Simple.', explainAr:'yesterday وقت منتهٍ → الماضي البسيط.' }, { type:'mcq', q:'We ___ the new sensors — they are working well now.', options:['installed in 2023','have installed','install','were installing yesterday'], a:1, explainEn:'Result matters now, no finished time → Present Perfect.', explainAr:'النتيجة مهمة الآن → المضارع التام.' }, { type:'mcq', q:'She ___ here since 2021.', options:['works','worked','has worked','is working'], a:2, explainEn:'since + continuing situation → Present Perfect.', explainAr:'since + وضع مستمر → المضارع التام.' }, { type:'mcq', q:'___ you ever ___ to Japan?', options:['Did / go','Have / been','Do / go','Had / gone'], a:1, explainEn:'Life experience, time open → Have you ever been…?', explainAr:'تجربة حياتية بوقت مفتوح → Have you ever been.' }, { type:'fill', q:'The tests ___ (fail) two hours ago.', a:'failed', explainEn:'"ago" → Past Simple.', explainAr:'ago → الماضي البسيط.' }, { type:'fill', q:'I ___ already ___ (send) the invoice — check your inbox. (two words)', a:'have sent', explainEn:'already + result now → Present Perfect.', explainAr:'already + نتيجة الآن → المضارع التام.' }, ], }, /* ─── PASSIVE BASICS ─── */ { id:'passive-basics', level:'B1', icon:'🔧', group:'basics', title:{ en:'The Passive — was built, is made', ar:'المبني للمجهول — was built, is made', tr:'Edilgen Çatı — was built, is made' }, summary:{ en:'The voice of technical writing: when the action matters more than the person who did it.', ar:'صوت الكتابة التقنية: عندما يكون الفعل أهم من فاعله.', tr:'Teknik yazının sesi: eylemin, onu yapan kişiden daha önemli olduğu durumlar.', }, sections:[ { type:'concept', title:{ en:'How it works', ar:'كيف يعمل' }, body:{ en:'**Form:** be + past participle (V3). *The bridge **was built** in 1973. The parts **are made** in Turkey.*\n**Use the passive when:** (1) the doer is unknown or unimportant, (2) the process/result is the focus, (3) you write reports, manuals, and specifications.\nAdd the doer only if it matters: *…was designed **by** Gustave Eiffel.*', ar:'**التركيب:** be + التصريف الثالث. *The bridge **was built** in 1973.*\n**نستخدم المبني للمجهول عندما:** (1) الفاعل مجهول أو غير مهم، (2) التركيز على العملية أو النتيجة، (3) في التقارير والكتيبات والمواصفات.\nأضف الفاعل فقط إذا كان مهماً: *…was designed **by** Gustave Eiffel.*', }}, { type:'table', title:{ en:'Active → Passive', ar:'من المعلوم إلى المجهول' }, headers:['Active','Passive'], rows:[ ['Workers test every unit.','Every unit is tested.'], ['They built the metro in five years.','The metro was built in five years.'], ['Someone has updated the firmware.','The firmware has been updated.'], ['You must check the valves weekly.','The valves must be checked weekly.'], ]}, { type:'examples', title:{ en:'Where you will see it', ar:'أين ستراه' }, items:[ { en:'The samples were sent to the lab on Monday.', ar:'أُرسلت العينات إلى المختبر يوم الاثنين.', ctx:'Report' }, { en:'This device is powered by a lithium battery.', ar:'يعمل هذا الجهاز ببطارية ليثيوم.', ctx:'Manual' }, { en:'All visitors are required to wear helmets.', ar:'يُطلب من جميع الزوار ارتداء الخوذات.', ctx:'Safety sign' }, { en:'The issue has been resolved.', ar:'تم حل المشكلة.', ctx:'Status update' }, ]}, { type:'note', title:{ en:'Don\'t overuse it', ar:'لا تفرط في استخدامه' }, body:{ en:'Passive is professional in reports — but too much makes writing heavy. In emails, prefer active for actions YOU will take: ✅ *I will send the update Friday* — not *The update will be sent.*', ar:'المبني للمجهول مهني في التقارير — لكن كثرته تجعل الكتابة ثقيلة. في الإيميلات، استخدم المعلوم لأفعالك: ✅ *I will send the update Friday.*', }}, ], practice:[ { type:'mcq', q:'The metro ___ in five years.', options:['built','was built','has built','is building'], a:1, explainEn:'be + V3 → was built.', explainAr:'be + التصريف الثالث → was built.' }, { type:'mcq', q:'These parts ___ in Turkey.', options:['make','are made','is made','are making'], a:1, explainEn:'Plural subject, present → are made.', explainAr:'فاعل جمع في المضارع → are made.' }, { type:'mcq', q:'The valves must ___ weekly.', options:['check','be checked','are checked','to check'], a:1, explainEn:'modal + be + V3.', explainAr:'فعل ناقص + be + التصريف الثالث.' }, { type:'mcq', q:'Which is the best status update?', options:['Someone resolved the issue.','The issue has been resolved.','The issue resolved.','Resolving the issue was done.'], a:1, explainEn:'Present perfect passive — result now, doer unimportant.', explainAr:'المضارع التام المبني للمجهول — النتيجة الآن.' }, { type:'fill', q:'The tower ___ (design) by Gustave Eiffel. (two words)', a:'was designed', explainEn:'Past passive: was + designed.', explainAr:'ماضٍ مبني للمجهول: was designed.' }, { type:'fill', q:'The firmware has been ___ (update).', a:'updated', explainEn:'has been + V3.', explainAr:'has been + التصريف الثالث.' }, ], }, );