Fix hardcoded language key when "gen_error_msg()" is called

This code is based on the code found in "class_qi.php"
https://github.com/phpbb/quickinstall/blob/master/includes/class_qi.php#L318-L331