Revision: 2566
          https://sourceforge.net/p/mrbs/code/2566/
Author:   cimorrison
Date:     2012-11-28 09:52:48 +0000 (Wed, 28 Nov 2012)
Log Message:
-----------
Fixed bug resulting in button labels in the report form not being translated

Modified Paths:
--------------
    mrbs/trunk/web/report.php

Modified: mrbs/trunk/web/report.php
===================================================================
--- mrbs/trunk/web/report.php   2012-11-27 18:28:48 UTC (rev 2565)
+++ mrbs/trunk/web/report.php   2012-11-28 09:52:48 UTC (rev 2566)
@@ -246,8 +246,8 @@
     {
       case 'output':
         echo "<div id=\"div_output\">\n";
-        $buttons = array(REPORT  => "report",
-                         SUMMARY => "summary");
+        $buttons = array(REPORT  => get_vocab('report'),
+                         SUMMARY => get_vocab('summary'));
         $params = array('label'   => get_vocab('output') . ":",
                         'name'    => 'output',
                         'value'   => $vars['output'],
@@ -259,8 +259,8 @@
         
       case 'output_format':
         echo "<div id=\"div_format\">\n";
-        $buttons = array(OUTPUT_HTML => "html",
-                         OUTPUT_CSV  => "csv");
+        $buttons = array(OUTPUT_HTML => get_vocab('html'),
+                         OUTPUT_CSV  => get_vocab('csv'));
         // The iCal output button
         if ($times_somewhere) // We can't do iCalendars for periods yet
         {
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to