Fixes #1624 - Avatar extension check - lang part

Edit error_avatartype message. Now it reflects all supported extensions.
Second part for this: #1627 

(I am sorry for 2 PRs)