A free, self-hostable news aggregator…
Lien pour ajouter des flux quand FreshRSS est vide
Alexandre Alapetitefd26178d7ca8
diff --git a/app/FreshRSS.php b/app/FreshRSS.phpindex 52f34c6e2..40e1d23db 100644--- a/app/FreshRSS.php+++ b/app/FreshRSS.php@@ -117,7 +117,7 @@ class FreshRSS extends Minz_FrontController {$theme = FreshRSS_Themes::load($this->conf->theme);if ($theme) {foreach($theme['files'] as $file) {- Minz_View::appendStyle (Minz_Url::display ('/themes/' . $theme['id'] . '/' . $file . '?' . @filemtime(PUBLIC_PATH . '/themes/' . $theme['path'] . '/' . $file)));+ Minz_View::appendStyle (Minz_Url::display ('/themes/' . $theme['id'] . '/' . $file . '?' . @filemtime(PUBLIC_PATH . '/themes/' . $theme['id'] . '/' . $file)));}}diff --git a/app/i18n/en.php b/app/i18n/en.phpindex 71ca9538f..c90563036 100644--- a/app/i18n/en.php+++ b/app/i18n/en.php@@ -157,7 +157,7 @@ return array ('not_yet_implemented' => 'Not yet implemented','access_protected_feeds' => 'Connection allows to access HTTP protected RSS feeds','no_selected_feed' => 'No feed selected.',- 'think_to_add' => 'Think to add RSS feeds!',+ 'think_to_add' => '<a href="./?c=configure&a=feed">Remember to add some RSS feeds!</a>','current_user' => 'Current user','default_user' => 'Username of the default user (maximum 16 alphanumeric characters)',@@ -242,7 +242,7 @@ return array ('before_yesterday' => 'Before yesterday','by_author' => 'By <em>%s</em>','related_tags' => 'Related tags',- 'no_feed_to_display' => 'No feed to show.',+ 'no_feed_to_display' => 'There is no feed to show yet.','about_freshrss' => 'About FreshRSS','project_website' => 'Project website',diff --git a/app/i18n/fr.php b/app/i18n/fr.phpindex 8ffc5ec88..37f847f4d 100644--- a/app/i18n/fr.php+++ b/app/i18n/fr.php@@ -157,7 +157,7 @@ return array ('not_yet_implemented' => 'Pas encore implémenté','access_protected_feeds' => 'La connexion permet d’accéder aux flux protégés par une authentification HTTP','no_selected_feed' => 'Aucun flux sélectionné.',- 'think_to_add' => 'Pensez à en ajouter !',+ 'think_to_add' => '<a href="./?c=configure&a=feed">Pensez à en ajouter !</a>','current_user' => 'Utilisateur actuel','password' =>'Mot de passe<br /><small>(pour connexion par formulaire)</small>',@@ -242,7 +242,7 @@ return array ('before_yesterday' => 'À partir d’avant-hier','by_author' => 'Par <em>%s</em>','related_tags' => 'Tags associés',- 'no_feed_to_display' => 'Il n’y a aucun flux à afficher.',+ 'no_feed_to_display' => 'Il n’y a aucun flux à afficher pour l’instant.','about_freshrss' => 'À propos de FreshRSS','project_website' => 'Site du projet',diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtmlindex 7e4457ecc..40c840e5d 100644--- a/app/views/helpers/view/normal_view.phtml+++ b/app/views/helpers/view/normal_view.phtml@@ -217,5 +217,6 @@ if (!empty($this->entries)) {<?php } else { ?><div id="stream" class="alert alert-warn normal"><span class="alert-head"><?php echo Minz_Translate::t ('no_feed_to_display'); ?></span>+ <?php echo Minz_Translate::t ('think_to_add'); ?></div>-<?php } ?>\ No newline at end of file+<?php } ?>diff --git a/app/views/helpers/view/reader_view.phtml b/app/views/helpers/view/reader_view.phtmlindex 55d7bb99e..bda96e86d 100644--- a/app/views/helpers/view/reader_view.phtml+++ b/app/views/helpers/view/reader_view.phtml@@ -44,5 +44,6 @@ if (!empty($this->entries)) {<?php } else { ?><div id="stream" class="alert alert-warn reader"><span class="alert-head"><?php echo Minz_Translate::t ('no_feed_to_display'); ?></span>+ <?php echo Minz_Translate::t ('think_to_add'); ?></div>-<?php } ?>\ No newline at end of file+<?php } ?>diff --git a/p/themes/Dark/global.css b/p/themes/Dark/global.cssindex 04eb723f1..c76e3b1ba 100644--- a/p/themes/Dark/global.css+++ b/p/themes/Dark/global.css@@ -464,6 +464,10 @@ input, select, textarea {font-weight: bold;font-size: 110%;}+ .alert > a {+ color: inherit;+ text-decoration: underline;+ }.alert-warn {border: 1px solid #c95;color: #c95;diff --git a/p/themes/Flat/global.css b/p/themes/Flat/global.cssindex 5fd0a4dcf..df9c9f8c9 100644--- a/p/themes/Flat/global.css+++ b/p/themes/Flat/global.css@@ -469,6 +469,10 @@ input, select, textarea {font-weight: bold;font-size: 110%;}+ .alert > a {+ color: inherit;+ text-decoration: underline;+ }.alert-warn {background: #ffe;border: 1px solid #eeb;diff --git a/p/themes/Origine/global.css b/p/themes/Origine/global.cssindex 49f3aa4cd..23e190330 100644--- a/p/themes/Origine/global.css+++ b/p/themes/Origine/global.css@@ -477,6 +477,10 @@ input, select, textarea {font-weight: bold;font-size: 110%;}+ .alert > a {+ color: inherit;+ text-decoration: underline;+ }.alert-warn {background: #ffe;border: 1px solid #eeb;