A free, self-hostable news aggregator…
Fix i18n for aside subscription
Marien Fressinaud2f24f0fe882a
diff --git a/app/i18n/en/gen.php b/app/i18n/en/gen.phpindex c762713c1..f98c40c5b 100644--- a/app/i18n/en/gen.php+++ b/app/i18n/en/gen.php@@ -110,7 +110,6 @@ return array('before_yesterday' => 'Before yesterday','blank_to_disable' => 'Leave blank to disable','blogotext' => 'Blogotext',- 'bookmark' => 'Subscribe (FreshRSS bookmark)','bottom_line' => 'Bottom line','bugs_reports' => 'Bugs reports','by' => 'by',@@ -235,7 +234,6 @@ return array('http_username' => 'HTTP username','img_with_lazyload' => 'Use "lazy load" mode to load pictures','import' => 'Import',- 'import_export' => 'Import / export','informations' => 'Information','install_not_deleted' => 'Something went wrong; you must delete the file <em>%s</em> manually.','installation_is_ok' => 'The installation process was successful.<br />The final step will now attempt to delete any file and database backup created during the update process.<br />You may choose to skip this step by deleting <kbd>./data/do-install.txt</kbd> manually.',diff --git a/app/i18n/en/sub.php b/app/i18n/en/sub.phpindex e64b6ca4b..d915a18a7 100644--- a/app/i18n/en/sub.php+++ b/app/i18n/en/sub.php@@ -7,4 +7,9 @@ return array('feeds' => array('over_max' => 'You have reached your limit of feeds (%d)',),+ 'menu' => array(+ 'bookmark' => 'Subscribe (FreshRSS bookmark)',+ 'import_export' => 'Import / export',+ 'subscription_management' => 'Subscriptions management',+ ),);diff --git a/app/i18n/fr/gen.php b/app/i18n/fr/gen.phpindex 9d9624cc8..06a08eb0a 100644--- a/app/i18n/fr/gen.php+++ b/app/i18n/fr/gen.php@@ -110,7 +110,6 @@ return array('before_yesterday' => 'À partir d’avant-hier','blank_to_disable' => 'Laissez vide pour désactiver','blogotext' => 'Blogotext',- 'bookmark' => 'S’abonner (bookmark FreshRSS)','bottom_line' => 'Ligne du bas','bugs_reports' => 'Rapports de bugs','by' => 'par',@@ -235,7 +234,6 @@ return array('http_username' => 'Identifiant HTTP','img_with_lazyload' => 'Utiliser le mode “chargement différé” pour les images','import' => 'Importer',- 'import_export' => 'Importer / exporter','informations' => 'Informations','install_not_deleted' => 'Quelque chose s’est mal passé, vous devez supprimer le fichier <em>%s</em> à la main.','installation_is_ok' => 'L’installation s’est bien passée.<br />La dernière étape va maintenant tenter de supprimer les fichiers ainsi que d’éventuelles copies de base de données créés durant le processus de mise à jour.<br />Vous pouvez choisir de sauter cette étape en supprimant <kbd>./data/do-install.txt</kbd> manuellement.',@@ -421,11 +419,8 @@ return array('stats_entry_per_month' => 'Par mois (moyenne : %.2f messages)','stats_entry_repartition' => 'Répartition des articles','stats_feed_per_category' => 'Flux par catégorie',- 'stats_idle' => 'Flux inactifs',- 'stats_main' => 'Statistiques principales','stats_no_idle' => 'Il n’y a aucun flux inactif !','stats_percent_of_total' => '%% du total',- 'stats_repartition' => 'Répartition des articles','stats_top_feed' => 'Les dix plus gros flux','status_favorites' => 'favoris','status_read' => 'lus',diff --git a/app/i18n/fr/sub.php b/app/i18n/fr/sub.phpindex 6ef4002a6..7bb52b113 100644--- a/app/i18n/fr/sub.php+++ b/app/i18n/fr/sub.php@@ -7,4 +7,9 @@ return array('feeds' => array('over_max' => 'Vous avez atteint votre limite de flux (%d)',),+ 'menu' => array(+ 'bookmark' => 'S’abonner (bookmark FreshRSS)',+ 'import_export' => 'Importer / exporter',+ 'subscription_management' => 'Gestion des abonnements',+ ),);diff --git a/app/layout/aside_subscription.phtml b/app/layout/aside_subscription.phtmlindex cbf5df67d..8a54e2dc2 100644--- a/app/layout/aside_subscription.phtml+++ b/app/layout/aside_subscription.phtml@@ -1,17 +1,17 @@<ul class="nav nav-list aside">- <li class="nav-header"><?php echo _t('subscription_management'); ?></li>+ <li class="nav-header"><?php echo _t('sub.menu.subscription_management'); ?></li><li class="item<?php echo Minz_Request::controllerName() == 'subscription' ? ' active' : ''; ?>">- <a href="<?php echo _url('subscription', 'index'); ?>"><?php echo _t('subscription_management'); ?></a>+ <a href="<?php echo _url('subscription', 'index'); ?>"><?php echo _t('sub.menu.subscription_management'); ?></a></li><li class="item<?php echo Minz_Request::controllerName() == 'importExport' ? ' active' : ''; ?>">- <a href="<?php echo _url('importExport', 'index'); ?>"><?php echo _t('import_export'); ?></a>+ <a href="<?php echo _url('importExport', 'index'); ?>"><?php echo _t('sub.menu.import_export'); ?></a></li><li class="item"><a onclick="return false;" href="javascript:(function(){var%20url%20=%20location.href;window.open('<?php echo Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true); ?>&url_rss='+encodeURIComponent(url), '_blank');})();">- <?php echo _t('bookmark'); ?>+ <?php echo _t('sub.menu.bookmark'); ?></a></li></ul>