[Vtigercrm-commits] [vtiger-commits] r10369 - /vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 6 23:50:39 EST 2007
Author: saraj
Date: Tue Mar 6 21:50:29 2007
New Revision: 10369
Log:
fix for i18n issues. Fixes #3164 #3165 #3166 #3167 #3168 #3169 --Minnie
Modified:
vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php
Modified: vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php
==============================================================================
--- vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php (original)
+++ vtigercrm/branches/5.0.3/cron/intimateTaskStatus.php Tue Mar 6 21:50:29 2007
@@ -38,7 +38,7 @@
$status=$myrow[0];
if($status != 'Completed')
{
- sendmail($emailaddress,$emailaddress,"Task Not completed","Dear Admin,<br><br> Please note that there are certain tasks in the system which have not been completed even after 24hours of their existence<br> Thank You<br>HelpDesk Team<br>",$mailserver,$mailuname,$mailpwd,"");
+ sendmail($emailaddress,$emailaddress,$app_strings['Task_Not_completed'],$app_strings['Dear_Admin_tasks_not_been_completed'],$mailserver,$mailuname,$mailpwd,"");
}
}
}
@@ -58,7 +58,7 @@
if($stage == 'Closed Won' && $amount > 10000)
{
- sendmail($emailaddress,$emailaddress,"Big Deal Closed Successfully!","Dear Team,<br>Congratulations!Time to Party! <br>We closed a deal worth more than 10000!!!!<br> Time to hit the dance floor!<br>",$mailserver,$mailuname,$mailpwd,"");
+ sendmail($emailaddress,$emailaddress,$app_srings['Big_Deal_Closed_Successfully'],$app_strings['Dear_Team_Time_to_Party'],$mailserver,$mailuname,$mailpwd,"");
}
}
@@ -79,7 +79,7 @@
$ticketid = $myrow[1];
if($status != "Completed" || $status != "Closed")
{
- sendmail($emailaddress,$emailaddress,"Pending Ticket notification","Dear Admin,<br> This is to bring to your kind attention that ticket number ".$ticketid ." is yet to be closed<br> Thank You,<br> HelpDesk Team<br>",$mailserver,$mailuname,$mailpwd,"");
+ sendmail($emailaddress,$emailaddress,$app_strings['Pending_Ticket_notification'],$app_strings['Kind_Attention'].$ticketid .$app_strings['Thank_You_HelpDesk'],$mailserver,$mailuname,$mailpwd,"");
}
}
@@ -99,7 +99,7 @@
{
$status=$myrow[0];
$ticketid = $myrow[1];
- sendmail($emailaddress,$emailaddress,"Too many pending tickets","Dear Admin,<br> This is to bring to your notice that there are too many tickets pending. Kindly take the necessary action required for addressing the same<br><br> Thanks and Regards,<br> HelpDesk Team<br>",$mailserver,$mailuname,$mailpwd,"");
+ sendmail($emailaddress,$emailaddress,$app_strings['Too_many_pending_tickets'],$app_strings['Dear_Admin_too_ many_tickets_pending'],$mailserver,$mailuname,$mailpwd,"");
}
}
@@ -115,7 +115,7 @@
while ($myrow = $adb->fetch_array($result))
{
$productname=$myrow[0];
- sendmail($emailaddress,$emailaddress,"Support starting","Hello! Support Starts for ".$productname ."\n Congratulations! Your support starts from today",$mailserver,$mailuname,$mailpwd,"");
+ sendmail($emailaddress,$emailaddress,$app_strings['Support_starting'],$app_strings['Hello_Support'].$productname ."\n ".$app_strings['Congratulations'],$mailserver,$mailuname,$mailpwd,"");
}
}
@@ -132,7 +132,7 @@
while ($myrow = $adb->fetch_array($result))
{
$productname=$myrow[0];
- sendmail($emailaddress,$emailaddress,"Support Ending","Dear Admin,<br> This is to inform you that the support for ".$productname ."\n ends shortly. To help us serve you better, kindly renew your support please<br>Regards,<br>HelpDesk Team<br>",$mailserver,$mailuname,$mailpwd,"");
+ sendmail($emailaddress,$emailaddress,$app_strings['Support_Ending'],$app_strings['Dear_Admin'].$productname ."\n ".$app_strings['kindly_renew'],$mailserver,$mailuname,$mailpwd,"");
}
}
More information about the vtigercrm-commits
mailing list