Update French translation

This commit is contained in:
Frederic Guillot 2015-04-11 10:42:23 -04:00
parent 1afb73b82d
commit 07a930cac3
2 changed files with 9 additions and 8 deletions

View File

@ -231,11 +231,11 @@ return array(
'Original link marks article as read' => 'Marquer les articles comme lu lors d\'un clic sur le lien original',
'Cloak the image referrer' => 'Falsifier le référent pour les images',
'This subscription already exists.' => 'Cet abonnement existe déjà.',
'Connection timeout.' => 'Connection timeout.',
'Error occured.' => 'Error occured.',
'Feed is malformed.' => 'Feed is malformed.',
'Invalid SSL certificate.' => 'Invalid SSL certificate.',
'Maximum number of HTTP redirections exceeded.' => 'Maximum number of HTTP redirections exceeded.',
'The content size exceeds to maximum allowed size.' => 'The content size exceeds to maximum allowed size.',
'Unable to detect the feed format.' => 'Unable to detect the feed format.',
'Connection timeout.' => 'Délai de connexion expiré.',
'Error occured.' => 'Une erreur est survenue.',
'Feed is malformed.' => 'Le flux XML est mal-formé.',
'Invalid SSL certificate.' => 'Le certificat SSL est invalide.',
'Maximum number of HTTP redirections exceeded.' => 'Nombre maximal de redirections HTTP dépassé.',
'The content size exceeds to maximum allowed size.' => 'La taille du contenu dépasse la taille maximale autorisée.',
'Unable to detect the feed format.' => 'Impossible de détecter le format du flux.',
);

View File

@ -2,6 +2,7 @@
namespace Model\Feed;
use UnexpectedValueException;
use Model\Config;
use Model\Item;
use SimpleValidator\Validator;
@ -161,7 +162,7 @@ function create($url, $enable_grabber = false, $force_rtl = false, $cloak_referr
// Feed already there
if ($db->table('feeds')->eq('feed_url', $resource->getUrl())->count()) {
throw new \UnexpectedValueException;
throw new UnexpectedValueException;
}
// Parse the feed