[Vtigercrm-commits] [vtiger-commits] r6013 - in /vtigercrm/branches/4.2/modules: Calendar/ Faq/ Home/ Home/language/ Invoice/ Settings/ Users/ Users/language/

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue May 16 01:30:38 EDT 2006


Author: allanbush
Date: Mon May 15 23:30:29 2006
New Revision: 6013

Log:
Removal of some hard coded strings as per KLeo's post here: http://forums.vtiger.com/viewtopic.php?p=24575#24575

Refs #790.


Modified:
    vtigercrm/branches/4.2/modules/Calendar/calendar_day.php
    vtigercrm/branches/4.2/modules/Faq/EditView.html
    vtigercrm/branches/4.2/modules/Faq/SearchForm.html
    vtigercrm/branches/4.2/modules/Home/UnifiedSearch.php
    vtigercrm/branches/4.2/modules/Home/language/en_us.lang.php
    vtigercrm/branches/4.2/modules/Invoice/EditView.html
    vtigercrm/branches/4.2/modules/Settings/BackupServerConfig.html
    vtigercrm/branches/4.2/modules/Settings/ComboFieldList.php
    vtigercrm/branches/4.2/modules/Settings/CustomFieldList.php
    vtigercrm/branches/4.2/modules/Users/DefaultFieldPermissions.php
    vtigercrm/branches/4.2/modules/Users/EditDefOrgFieldLevelAccess.php
    vtigercrm/branches/4.2/modules/Users/EditView.html
    vtigercrm/branches/4.2/modules/Users/ListFieldPermissions.php
    vtigercrm/branches/4.2/modules/Users/ListFldProfiles.php
    vtigercrm/branches/4.2/modules/Users/ListProfiles.php
    vtigercrm/branches/4.2/modules/Users/OrgSharingDetailView.php
    vtigercrm/branches/4.2/modules/Users/OrgSharingEditView.php
    vtigercrm/branches/4.2/modules/Users/language/en_us.lang.php
    vtigercrm/branches/4.2/modules/Users/listroles.php

Modified: vtigercrm/branches/4.2/modules/Calendar/calendar_day.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Calendar/calendar_day.php (original)
+++ vtigercrm/branches/4.2/modules/Calendar/calendar_day.php Mon May 15 23:30:29 2006
@@ -133,7 +133,7 @@
 //			inputField : "inlineCal15CallSavejscal_field", ifFormat : "%Y-%m-%d", showsTime : false, button : "inlineCal15CallSavejscal_trigger", singleClick : true, step : 1
 //		});
 		</script>
-        <td align="left" valign=top><input title='Save [Alt+S]' accessKey='S' class='button' type='submit' name='button' value=' Save ' ></td>
+        <td align="left" valign=top><input title='Save [Alt+S]' accessKey='S' class='button' type='submit' name='button' value='<?php echo $mod_strings["LBL_SAVE"]; ?>' ></td>
       </tr>
     </table>
   </form>
@@ -268,7 +268,7 @@
 	 echo " </td>\n";
 	 echo " <td align=\"center\" nowrap=\"nowrap\" class=\"calhead\">\n";
 	 //echo "&nbsp;". strftime($mod_strings['LBL_DATE_TITLE'],$from->ts) ."&nbsp;(". $mod_strings['LBL_WEEK']." ". $this->pref->menulink($callink ."calendar_week&t=".Date("Ymd",$from->ts), $wn ."/". $yy, $wn ."/". $yy ) .")&nbsp;";
-	 echo "&nbsp;". strftime($mod_strings['LBL_DATE_TITLE'],$from->ts) ."&nbsp;";
+	 echo "&nbsp;". $mod_strings['LBL_DAY'.Date("w",$ts)].", ". Date("d",$ts)." ".$mod_strings['cal_month_long'][Date("n",$ts)]." ".Date("Y",$ts) ;
 	 echo " </td>\n";
 	 echo " <td nowrap=\"nowrap\" width=\"20\" align=\"center\">\n";
      echo $this->pref->menulink($callink ."calendar_day&t=".$next_day->getYYYYMMDD(),$this->pref->getImage(right,'list'),$next_day->getDate());

