[Vtigercrm-commits] [vtiger-commits] r10457 - in /vtigercrm/branches/5.0.3/modules/Import: ImportStep2.php language/en_us.lang.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Mar 16 05:59:13 EDT 2007
Author: saraj
Date: Fri Mar 16 03:59:02 2007
New Revision: 10457
Log:
changes made for java script alerts. --Minnie
Modified:
vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php
vtigercrm/branches/5.0.3/modules/Import/language/en_us.lang.php
Modified: vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php (original)
+++ vtigercrm/branches/5.0.3/modules/Import/ImportStep2.php Fri Mar 16 03:59:02 2007
@@ -386,7 +386,7 @@
else
{
//if a vtiger_field mapped more than once, alert the user and return
- alert("'"+tagName.options[tagName.selectedIndex].text+"' is mapped more than once. Please check the mapping.");
+ alert("'"+tagName.options[tagName.selectedIndex].text+"<?php echo $mod_strings['PLEASE_CHECK_MAPPING']?>");
return false;
}
}
@@ -398,7 +398,7 @@
{
if(seq_string.indexOf(required_fields[inner_loop]) == -1)
{
- alert('Please map the mandatory field "'+required_fields_name[inner_loop]+'"');
+ alert('<?php echo $mod_strings['MAP_MANDATORY_FIELD']?>'+required_fields_name[inner_loop]+'"');
return false;
}
}
@@ -408,7 +408,7 @@
{
if(trim(document.getElementById("save_map_as").value) == '')
{
- alert("Please Enter Save Map Name");
+ alert("<?php echo $mod_strings['ENTER_SAVEMAP_NAME'] ?>");
return false;
}
}
Modified: vtigercrm/branches/5.0.3/modules/Import/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Import/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/modules/Import/language/en_us.lang.php Fri Mar 16 03:59:02 2007
@@ -162,6 +162,10 @@
'LBL_STEP_3_3'=>'Step 3 of 3 : ',
'LBL_MAPPING_RESULTS'=>'Mapping Results ',
'LBL_LAST_IMPORTED'=>'Last Imported',
+//Added for sript alerts
+'PLEASE_CHECK_MAPPING' => "' is mapped more than once. Please check the mapping.",
+'MAP_MANDATORY_FIELD' => 'Please map the mandatory field "',
+'ENTER_SAVEMAP_NAME' => 'Please Enter Save Map Name',
//Added for 5.0.3
'to'=>'to',
More information about the vtigercrm-commits
mailing list