Spanish phrase
No tenías que ~.
Meaning
You didn't have to ___.
When to use it
Says a past action was unnecessary. It is used to politely acknowledge someone's kindness while saying it wasn't required.
Example dialogue
No tenías que comprarme un regalo.
You didn't have to buy me a gift.
No importa, me hizo mucha ilusión.
Don't worry, it made me really happy.