notadictionary.com
教員時代、「やったけど宿題忘れました〜」って言われたら
→ “Back when I was a teacher, if someone said to me, 'I did it but I forgot my homework~'”
教員 kyōin¹ = teacher (noun)
時代 jidai = era / time period (noun)
「 = [opening quotation mark] (punctuation)
やっ yatt = do / do it (verb stem - colloquial contraction of 'yaru')
た ta = past tense marker (v. auxiliary)
けど kedo = but / however (conjunction)
宿題 shukudai = homework (noun)
忘れ wasure = forget (verb stem)
ました mashita = did (polite past tense auxiliary)
〜 = [elongation/sentiment particle] (punctuation)
」 = [closing quotation mark] (punctuation)
って tte = said that / quote marker (colloquial)
言わ iwa = say (verb stem)
れ re = passive/causative marker (v. auxiliary)
たら tara = if... happens / conditional ending