[ticket/12610] Fix coding style and language mistakes.

PHPBB3-12610