Translated some code into english (from catalan).