}
CRM_Event_BAO_Event::del($this->_id);
if ($this->_isTemplate) {
- CRM_Core_Session::setStatus(ts("'%1' has been deleted.", array(1 => $this->_title)), t('Template Deleted'), 'success');
+ CRM_Core_Session::setStatus(ts("'%1' has been deleted.", array(1 => $this->_title)), ts('Template Deleted'), 'success');
CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/admin/eventTemplate', 'reset=1'));
}
else {
- CRM_Core_Session::setStatus(ts("'%1' has been deleted.", array(1 => $this->_title)), t('Event Deleted'), 'success');
+ CRM_Core_Session::setStatus(ts("'%1' has been deleted.", array(1 => $this->_title)), ts('Event Deleted'), 'success');
}
}
}
self::updatePendingOnlineContribution($key, $value['status_id']);
}
}
- CRM_Core_Session::setStatus(ts('The updates have been saved.'), t('Saved'), 'success');
+ CRM_Core_Session::setStatus(ts('The updates have been saved.'), ts('Saved'), 'success');
}
else {
- CRM_Core_Session::setStatus(ts('No updates have been saved.'), t('Not Saved'), 'alert');
+ CRM_Core_Session::setStatus(ts('No updates have been saved.'), ts('Not Saved'), 'alert');
}
}
//end of function
if (!$fp) {
if (CRM_Core_Permission::check('administer CiviCRM')) {
CRM_Core_Session::setStatus(
- ts('Unable to write file') . ":$cachefile<br />" . t('Please check your system file permissions.'),
+ ts('Unable to write file') . ":$cachefile<br />" . ts('Please check your system file permissions.'),
ts('File Error'), 'error');
}
return;