Fixed typos, retouched translations, added code formatting