phpbb/phpbb3 — pull request #766 by erikfrerejean (2012-04-19 10:32:55+00:00)
Title: [ticket/10831] Pass language entries into `msg_handler`

Update the msg_handler so it is possible to pass a language
entry as first argument of trigger_error. The msg_handler
then calls `$msg_text = $user->lang($msg_text)` to get the
appropriate language entry.
This will also make the $msg_long_text "hack" obsolete.

PHPBB3-10831