A free, self-hostable news aggregator…
Changement du nom poche en wallabag
Marien Fressinauddbfa9228358f
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.phpindex 70144a8db..645f9eabf 100755--- a/app/Controllers/configureController.php+++ b/app/Controllers/configureController.php@@ -196,7 +196,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {if (Minz_Request::isPost ()) {$this->view->conf->_sharing (array('shaarli' => Minz_Request::param ('shaarli', false),- 'poche' => Minz_Request::param ('poche', false),+ 'wallabag' => Minz_Request::param ('wallabag', false),'diaspora' => Minz_Request::param ('diaspora', false),'twitter' => Minz_Request::param ('twitter', false),'g+' => Minz_Request::param ('g+', false),diff --git a/app/Models/Configuration.php b/app/Models/Configuration.phpindex f3fb76e72..2a7fe95aa 100644--- a/app/Models/Configuration.php+++ b/app/Models/Configuration.php@@ -48,7 +48,7 @@ class FreshRSS_Configuration {'bottomline_link' => true,'sharing' => array('shaarli' => '',- 'poche' => '',+ 'wallabag' => '','diaspora' => '','twitter' => true,'g+' => true,@@ -185,7 +185,7 @@ class FreshRSS_Configuration {}}public function _sharing ($values) {- $are_url = array ('shaarli', 'poche', 'diaspora');+ $are_url = array ('shaarli', 'wallabag', 'diaspora');foreach ($values as $key => $value) {if (in_array($key, $are_url)) {$is_url = (diff --git a/app/i18n/en.php b/app/i18n/en.phpindex 8073ecf51..a2cc461c5 100644--- a/app/i18n/en.php+++ b/app/i18n/en.php@@ -210,7 +210,7 @@ return array ('scroll' => 'during page scrolls','upon_reception' => 'upon reception of the article','your_shaarli' => 'Your Shaarli',- 'your_poche' => 'Your Poche',+ 'your_wallabag' => 'Your wallabag','your_diaspora_pod' => 'Your Diaspora* pod','sharing' => 'Sharing','share' => 'Share',@@ -221,7 +221,7 @@ return array ('more_information' => 'More information','activate_sharing' => 'Activate sharing','shaarli' => 'Shaarli',- 'poche' => 'Poche',+ 'wallabag' => 'wallabag','diaspora' => 'Diaspora*','twitter' => 'Twitter','g+' => 'Google+',diff --git a/app/i18n/fr.php b/app/i18n/fr.phpindex 3dad497ae..9ab06ba26 100644--- a/app/i18n/fr.php+++ b/app/i18n/fr.php@@ -210,7 +210,7 @@ return array ('scroll' => 'au défilement de la page','upon_reception' => 'dès la réception du nouvel article','your_shaarli' => 'Votre Shaarli',- 'your_poche' => 'Votre Poche',+ 'your_wallabag' => 'Votre wallabag','your_diaspora_pod' => 'Votre pod Diaspora*','sharing' => 'Partage','share' => 'Partager',@@ -221,7 +221,7 @@ return array ('more_information' => 'Plus d’informations','activate_sharing' => 'Activer le partage','shaarli' => 'Shaarli',- 'poche' => 'Poche',+ 'wallabag' => 'wallabag','diaspora' => 'Diaspora*','twitter' => 'Twitter','g+' => 'Google+',diff --git a/app/views/configure/sharing.phtml b/app/views/configure/sharing.phtmlindex 9dc733392..e3ea11665 100644--- a/app/views/configure/sharing.phtml+++ b/app/views/configure/sharing.phtml@@ -17,13 +17,13 @@</div><div class="form-group">- <label class="group-name" for="poche">- <?php echo Minz_Translate::t ('your_poche'); ?>+ <label class="group-name" for="wallabag">+ <?php echo Minz_Translate::t ('your_wallabag'); ?></label><div class="group-controls">- <input type="url" id="poche" name="poche" class="extend" value="<?php echo $this->conf->sharing ('poche'); ?>" placeholder="<?php echo Minz_Translate::t ('blank_to_disable'); ?>" size="64" />+ <input type="url" id="wallabag" name="wallabag" class="extend" value="<?php echo $this->conf->sharing ('wallabag'); ?>" placeholder="<?php echo Minz_Translate::t ('blank_to_disable'); ?>" size="64" />- <?php echo FreshRSS_Themes::icon('help'); ?> <a target="_blank" href="http://www.inthepoche.com/"><?php echo Minz_Translate::t ('more_information'); ?></a>+ <?php echo FreshRSS_Themes::icon('help'); ?> <a target="_blank" href="http://www.wallabag.org"><?php echo Minz_Translate::t ('more_information'); ?></a></div></div>diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtmlindex 1c2ed49e2..7b7faccee 100644--- a/app/views/helpers/view/normal_view.phtml+++ b/app/views/helpers/view/normal_view.phtml@@ -9,11 +9,11 @@ if (!empty($this->entries)) {$display_others = true;if ($this->loginOk) {$shaarli = $this->conf->sharing ('shaarli');- $poche = $this->conf->sharing ('poche');+ $wallabag = $this->conf->sharing ('wallabag');$diaspora = $this->conf->sharing ('diaspora');} else {$shaarli = '';- $poche = '';+ $wallabag = '';$diaspora = '';}$twitter = $this->conf->sharing ('twitter');@@ -30,7 +30,7 @@ if (!empty($this->entries)) {$bottomline_read = $this->conf->bottomline_read;$bottomline_favorite = $this->conf->bottomline_favorite;$bottomline_sharing = $this->conf->bottomline_sharing && (- $shaarli || $poche || $diaspora || $twitter ||+ $shaarli || $wallabag || $diaspora || $twitter ||$google_plus || $facebook || $email || $print);$bottomline_tags = $this->conf->bottomline_tags;$bottomline_date = $this->conf->bottomline_date;@@ -152,10 +152,10 @@ if (!empty($this->entries)) {<?php echo Minz_Translate::t ('shaarli'); ?></a></li>- <?php } if ($poche) { ?>+ <?php } if ($wallabag) { ?><li class="item">- <a target="_blank" href="<?php echo $poche . '?action=add&url=' . base64_encode (urldecode($link)); ?>">- <?php echo Minz_Translate::t ('poche'); ?>+ <a target="_blank" href="<?php echo $wallabag . '?action=add&url=' . base64_encode (urldecode($link)); ?>">+ <?php echo Minz_Translate::t ('wallabag'); ?></a></li><?php } if ($diaspora) { ?>