[Vtigercrm-commits] [vtiger-commits] r10365 - in /vtigercrm/branches/5.0.3: SendReminder.php include/language/en_us.lang.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 6 08:34:12 EST 2007
Author: saraj
Date: Tue Mar 6 06:34:03 2007
New Revision: 10365
Log:
fix for i18n issue - Notification email - Reminder. Fixes #3172 --Minnie
Modified:
vtigercrm/branches/5.0.3/SendReminder.php
vtigercrm/branches/5.0.3/include/language/en_us.lang.php
Modified: vtigercrm/branches/5.0.3/SendReminder.php
==============================================================================
--- vtigercrm/branches/5.0.3/SendReminder.php (original)
+++ vtigercrm/branches/5.0.3/SendReminder.php Tue Mar 6 06:34:03 2007
@@ -28,7 +28,7 @@
// Get the list of activity for which reminder needs to be sent
-global $adb;
+global $adb,$app_strings;
global $log;
$log =& LoggerManager::getLogger('SendReminder');
$log->debug(" invoked SendReminder ");
@@ -94,10 +94,10 @@
$sql = "select active,notificationsubject,notificationbody from vtiger_notificationscheduler where schedulednotificationid=7";
$result_main = $adb->query($sql);
- $subject = "[Reminder:".$result_set['activitytype']." @ ".$result_set['date_start']." ".$result_set['time_start']."] ".$adb->query_result($result_main,0,'notificationsubject');
+ $subject = $app_strings['Reminder'].$result_set['activitytype']." @ ".$result_set['date_start']." ".$result_set['time_start']."] ".$adb->query_result($result_main,0,'notificationsubject');
//Set the mail body/contents here
- $contents = nl2br($adb->query_result($result_main,0,'notificationbody')) ."\n\n Subject : ".$activity_sub."\n ". $parent_content ." Date & Time : ".$date_start." ".$time_start."\n\n Kindly visit the link for more details on the activity <a href='".$site_URL."/index.php?action=DetailView&module=Calendar&record=".$activity_id."&activity_mode=".$activitymode."'>Click here</a>";
+ $contents = nl2br($adb->query_result($result_main,0,'notificationbody')) ."\n\n ".$app_strings['Subject']." ".$activity_sub."\n ". $parent_content ." ".$app_strings['Date & Time']." ".$date_start." ".$time_start."\n\n ".$app_strings['Visit_Link']." <a href='".$site_URL."/index.php?action=DetailView&module=Calendar&record=".$activity_id."&activity_mode=".$activitymode."'>".$app_strings['Click here']."</a>";
if(count($to_addr) >=1)
{
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 Mar 6 06:34:03 2007
@@ -667,6 +667,28 @@
//Added for 5.0.3
'Files_Maximum_6'=>'Files Maximum 6',
'To'=>'To:',
+
+'Date & Time' => 'Date & Time',
+'Reminder' => '[Reminder:',
+'Visit_Link' => 'Kindly visit the link for more details on the activity',
+'Click here' => 'Click here',
+'Subject' => 'Subject:',
+'Support_starting' => 'Support starting',
+'Congratulations' => 'Congratulations! Your support starts from today',
+'Hello_Support' => 'Hello! Support Starts for',
+'Suppport_Ending' => 'Support Ending',
+'kindly_renew' => 'ends shortly. Kindly renew your support please<br>Regards,<br>HelpDesk Team<br>',
+'Dear_Admin' => '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>',
+'Pending_Tickets' => 'Too many pending tickets',
+'Pending_Ticket_notification' => 'Pending Ticket notification',
+'Kind_Attention' => 'Dear Admin,<br> This is to bring to your kind attention that ticket number ',
+'Thank_You_HelpDesk' => ' is yet to be closed<br> Thank You,<br> HelpDesk Team<br>',
+'Big_Deal_Closed_Successfully' => 'Big Deal Closed Successfully',
+'Dear_Team_Time_to_Party' => 'Dear Team,<br>Congratulations!Time to Party! <br>We closed a deal worth more than 10000!!!!<br> Time to hit the dance floor!<br>',
+'Task_Not_completed' => 'Task Not completed',
+'Dear_Admin_tasks_not_been_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>',
+'Too_many_pending_tickets' => 'Too many pending tickets',
+'Dear_Admin_too_ many_tickets_pending' => '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>',
);
$app_list_strings = array (
More information about the vtigercrm-commits
mailing list