notadictionary.com
Cuando a la mañana siguiente te das cuenta
→ “When you realize in the morning after that”
Cuando [dāng shí] — When — sets up a scenario, like 'at the moment when'.
a — in (the) — preposition indicating time.
la mañana [mài tiān] — morning — literal: 'tomorrow', but used here for 'the next morning'.
siguiente [jìng xià] — next — literally 'following', describing what comes after.
te — you (reflexive pronoun) — emphasizes it's about you.
das — get / realize — from the verb 'darse cuenta' (to realize).
cuenta [kuài] — account / realization — part of the phrase 'darse cuenta' (to realize).
notadictionary.com
de que esa persona quería ligar contigo
→ “that that person wanted to hit on you”
de — of / from — introduces the content of the realization.
que [qiě] — that — connects the main clause to the subordinate clause.
esa [nà ge] — that (fem. singular) — points to a specific person previously mentioned or implied.
persona [rén] — person — literally 'human being'.
quería [yào] — wanted (imperfect tense) — past desire or intention.
ligar [lián'ai] — to hit on / flirt — slang term for trying to seduce someone.
contigo [tóng nǐ] — with you — reflexive pronoun emphasizing interaction with the speaker.