summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-10 22:32:55 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-10 22:32:55 +0100
commitc1b48c4bc015e267f1e28693dfa0a25bf33332b5 (patch)
tree7d43288d5f0354f3da8346f8dc2238bdee4a7005
parent7dee863577aff2103277e08bf6db2f8e16b029a7 (diff)
Fix i18n for aside_stats
-rw-r--r--app/i18n/en/admin.php5
-rw-r--r--app/i18n/en/gen.php3
-rw-r--r--app/i18n/fr/admin.php5
-rw-r--r--app/layout/aside_stats.phtml8
4 files changed, 14 insertions, 7 deletions
diff --git a/app/i18n/en/admin.php b/app/i18n/en/admin.php
index 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.php
index 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.php
index 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.phtml
index 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>