Modified: vtigercrm/branches/4.2/modules/Faq/EditView.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Faq/EditView.html (original)
+++ vtigercrm/branches/4.2/modules/Faq/EditView.html Mon May 15 23:30:29 2006
@@ -55,7 +55,7 @@
     <tr> 
       <td> <table width="100%" border="0" cellspacing="1" cellpadding="2">
           <tr>
-            <th align="left" class="formSecHeader" colspan="4">FaqInformation</th>
+	    <th align="left" class="formSecHeader" colspan="4">{MOD.LBL_ACCOUNT_INFORMATION}</th>
           </tr>
           <tr> {BLOCK1} {BLOCK2} {BLOCK3} </table></td>
     </tr>

Modified: vtigercrm/branches/4.2/modules/Faq/SearchForm.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Faq/SearchForm.html (original)
+++ vtigercrm/branches/4.2/modules/Faq/SearchForm.html Mon May 15 23:30:29 2006
@@ -37,9 +37,9 @@
   <tr>
     <td> <form><table width="100%" border="0" cellspacing="1" cellpadding="2"> <tbody>
         <tr> 
-          <td class="dataLabel" noWrap>&nbsp;Question&nbsp;</td>
+          <td class="dataLabel" noWrap>&nbsp;{MOD.Question}&nbsp;</td>
           <td><input type=text size="10" name="question" value="{QUESTION}" />
-          <td class="dataLabel" noWrap>&nbsp;Category&nbsp;</td>
+          <td class="dataLabel" noWrap>&nbsp;{MOD.Category}&nbsp;</td>
           <td><input type=text size="10" name="faqcategories" value='{FAQCATEGORIES}' />
           <td rowspan='2' align="center"><input type="hidden" name="action" value="index"/><input type="hidden" name="viewname" value="{VIEWID}"/>
             <input type="hidden" name="query" value="true"/> <input type="hidden" name="module" value="Faq" />

Modified: vtigercrm/branches/4.2/modules/Home/UnifiedSearch.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Home/UnifiedSearch.php (original)
+++ vtigercrm/branches/4.2/modules/Home/UnifiedSearch.php Mon May 15 23:30:29 2006
@@ -117,7 +117,7 @@
 }
 */
 //main
-echo get_module_title("", "Search Results", true); 
+echo get_module_title("", $mod_strings['LBL_SEARCH_RESULTS'], true); 
 echo "\n<BR>\n";
 if(isset($_REQUEST['query_string']) && preg_match("/[\w]/", $_REQUEST['query_string'])) {
 	//get accounts

Modified: vtigercrm/branches/4.2/modules/Home/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Home/language/en_us.lang.php (original)
+++ vtigercrm/branches/4.2/modules/Home/language/en_us.lang.php Mon May 15 23:30:29 2006
@@ -32,6 +32,7 @@
 'ERR_ONE_CHAR'=>'Please enter at least one letter or number for your search ...',
 
 'LBL_OPEN_TASKS'=>'My Open Tasks',
+'LBL_SEARCH_RESULTS'=>'Search Results',
 );
 
 ?>

Modified: vtigercrm/branches/4.2/modules/Invoice/EditView.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Invoice/EditView.html (original)
+++ vtigercrm/branches/4.2/modules/Invoice/EditView.html Mon May 15 23:30:29 2006
@@ -167,23 +167,23 @@
   </div>
   <table width="100%" border="0" cellspacing="2" cellpadding="2" bgcolor="#FFFFFF">
     <tr> 
-	  <td width="150"><input type="button" class="button" value="Add Product" onClick="addRow()"></td>
-      <td><div align="right"><b>Sub Total:</b></div></td>
+	  <td width="150"><input type="button" class="button" value="{APP.LBL_ADD_PRODUCT}" onClick="addRow()"></td>
+      <td><div align="right"><b>{APP.LBL_SUB_TOTAL}:</b></div></td>
       <td width="150" style="padding-right:35"><div id="subTotal" align="right" style="border:1px solid #000;padding:2px">&nbsp;{SUBTOTAL}</div></td>
     </tr>
     <tr> 
 	  <td>&nbsp;</td>
