From 4c52592fe36f9af84579af60559f30b83d5b47fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 18 Oct 2016 13:40:25 +0200 Subject: [PATCH] Correctly localize message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/Advisor.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); }