From 509d36c4b836f00737cc471e39617daf00a50536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Thu, 29 Aug 2013 19:54:37 -0400 Subject: [PATCH] Update french translation and typo fix --- locales/fr_FR/translations.php | 1 + templates/console.php | 2 +- vendor/PicoFeed/Client.php | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/locales/fr_FR/translations.php b/locales/fr_FR/translations.php index d513432..c27c684 100644 --- a/locales/fr_FR/translations.php +++ b/locales/fr_FR/translations.php @@ -1,6 +1,7 @@ 'Aucun message', 'flush messages' => 'supprimer les messages', 'API endpoint:' => 'URL de l\'API : ', 'API username:' => 'Identifiant pour l\'API : ', diff --git a/templates/console.php b/templates/console.php index d698e9c..c8cb7dd 100644 --- a/templates/console.php +++ b/templates/console.php @@ -7,7 +7,7 @@ -

+

diff --git a/vendor/PicoFeed/Client.php b/vendor/PicoFeed/Client.php index 8e00ced..52960cc 100644 --- a/vendor/PicoFeed/Client.php +++ b/vendor/PicoFeed/Client.php @@ -56,6 +56,7 @@ abstract class Client if ($response['status'] == 304) { $this->is_modified = false; + Logging::log(\get_called_class().' Resource not modified'); } else { $this->etag = isset($response['headers']['ETag']) ? $response['headers']['ETag'] : ''; @@ -74,7 +75,6 @@ abstract class Client foreach ($lines as $line) { if (strpos($line, 'HTTP') === 0/* && strpos($line, '301') === false && strpos($line, '302') === false*/) { - $status = (int) substr($line, 9, 3); } else if (strpos($line, ':') !== false) { @@ -87,7 +87,7 @@ abstract class Client Logging::log(\get_called_class().' HTTP status code: '.$status); foreach ($headers as $name => $value) { - Logging::log(\get_called_class().' HTTP headers: '.$name.' => '.$value); + Logging::log(\get_called_class().' HTTP header: '.$name.' => '.$value); } return array($status, $headers);