Use $phpbb_log class and fix language vars

n/a