[Vtigercrm-commits] [vtiger-commits] r10366 - in /vtigercrm/branches/5.0.3/include: language/en_us.lang.php utils/GraphUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 6 08:50:17 EST 2007
Author: saraj
Date: Tue Mar 6 06:50:04 2007
New Revision: 10366
Log:
fix for i18n issue - Dashboard - No data available mssg. Fixes #3039 --Minnie
Modified:
vtigercrm/branches/5.0.3/include/language/en_us.lang.php
vtigercrm/branches/5.0.3/include/utils/GraphUtils.php
Modified: vtigercrm/branches/5.0.3/include/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/include/language/en_us.lang.php Tue Mar 6 06:50:04 2007
@@ -664,6 +664,8 @@
'LABEL_SET_TAX_FOR_X'=>'Set Tax for x',
'LABEL_SET_SH_TAX_FOR_COLON'=>'Set S&H Tax for :',
+'NO_DATA_AVAILABLE_WITH_SPECIFIED_PERIOD'=>'No data available with the specified time period',
+
//Added for 5.0.3
'Files_Maximum_6'=>'Files Maximum 6',
'To'=>'To:',
Modified: vtigercrm/branches/5.0.3/include/utils/GraphUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/GraphUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/GraphUtils.php Tue Mar 6 06:50:04 2007
@@ -101,7 +101,7 @@
function get_tickspacing($max = 10)
{
- global $log;
+ global $log,$app_strings;
$log->debug("Entering get_tickspacing(".$max.") method ...");
$result = array(1,1);
@@ -110,7 +110,7 @@
if($coef == 0)
{
$data=0;
- echo "<h3> No data available with the specified time period</h3>";
+ echo "<h3>".$app_strings['NO_DATA_AVAILABLE_WITH_SPECIFIED_PERIOD']."</h3>";
$log->debug("Exiting get_tickspacing method ...");
return $data;
}
More information about the vtigercrm-commits
mailing list