CRM-15603 - Standardize case & punctuation of 'Relationship created.'
authorColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 02:02:18 +0000 (21:02 -0500)
committerColeman Watts <coleman@civicrm.org>
Sun, 16 Nov 2014 13:41:37 +0000 (08:41 -0500)
CRM/Contact/Form/Task/AddToHousehold.php
CRM/Contact/Form/Task/AddToOrganization.php

index 2ec983cf4afec92a09fb2b6fc4674c67a95e81b2..f571246fdab8fbffab35267f93794c03bc132942 100644 (file)
@@ -171,7 +171,7 @@ class CRM_Contact_Form_Task_AddToHousehold extends CRM_Contact_Form_Task {
         $status[] = ts('%count relationship was not created because the contact is not of the right type for this relationship', array('count' => $invalid, 'plural' => '%count relationships were not created because the contact is not of the right type for this relationship'));
       }
       $status = '<ul><li>' . implode('</li><li>', $status) . '</li></ul>';
-      CRM_Core_Session::setStatus($status, ts('Relationship Created', array('count' => $valid, 'plural' => 'Relationships Created')), 'success', array('expires' => 0));
+      CRM_Core_Session::setStatus($status, ts('Relationship created.', array('count' => $valid, 'plural' => 'Relationships created.')), 'success', array('expires' => 0));
     }
   }
 
index af9799170000775f8340f72797ab6205afa8b122..0456157f81603fc5964c73069d586b0c8b4b47f1 100644 (file)
@@ -170,7 +170,7 @@ class CRM_Contact_Form_Task_AddToOrganization extends CRM_Contact_Form_Task {
         $status[] = ts('%count relationship was not created because the contact is not of the right type for this relationship', array('count' => $invalid, 'plural' => '%count relationships were not created because the contact is not of the right type for this relationship'));
       }
       $status = '<ul><li>' . implode('</li><li>', $status) . '</li></ul>';
-      CRM_Core_Session::setStatus($status, ts('Relationship Created', array('count' => $valid, 'plural' => 'Relationships Created')), 'success', array('expires' => 0));
+      CRM_Core_Session::setStatus($status, ts('Relationship created.', array('count' => $valid, 'plural' => 'Relationships created.')), 'success', array('expires' => 0));
     }
   }