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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Feb 27 04:45:00 EST 2007


Author: saraj
Date: Tue Feb 27 02:44:53 2007
New Revision: 10248

Log:
i18n for Tax type in products. Fixes #3059

Modified:
    vtigercrm/branches/5.0.3/include/language/en_us.lang.php
    vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.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 Feb 27 02:44:53 2007
@@ -604,7 +604,7 @@
 'LBL_ZERO_DISCOUNT' => 'Zero Discount',
 'LBL_OF_PRICE' => 'of Price',
 'LBL_DIRECT_PRICE_REDUCTION' => 'Direct Price Reduction',
-'LBL_INDIVIDUAL' => 'Individual',
+'LBL_INDIVIDUAL' => 'individual',
 'LBL_CPY_MAILING_ADDRESS' => 'Copy Mailing Address',
 'LBL_CPY_OTHER_ADDRESS' => 'Copy Other Address',
 'LBL_PERMISSION' => 'You are not permitted to execute this Operation',
@@ -637,6 +637,9 @@
 'LBL_END_DATE_TIME'=>'End Date & Time',
 'LBL_CREATE_MERGE_TEMPLATE'=>'Create Mail Merge templates ',
 'LBL_IMG_FORMATS'=>'(Only jpg, gif, bmp and png images)',
+//Added for Taxmode in detail view of Product Details.
+'group'=>'Group',
+'individual'=>'individual',
 );
 
 $app_list_strings = array (
@@ -731,4 +734,5 @@
     'Leads' => 'Lead',
     'Opportunities' => 'Opportunity',
   ),
+
 ); ?>

Modified: vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/branches/5.0.3/include/utils/DetailViewUtils.php Tue Feb 27 02:44:53 2007
@@ -989,6 +989,7 @@
 	global $log;
 	$log->debug("Entering getDetailAssociatedProducts(".$module.",".$focus.") method ...");
 	global $adb;
+	global $mod_strings;
 	global $theme;
 	global $log;
 	global $app_strings,$current_user;
@@ -1015,7 +1016,7 @@
 	   <tr valign="top">
 	   	<td colspan="'.$colspan.'" class="dvInnerHeader"><b>'.$app_strings['LBL_PRODUCT_DETAILS'].'</b></td>
 		<td class="dvInnerHeader" align="right"><b>'.$app_strings['LBL_TAX_MODE'].' : </b></td>
-		<td class="dvInnerHeader">'.$taxtype.'</td>
+		<td class="dvInnerHeader">'.$app_strings[$taxtype].'</td>
 	   </tr>
 	   <tr valign="top">
 		<td width=40% class="lvtCol"><font color="red">*</font>





More information about the vtigercrm-commits mailing list