Replaced strings with translations and removed some unused code