@@ -88,10 +88,11 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
$this->addButtons(
array(
array(
'type'=>'next',
'name'=>ts('Save'),
'spacing'=>'',
'isDefault'=>FALSE),
'type'=>'next',
'name'=>ts('Save'),
'spacing'=>'',
'isDefault'=>FALSE
),
)
);
...
...
@@ -141,7 +142,10 @@ class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
}
if(!empty($warningPermissionNames)){
CRM_Core_Session::setStatus(
ts('The %1 role was assigned one or more permissions that may prove dangerous for users of that role to have. Please reconsider assigning %2 to them.',array(1=>$wp_roles->role_names[$role],2=>implode(', ',$warningPermissionNames))),
ts('The %1 role was assigned one or more permissions that may prove dangerous for users of that role to have. Please reconsider assigning %2 to them.',array(
CRM_Core_Session::setStatus(ts("The maximum number of Activities you can select to send an email is %1. You have selected %2. Please select fewer Activities from your search results and try again.",array(1=>$this->_maxActivities,2=>count($this->_activityHolderIds))),ts("Maximum Exceeded"),"error");
CRM_Core_Session::setStatus(ts("The maximum number of Activities you can select to send an email is %1. You have selected %2. Please select fewer Activities from your search results and try again.",array(
CRM_Core_Session::setStatus(ts("The maximum number of Activities you can select for Batch Update is %1. You have selected %2. Please select fewer Activities from your search results and try again.",array(1=>$this->_maxActivities,2=>count($this->_activityHolderIds))),ts('Maximum Exceeded'),'error');
CRM_Core_Session::setStatus(ts("The maximum number of Activities you can select for Batch Update is %1. You have selected %2. Please select fewer Activities from your search results and try again.",array(
1=>$this->_maxActivities,
2=>count($this->_activityHolderIds)
)),ts('Maximum Exceeded'),'error');
$validate=TRUE;
}
...
...
@@ -126,7 +129,8 @@ class CRM_Activity_Form_Task_PickProfile extends CRM_Activity_Form_Task {