Replaced shit code with proper string formatting and plurals.