[ticket/11923] Attempt to translate errors only if user can change avatar

http://tracker.phpbb.com/browse/PHPBB3-11923