-      <td><div align="right"><b>Tax:</b></div></td>
+      <td><div align="right"><b>{APP.LBL_TAX}:</b></div></td>
       <td width="150" style="padding-right:35"><div align="right"><input type="text" id="txtTax" name="txtTax" value="{TAXVALUE}" onblur="calcGrandTotal()" style="width:100%"></div></td>
     </tr>
 	<tr> 
 	  <td>&nbsp;</td>
-      <td><div align="right"><b>Adjustment:</b></div></td>
+      <td><div align="right"><b>{APP.LBL_ADJUSTMENT}:</b></div></td>
       <td width="150" style="padding-right:35"><div align="right"><input type="text" id="txtAdjustment" name="txtAdjustment" value="{ADJUSTMENTVALUE}" onblur="calcGrandTotal()" style="width:100%"></div></td>
     </tr>
     <tr> 
 	  <td>&nbsp;</td>
-      <td><div align="right"><b>Grand Total:</b></div></td>
+      <td><div align="right"><b>{APP.LBL_GRAND_TOTAL}:</b></div></td>
       <td width="150" style="padding-right:35"><div id="grandTotal" align="right" style="border:1px solid #000;padding:2px">&nbsp;{GRANDTOTAL}</div></td>
     </tr>
   </table>
@@ -228,7 +228,7 @@
 function productPickList(currObj) {
 	var trObj=currObj.parentNode.parentNode
 	var rowId=parseInt(trObj.id.substr(trObj.id.indexOf("w")+1,trObj.id.length))
-	window.open("index.php?module=Products&action=Popup&html=Popup_picker&form=HelpDeskEditView&popuptype=inventory_prod&curr_row="+rowId,"productWin","width=600,height=400,resizable=1,scrollbars=1,top=150,left=200");
+	window.open("index.php?module=Products&action=Popup&html=Popup_picker&form=HelpDeskEditView&popuptype=inventory_prod&curr_row="+rowId,"productWin","width=640,height=400,resizable=1,scrollbars=1,top=150,left=200");
 }
 
 function priceBookPickList(currObj) {
@@ -406,7 +406,7 @@
 			subTotal+=parseFloat(getObj("hdnTotal"+i).value)
 	}
 	
-	grandTotal=subTotal+parseFloat(getObj("txtTax").value)+parseFloat(getObj("txtAdjustment").value)
+	grandTotal=subTotal+parseFloat(getObj("txtTax").value)+subTotal/100*parseFloat(getObj("txtAdjustment").value)
 	
 	getObj("subTotal").innerHTML=getObj("hdnSubTotal").value=roundValue(subTotal.toString())
 	getObj("grandTotal").innerHTML=getObj("hdnGrandTotal").value=roundValue(grandTotal.toString())

Modified: vtigercrm/branches/4.2/modules/Settings/BackupServerConfig.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Settings/BackupServerConfig.html (original)
+++ vtigercrm/branches/4.2/modules/Settings/BackupServerConfig.html Mon May 15 23:30:29 2006
@@ -10,7 +10,7 @@
  ********************************************************************************/
 -->
 <!-- BEGIN: main -->
-<div align="left"><font class="required">*</font>Indicates required field</div>
+<div align="left"><font class="required">*</font>{APP.NTC_REQUIRED}</div>
 <table width="35%" border="0" cellspacing="0" cellpadding="0" class="formOuterBorder">
 <tr>
 <td>

