A free, self-hostable news aggregator…
Fix i18n for aside_stats
Marien Fressinaudc1b48c4bc015
diff --git a/app/i18n/en/admin.php b/app/i18n/en/admin.phpindex 74f01ae06..cf8d8bd00 100644--- a/app/i18n/en/admin.php+++ b/app/i18n/en/admin.php@@ -86,6 +86,11 @@ return array('ok' => 'You have ZIP extension.',),),+ 'stats' => array(+ 'idle' => 'Idle feeds',+ 'main' => 'Main statistics',+ 'repartition' => 'Articles repartition',+ ),'users' => array('articles_and_size' => '%s articles (%s)',),diff --git a/app/i18n/en/gen.php b/app/i18n/en/gen.phpindex 3bc2c5ac6..c762713c1 100644--- a/app/i18n/en/gen.php+++ b/app/i18n/en/gen.php@@ -421,11 +421,8 @@ return array('stats_entry_per_month' => 'Per month (average: %.2f messages)','stats_entry_repartition' => 'Entries repartition','stats_feed_per_category' => 'Feeds per category',- 'stats_idle' => 'Idle feeds',- 'stats_main' => 'Main statistics','stats_no_idle' => 'There is no idle feed!','stats_percent_of_total' => '%% of total',- 'stats_repartition' => 'Articles repartition','stats_top_feed' => 'Top ten feeds','status_favorites' => 'Favourites','status_read' => 'Read',diff --git a/app/i18n/fr/admin.php b/app/i18n/fr/admin.phpindex ad1fae6c0..3d7201439 100644--- a/app/i18n/fr/admin.php+++ b/app/i18n/fr/admin.php@@ -86,6 +86,11 @@ return array('ok' => 'Vous disposez de l\'extension ZIP.',),),+ 'stats' => array(+ 'idle' => 'Flux inactifs',+ 'main' => 'Statistiques principales',+ 'repartition' => 'Répartition des articles',+ ),'users' => array('articles_and_size' => '%s articles (%s)',),diff --git a/app/layout/aside_stats.phtml b/app/layout/aside_stats.phtmlindex 1cd31a99c..559087df1 100644--- a/app/layout/aside_stats.phtml+++ b/app/layout/aside_stats.phtml@@ -1,12 +1,12 @@<ul class="nav nav-list aside">- <li class="nav-header"><?php echo _t('stats'); ?></li>+ <li class="nav-header"><?php echo _t('admin.stats'); ?></li><li class="item<?php echo Minz_Request::actionName() == 'index' ? ' active' : ''; ?>">- <a href="<?php echo _url('stats', 'index'); ?>"><?php echo _t('stats_main'); ?></a>+ <a href="<?php echo _url('stats', 'index'); ?>"><?php echo _t('admin.stats.main'); ?></a></li><li class="item<?php echo Minz_Request::actionName() == 'idle' ? ' active' : ''; ?>">- <a href="<?php echo _url('stats', 'idle'); ?>"><?php echo _t('stats_idle'); ?></a>+ <a href="<?php echo _url('stats', 'idle'); ?>"><?php echo _t('admin.stats.idle'); ?></a></li><li class="item<?php echo Minz_Request::actionName() == 'repartition' ? ' active' : ''; ?>">- <a href="<?php echo _url('stats', 'repartition'); ?>"><?php echo _t('stats_repartition'); ?></a>+ <a href="<?php echo _url('stats', 'repartition'); ?>"><?php echo _t('admin.stats.repartition'); ?></a></li></ul>