Merge pull request #22540 from civicrm/5.46
[civicrm-core.git] / CRM / Profile / Page / Listings.php
index 963d59b27fc8e26247728904b5886aa907e702df..ab05516edf481c6cb1cec304b5aab1bb69a91790 100644 (file)
  *
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
- *
  */
 
 /**
  * This implements the profile page for all contacts. It uses a selector
- * object to do the actual dispay. The fields displayd are controlled by
+ * object to do the actual display. The fields displayed are controlled by
  * the admin.
  */
 class CRM_Profile_Page_Listings extends CRM_Core_Page {
@@ -282,7 +281,7 @@ class CRM_Profile_Page_Listings extends CRM_Core_Page {
       $ufgroupDAO = new CRM_Core_DAO_UFGroup();
       $ufgroupDAO->id = $this->_gid;
       if (!$ufgroupDAO->find(TRUE)) {
-        CRM_Core_Error::statusBounce('Unable to find matching UF Group');
+        CRM_Core_Error::statusBounce(ts('Unable to find matching UF Group'));
       }
     }