Author: tkoomzaaskz
Date: 2010-02-21 18:10:39 +0100 (Sun, 21 Feb 2010)
New Revision: 28163

Modified:
   
plugins/tdVisitorCounterPlugin/trunk/modules/tdVisitorCounter/actions/actions.class.php
   
plugins/tdVisitorCounterPlugin/trunk/modules/tdVisitorCounter/templates/indexSuccess.php
   plugins/tdVisitorCounterPlugin/trunk/package.xml
Log:
[td][visitor_counter] release 0.1.7 - fixed wrong i18n catalogue

Modified: 
plugins/tdVisitorCounterPlugin/trunk/modules/tdVisitorCounter/actions/actions.class.php
===================================================================
--- 
plugins/tdVisitorCounterPlugin/trunk/modules/tdVisitorCounter/actions/actions.class.php
     2010-02-21 12:16:38 UTC (rev 28162)
+++ 
plugins/tdVisitorCounterPlugin/trunk/modules/tdVisitorCounter/actions/actions.class.php
     2010-02-21 17:10:39 UTC (rev 28163)
@@ -82,9 +82,9 @@
 
     //To create a bar chart we need to create a stBarOutline Object
     $bar = new stBarOutline( 80, '#78B9EC', '#3495FE' );
-    $key_label_1 = $i18n->__('Number of visitors during last', array(), 
'td_visitor_counter');
+    $key_label_1 = $i18n->__('Number of visitors during last', array(), 'td');
     $key_label_2 = $i18n->format_number_choice('[1] 1 day|(1,+Inf] %1% days',
-      array('%1%' => $day_count), $day_count, 'td_visitor_counter');
+      array('%1%' => $day_count), $day_count, 'td');
     $bar->key( $key_label_1.' '.$key_label_2, 10 );
 
     //Passing the random data to bar chart
@@ -92,7 +92,7 @@
 
     //Creating a stGraph object
     $g = new stGraph();
-    $g->title( $i18n->__('Visitors daily statistics', array(), 
'td_visitor_counter'), '{font-size: 20px;}' );
+    $g->title( $i18n->__('Visitors daily statistics', array(), 'td'), 
'{font-size: 20px;}' );
     $g->bg_colour = '#E4F5FC';
     $g->set_inner_background( '#E3F0FD', '#CBD7E6', 90 );
     $g->x_axis_colour( '#8499A4', '#E4F5FC' );
@@ -118,7 +118,7 @@
     //but its better to use max of data
     $g->set_y_max( $this->getMax($chartMax) );
     $g->y_label_steps( 5 );
-    $g->set_y_legend( $i18n->__('daily visitors count', array(), 
'td_visitor_counter'), 14, '#18A6FF' );
+    $g->set_y_legend( $i18n->__('daily visitors count', array(), 'td'), 14, 
'#18A6FF' );
     echo $g->render();
 
     return sfView::NONE;
@@ -144,9 +144,9 @@
 
     //To create a bar chart we need to create a stBarOutline Object
     $bar = new stBarOutline( 80, '#78B9EC', '#3495FE' );
-    $key_label_1 = $i18n->__('Number of visitors during last', array(), 
'td_visitor_counter');
+    $key_label_1 = $i18n->__('Number of visitors during last', array(), 'td');
     $key_label_2 = $i18n->format_number_choice('[1] 1 month|(1,+Inf] %1% 
months',
-      array('%1%' => $month_count), $month_count, 'td_visitor_counter');
+      array('%1%' => $month_count), $month_count, 'td');
     $bar->key( $key_label_1.' '.$key_label_2, 10 );
 
     //Passing the random data to bar chart
@@ -154,7 +154,7 @@
 
     //Creating a stGraph object
     $g = new stGraph();
-    $g->title( $i18n->__('Visitors monthly statistics', array(), 
'td_visitor_counter'), '{font-size: 20px;}' );
+    $g->title( $i18n->__('Visitors monthly statistics', array(), 'td'), 
'{font-size: 20px;}' );
     $g->bg_colour = '#E4F5FC';
     $g->set_inner_background( '#E3F0FD', '#CBD7E6', 90 );
     $g->x_axis_colour( '#8499A4', '#E4F5FC' );
@@ -180,7 +180,7 @@
     //but its better to use max of data
     $g->set_y_max( $this->getMax($chartMax) );
     $g->y_label_steps( 5 );
-    $g->set_y_legend( $i18n->__('monthly visitors count', array(), 
'td_visitor_counter'), 14, '#18A6FF' );
+    $g->set_y_legend( $i18n->__('monthly visitors count', array(), 'td'), 14, 
'#18A6FF' );
     echo $g->render();
 
     return sfView::NONE;

Modified: 
plugins/tdVisitorCounterPlugin/trunk/modules/tdVisitorCounter/templates/indexSuccess.php
===================================================================
--- 
plugins/tdVisitorCounterPlugin/trunk/modules/tdVisitorCounter/templates/indexSuccess.php
    2010-02-21 12:16:38 UTC (rev 28162)
+++ 
plugins/tdVisitorCounterPlugin/trunk/modules/tdVisitorCounter/templates/indexSuccess.php
    2010-02-21 17:10:39 UTC (rev 28163)
@@ -1,6 +1,6 @@
 <?php use_helper('I18N') ?>
 
-<h1><?php echo __('Visitors stats', array(), 'td_visitor_counter') ?></h1>
+<h1><?php echo __('Visitors stats', array(), 'td') ?></h1>
 
 <?php stOfc::createChart(600, 450, '@td_ofc_data_visitor_counter_monthly', 
false); ?>
 <?php stOfc::createChart(600, 450, '@td_ofc_data_visitor_counter_daily', 
false); ?>

Modified: plugins/tdVisitorCounterPlugin/trunk/package.xml
===================================================================
--- plugins/tdVisitorCounterPlugin/trunk/package.xml    2010-02-21 12:16:38 UTC 
(rev 28162)
+++ plugins/tdVisitorCounterPlugin/trunk/package.xml    2010-02-21 17:10:39 UTC 
(rev 28163)
@@ -10,10 +10,10 @@
   <email>[email protected]</email>
   <active>yes</active>
  </lead>
- <date>2010-02-08</date>
+ <date>2010-02-21</date>
  <time>11:00:00</time>
  <version>
-   <release>0.1.6</release>
+   <release>0.1.7</release>
    <api>0.1.0</api>
  </version>
  <stability>
@@ -102,7 +102,7 @@
     <package>
      <name>tdCorePlugin</name>
      <channel>plugins.symfony-project.org</channel>
-     <min>0.1.7</min>
+     <min>0.1.8</min>
     </package>
    </required>
   </dependencies>
@@ -114,6 +114,23 @@
 
    <release>
     <version>
+     <release>0.1.7</release>
+     <api>0.1.0</api>
+    </version>
+    <stability>
+     <release>beta</release>
+     <api>beta</api>
+    </stability>
+    <license uri="http://www.symfony-project.org/license";>MIT license</license>
+    <date>2010-02-21</date>
+    <license>MIT</license>
+    <notes>
+     * fixed wrong i18n catalogue name bug
+    </notes>
+   </release>
+
+   <release>
+    <version>
      <release>0.1.6</release>
      <api>0.1.0</api>
     </version>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to