Marien Fressinaud 11 лет назад
Родитель
Сommit
c1b48c4bc0
4 измененных файлов с 14 добавлено и 7 удалено
  1. 5 0
      app/i18n/en/admin.php
  2. 0 3
      app/i18n/en/gen.php
  3. 5 0
      app/i18n/fr/admin.php
  4. 4 4
      app/layout/aside_stats.phtml

+ 5 - 0
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)',
 	),

+ 0 - 3
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',

+ 5 - 0
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)',
 	),

+ 4 - 4
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>