[Vtigercrm-commits] [vtiger-commits] r9696 - in /vtigercrm/branches/5.0.2/include: language/en_us.lang.php utils/DetailViewUtils.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 26 04:02:30 EDT 2006


Author: richie
Date: Thu Oct 26 02:02:24 2006
New Revision: 9696

Log:
* Fixed the i18n issue, Fixes #2448

Modified:
    vtigercrm/branches/5.0.2/include/language/en_us.lang.php
    vtigercrm/branches/5.0.2/include/utils/DetailViewUtils.php

Modified: vtigercrm/branches/5.0.2/include/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.2/include/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.2/include/language/en_us.lang.php Thu Oct 26 02:02:24 2006
@@ -1041,6 +1041,8 @@
 'Expected Response'=>'Expected Response',
 'LBL_ADDRESS_INF'=>'Address Information',
 
+'yes'=>'yes',
+
 );
 
 

Modified: vtigercrm/branches/5.0.2/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.2/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/branches/5.0.2/include/utils/DetailViewUtils.php Thu Oct 26 02:02:24 2006
@@ -333,7 +333,8 @@
 		$value = $col_fields[$fieldname];
 		if($value == 1)
 		{
-			$display_val = 'yes';
+			//Since "yes" is not been translated it is given as app strings here..
+			$display_val = $app_strings['yes'];
 		}
 		else
 		{





More information about the vtigercrm-commits mailing list