No, line 588 has a single curly brace on it: }
. The preceding two lines are commented out, and it appears that the author just failed to also comment out that line.
After deleting line 588, the working function looks like this:
function wppa_qtrans($output, $lang = '') {
if ($lang == '') {
$output = __($output);
// if (function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) {
// $output = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($output);
} else {
if (function_exists('qtrans_use')) {
$output = qtrans_use($lang, $output, false);
}
}
return $output;
}