fixed translations, format code, fixed comments