diff --git a/libraries/Advisor.php b/libraries/Advisor.php index cfe4fa65e5..68814bc18d 100644 --- a/libraries/Advisor.php +++ b/libraries/Advisor.php @@ -463,8 +463,9 @@ class Advisor $lines = array(); if ($file === FALSE) { - $errors[] = __( - 'Error in reading file: The file \'' . $filename .'\' does not exist or is not readable' + $errors[] = sprintf( + __('Error in reading file: The file \'%s\' does not exist or is not readable!'), + $filename ); return array('rules' => $rules, 'lines' => $lines, 'errors' => $errors); }