I don’t speak spanish very well, so, I’ll try to explain it in the best way.
Revenue is an amount of money or credit that you earn for doing an productive activity (this revenue includes costs, taxes, ...) and earnings is the result that you get when you divide the net income between shares outstanding.
I hope it helps you!