Modified: vtigercrm/branches/4.2/modules/Settings/ComboFieldList.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Settings/ComboFieldList.php (original)
+++ vtigercrm/branches/4.2/modules/Settings/ComboFieldList.php Mon May 15 23:30:29 2006
@@ -146,13 +146,14 @@
 //Standard PickList Fields
 function getStdOutput($custFldArray, $mod_strings)
 {
+	global $app_strings;
 	$standCustFld = ''; 
 	$standCustFld .= '<table border="0" cellpadding="0" cellspacing="0" width="40%"><tr><td>';
 	$standCustFld .= get_form_header($mod_strings['LBL_STANDARD_FIELDS'], "", false );
 	$standCustFld .= '</td></tr></table>';
 	$standCustFld .= '<table border="0" cellpadding="5" cellspacing="1" class="FormBorder" width="40%">';
 	$standCustFld .= '<tr height=20>';
-	$standCustFld .= '<td class="ModuleListTitle" width="20%" style="padding:0px 3px 0px 3px;"><div><b>Operation</b></div></td>';
+	$standCustFld .= '<td class="ModuleListTitle" width="20%" style="padding:0px 3px 0px 3px;"><div><b>'.$app_strings["LBL_OPERATION"].'</b></div></td>';
 	$standCustFld .= '<td class="ModuleListTitle" height="20" style="padding:0px 3px 0px 3px;"><b>'.$mod_strings['FieldName'].'</b></td>';
 	$standCustFld .= '</tr>';
 	$i=1;
@@ -204,7 +205,7 @@
 	$cust_fld_header = get_form_header($mod_strings['CustomFields'], "", false );
 	$xtpl->assign("CUSTOMHEADER", $cust_fld_header);
 	$custom_combo_table_header = '<tr>
-		<td class="ModuleListTitle" width="20%" style="padding:0px 3px 0px 3px;"><div><b>Operation</b></div></td>
+		<td class="ModuleListTitle" width="20%" style="padding:0px 3px 0px 3px;"><div><b>'.$app_strings["LBL_OPERATION"].'</b></div></td>
         <td class="ModuleListTitle" height="20" style="padding:0px 3px 0px 3px;"><b>'.$mod_strings['FieldName'].'</b></td>
 	</tr>';
 

Modified: vtigercrm/branches/4.2/modules/Settings/CustomFieldList.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Settings/CustomFieldList.php (original)
+++ vtigercrm/branches/4.2/modules/Settings/CustomFieldList.php Mon May 15 23:30:29 2006
@@ -54,6 +54,7 @@
 function getCustomFieldList($tabid, $mod_strings, $fld_module)
 {
   global $adb;
+  global $app_strings;
         //fieldid,fieldlabel,column_name,typdesc
 
 	$dbQuery = "select fieldid,columnname,fieldlabel,uitype,displaytype from field where tabid=".$tabid." and generatedtype=2 order by sequence";
@@ -67,7 +68,7 @@
 
 $list .= '<tr height=20>';
 
-$list .= '<td class="ModuleListTitle" width="20%" style="padding:0px 3px 0px 3px;"><div><b>Operation</b></div>';
+$list .= '<td class="ModuleListTitle" width="20%" style="padding:0px 3px 0px 3px;"><div><b>'.$app_strings['LBL_OPERATION'].'</b></div>';
 
 $list .= '</td>';
 

Modified: vtigercrm/branches/4.2/modules/Users/DefaultFieldPermissions.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/DefaultFieldPermissions.php (original)
+++ vtigercrm/branches/4.2/modules/Users/DefaultFieldPermissions.php Mon May 15 23:30:29 2006
@@ -22,7 +22,7 @@
 global $app_list_strings;
 
 echo '<form action="index.php" method="post" name="new" id="form">';
-echo get_module_title("Users", $_REQUEST['fld_module'].': '.$mod_strings['LBL_FIELD_LEVEL_ACCESS'], true);
+echo get_module_title("Users", $app_strings{$_REQUEST['fld_module']}.': '.$mod_strings['LBL_FIELD_LEVEL_ACCESS'], true);
 echo '<BR>';
 
 global $adb;

Modified: vtigercrm/branches/4.2/modules/Users/EditDefOrgFieldLevelAccess.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/EditDefOrgFieldLevelAccess.php (original)
+++ vtigercrm/branches/4.2/modules/Users/EditDefOrgFieldLevelAccess.php Mon May 15 23:30:29 2006
@@ -22,7 +22,7 @@
 global $app_list_strings;
 
 echo '<form action="index.php" method="post" name="new" id="form">';
-echo get_module_title("Users", $_REQUEST['fld_module'].': '.$mod_strings['LBL_FIELD_LEVEL_ACCESS'], true);
+echo get_module_title("Users", $app_strings{$_REQUEST['fld_module']}.': '.$mod_strings['LBL_FIELD_LEVEL_ACCESS'], true);
 echo '<BR>';
 //echo get_form_header("Standard Fields", "", false );
 

Modified: vtigercrm/branches/4.2/modules/Users/EditView.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/EditView.html (original)
+++ vtigercrm/branches/4.2/modules/Users/EditView.html Mon May 15 23:30:29 2006
@@ -20,7 +20,7 @@
 <table width="100%" cellpadding="2" cellspacing="0" border="0">
 <tr>
     <td vAlign="middle" align="left"><IMG src="{IMAGE_PATH}Users.gif" border="0"></td>
-    <td class="moduleTitle" vAlign="middle" align="left" noWrap width="100%" height="20">User:  {FIRST_NAME} {LAST_NAME} ({USER_NAME})</td>
+    <td class="moduleTitle" vAlign="middle" align="left" noWrap width="100%" height="20">{MOD.LBL_USER}:  {FIRST_NAME} {LAST_NAME} ({USER_NAME})</td>
     <td nowrap class='bodySmall' align='right'>[ <A href='http://www.vtiger.com/products/crm/document.html' target='_blank'>{APP.LNK_HELP}</A> ]</td>
 </tr>
 <tr><td colspan="4"><div class="hline"><img height='1' src='include/images/blank.gif'></div></td></tr>

Modified: vtigercrm/branches/4.2/modules/Users/ListFieldPermissions.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/ListFieldPermissions.php (original)
+++ vtigercrm/branches/4.2/modules/Users/ListFieldPermissions.php Mon May 15 23:30:29 2006
@@ -22,7 +22,7 @@
 global $app_list_strings;
 
 echo '<form action="index.php" method="post" name="new" id="form">';
-echo get_module_title("Users", $_REQUEST['fld_module'].': '.$mod_strings['LBL_FIELD_LEVEL_ACCESS'], true);
+echo get_module_title("Users", $app_strings{$_REQUEST['fld_module']}.': '.$mod_strings['LBL_FIELD_LEVEL_ACCESS'], true);
 echo '<BR>';
 
 global $adb;

Modified: vtigercrm/branches/4.2/modules/Users/ListFldProfiles.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/ListFldProfiles.php (original)
+++ vtigercrm/branches/4.2/modules/Users/ListFldProfiles.php Mon May 15 23:30:29 2006
@@ -20,7 +20,7 @@
 global $app_strings;
 global $app_list_strings;
 
-echo get_module_title("Users", $_REQUEST['fld_module'].': Profiles', true);
+echo get_module_title("Users", $app_strings{$_REQUEST['fld_module']}.': Profiles', true);
 echo '<BR>';
 
 global $adb;
@@ -45,7 +45,7 @@
 {
 	global $adb;
 	echo '<table border="0" cellpadding="0" cellspacing="0" width="30%"><tr><td>';
-	echo get_form_header("Profiles", "", false );
+	echo get_form_header($mod_strings['LBL_PROFILES'], "", false );
 	echo '</td></tr></table>';
 	$standCustFld= '';
 	$standCustFld .= '<table border="0" cellpadding="5" cellspacing="1" class="FormBorder" width="30%">';

Modified: vtigercrm/branches/4.2/modules/Users/ListProfiles.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/ListProfiles.php (original)
+++ vtigercrm/branches/4.2/modules/Users/ListProfiles.php Mon May 15 23:30:29 2006
@@ -21,7 +21,7 @@
 global $app_list_strings;
 
 echo '<form action="index.php" method="post" name="new" id="form">';
-echo get_module_title("Users",' Profiles', true);
+echo get_module_title("Users", $mod_strings['LBL_PROFILES'], true);
 
 global $adb;
 global $theme;
@@ -45,12 +45,12 @@
 	$standCustFld= '';
 	$standCustFld .= '<input type="hidden" name="module" value="Users">';
 	$standCustFld .= '<input type="hidden" name="action" value="CreateProfile">';
-	$standCustFld .= '<br><input title="New" accessKey="C" class="button" type="submit" name="New" value="New Profile">';
+	$standCustFld .= '<br><input title="New" accessKey="C" class="button" type="submit" name="New" value="'.$mod_strings['LBL_NEW_PROFILE'].'">';
 	$standCustFld .= '<br><BR>'; 
 	$standCustFld .= '<table border="0" cellpadding="5" cellspacing="1" class="FormBorder" width="40%">';
 	$standCustFld .=  '<tr height=20>';
-	$standCustFld .=   '<td class="ModuleListTitle" height="20" style="padding:0px 3px 0px 3px;"><div align="center"><b>Operation</b></div></td>';
-	$standCustFld .=   '<td class="ModuleListTitle" height="20" style="padding:0px 3px 0px 3px;"><b>Profile Name</b></td>';
+	$standCustFld .=   '<td class="ModuleListTitle" height="20" style="padding:0px 3px 0px 3px;"><div align="center"><b>'.$mod_strings['LBL_OERATION'].'</b></div></td>';
+	$standCustFld .=   '<td class="ModuleListTitle" height="20" style="padding:0px 3px 0px 3px;"><b>'.$mod_strings['LBL_ROLE_NAME'].'</b></td>';
 	$standCustFld .=  '</tr>';
 	
 	$row=1;

Modified: vtigercrm/branches/4.2/modules/Users/OrgSharingDetailView.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/OrgSharingDetailView.php (original)
+++ vtigercrm/branches/4.2/modules/Users/OrgSharingDetailView.php Mon May 15 23:30:29 2006
@@ -63,7 +63,7 @@
 		else
 			$output .=   '<tr class="oddListRow">';
 
-		$output .=   '<TD width="40%" height="21" noWrap style="padding:0px 3px 0px 3px;">'.$entity_name.'</TD>';
+		$output .=   '<TD width="40%" height="21" noWrap style="padding:0px 3px 0px 3px;">'.$app_strings[$entity_name].'</TD>';
 		$output .=  '<TD width="60%" height="21" noWrap style="padding:0px 3px 0px 3px;">'.$entity_perr.'</TD>';
 		$output .=  '</tr>';
 

Modified: vtigercrm/branches/4.2/modules/Users/OrgSharingEditView.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/OrgSharingEditView.php (original)
+++ vtigercrm/branches/4.2/modules/Users/OrgSharingEditView.php Mon May 15 23:30:29 2006
@@ -15,7 +15,7 @@
 global $app_list_strings;
 
 echo '<form action="index.php" method="post" name="new" id="form">';
-echo get_module_title("Security", "Default Organisation Sharing Privileges", true);
+echo get_module_title("Security", $mod_strings['LBL_ORG_SHARING_PRIVILEGES_HEADER'], true);
 
 global $theme;
 $theme_path="themes/".$theme."/";
@@ -32,7 +32,7 @@
 $output .= '<TABLE width="60%" border=0 cellPadding=5 cellSpacing=1 class="formOuterBorder">';
 $output .= '<tr>';
 $output .= '<td class="moduleListTitle" height="20" style="padding:0px 3px 0px 3px;"><b>'.$mod_strings['LBL_ORG_SHARING_PRIVILEGES'].'</b></td>';
-$output .= '<td class="moduleListTitle" height="20" style="padding:0px 3px 0px 3px;"><b>Access Privilege</b></td>';
+$output .= '<td class="moduleListTitle" height="20" style="padding:0px 3px 0px 3px;"><b>'.$mod_strings['LBL_ACCESS_PRIVILEGE'].'</b></td>';
 $output .=  '</tr>';
 
 $row=1;
@@ -72,7 +72,7 @@
 		else
 			$output .=   '<tr class="oddListRow">';
 
-		$output .=   '<TD width="40%" height="21" noWrap style="padding:0px 3px 0px 3px;" >'.$entity_name.'</TD>';
+		$output .=   '<TD width="40%" height="21" noWrap style="padding:0px 3px 0px 3px;" >'.$app_strings[$entity_name].'</TD>';
 		$output .=  '<TD width="60%" height="21" noWrap style="padding:0px 3px 0px 3px;">';
 
 		$output .= '<select class="select" name="'.$tab_id.'_per">';

Modified: vtigercrm/branches/4.2/modules/Users/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/language/en_us.lang.php (original)
+++ vtigercrm/branches/4.2/modules/Users/language/en_us.lang.php Mon May 15 23:30:29 2006
@@ -50,6 +50,12 @@
 'LBL_USER_SETTINGS'=>'User Settings',
 'LBL_THEME'=>'Theme:',
 'LBL_LANGUAGE'=>'Language:',
+///
+///Added for choice per country
+///
+'LBL_COUNTRY'=>'Country',
+'LBL_CHOOSE_COUNTRY' =>'--Choose Country--',
+
 'LBL_ADMIN'=>'Admin:',
 'LBL_USER_INFORMATION'=>'User Information',
 'LBL_OFFICE_PHONE'=>'Office Phone:',
@@ -210,8 +216,8 @@
 'LBL_ROLE_PROFILE_NAME'=>'Associate With Profile',
 
 //Added fields in OrgSharingDetailsView.php
-'LBL_ORG_SHARING_PRIVILEGES'=>'Organisation Sharing  Privileges',
 'LBL_ORG_SHARING_PRIVILEGES_HEADER' => 'Setup: Organisation Sharing Privileges',
+'LBL_ORG_SHARING_PRIVILEGES'=>'Crm Parts',
 'LBL_ACCESS_PRIVILEGE' =>'Access Privilege',
 'LBL_EDIT_PERMISSIONS'=>'Edit Permissions',
 'LBL_SAVE_PERMISSIONS'=>'Save Permissions',
@@ -287,7 +293,8 @@
 
 //Added for patch2
 'LBL_FILE_INFORMATION'=>'File Information',
-
+//Added for Translate of HardCode
+'LBL_PROFILES'=>'Profiles',
 
 'LBL_MAP_START'=>'Map Start',
 );

Modified: vtigercrm/branches/4.2/modules/Users/listroles.php
==============================================================================
--- vtigercrm/branches/4.2/modules/Users/listroles.php (original)
+++ vtigercrm/branches/4.2/modules/Users/listroles.php Mon May 15 23:30:29 2006
@@ -21,7 +21,7 @@
 global $app_list_strings;
 
 echo '<form action="index.php" method="post" name="new" id="form">';
-echo get_module_title("Users",'Roles', true);
+echo get_module_title("Users", $mod_strings['LBL_ROLES'], true);
 
 global $adb;
 global $theme;
@@ -51,7 +51,7 @@
 	$standCustFld .= '<br><BR>'; 
 	$standCustFld .= '<table border="0" cellpadding="5" cellspacing="1" class="FormBorder" width="30%">';
 	$standCustFld .=  '<tr>';
-	$standCustFld .=   '<td class="ModuleListTitle" width="18%" height="21" style="padding:0px 3px 0px 3px;"><div><b>Operation</b></div></td>';
+	$standCustFld .=   '<td class="ModuleListTitle" width="18%" height="21" style="padding:0px 3px 0px 3px;"><div><b>'.$mod_strings['LBL_OERATION'].'</b></div></td>';
 	$standCustFld .=   '<td class="ModuleListTitle" height="21" style="padding:0px 3px 0px 3px;"><b>'.$mod_strings['LBL_ROLE_NAME'].'</b></td>';
 	$standCustFld .=  '</tr>';
 	





More information about the vtigercrm-commits mailing list