Change the color of the feed errors box and update the french translation

This commit is contained in:
Frederic Guillot 2015-01-14 20:27:38 -05:00
parent b04b2104f1
commit 32393d17af
2 changed files with 3 additions and 3 deletions

View File

@ -229,6 +229,6 @@ return array(
'Enable image proxy' => 'Activer le proxy pour les images', 'Enable image proxy' => 'Activer le proxy pour les images',
'Avoid mixed content warnings with HTTPS' => 'Évite les alertes du navigateur web en HTTPS', 'Avoid mixed content warnings with HTTPS' => 'Évite les alertes du navigateur web en HTTPS',
'Download favicons' => 'Télécharger les icônes des sites web', 'Download favicons' => 'Télécharger les icônes des sites web',
'general' => 'general', 'general' => 'général',
'An error occurred during the last check. Refresh the feed manually and check the %sconsole%s for errors afterwards!' => 'An error occurred during the last check. Refresh the feed manually and check the %sconsole%s for errors afterwards!', 'An error occurred during the last check. Refresh the feed manually and check the %sconsole%s for errors afterwards!' => 'Une erreur est survenue pendant la dernière vérification. Actualisez, le flux manuellement and vérifiez les erreurs dans la %sconsole%s !',
); );

View File

@ -18,7 +18,7 @@
<?php else: ?> <?php else: ?>
<?php if ($nb_failed_feeds > 0): ?> <?php if ($nb_failed_feeds > 0): ?>
<p class="alert alert-warning"><?= tne('An error occurred during the last check. Refresh the feed manually and check the %sconsole%s for errors afterwards!','<a href="?action=console">','</a>') ?></p> <p class="alert alert-error"><?= tne('An error occurred during the last check. Refresh the feed manually and check the %sconsole%s for errors afterwards!', '<a href="?action=console">', '</a>') ?></p>
<?php elseif ($nothing_to_read): ?> <?php elseif ($nothing_to_read): ?>
<p class="alert"><?= tne('Nothing to read, do you want to <a href="?action=refresh-all" data-action="refresh-all">update your subscriptions?</a>') ?></p> <p class="alert"><?= tne('Nothing to read, do you want to <a href="?action=refresh-all" data-action="refresh-all">update your subscriptions?</a>') ?></p>
<?php endif ?> <?php endif ?>