was ending, was coming to an end, had just
Siempre me hacía ilusiones y siempre acababa en nada.
I always got my hopes up, and it always ended up being nothing.
— Amarcord (1973)
Nos casamos cuando el pequeño acababa de nacer.
We got married when the little one had just been born.
— Los cuatrocientos golpes (1959)
Con el narcotráfico fuera de juego, la fiesta de los corruptos se acababa.
With drug trafficking out of the picture, the party for the corrupt was over.
— Tropa de élite 2 (2010)
Mucha gente acababa de perder una fortuna.
A lot of people had just lost a fortune.
Y justo cuando la oruga pensó que se acababa el mundo, se convirtió en mariposa.
And just when the caterpillar thought the world was ending, it turned into a butterfly.