X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FContact%2FDAO%2FRelationshipCache.php;h=5701d5c3e67369f3bb6c9e897eda430d3203562b;hb=2d8ba49021f103e6b52d6f5379cc5918264a9964;hp=cfa5a75bc2e0ec936dd9198202d1190c36cef8e6;hpb=2384bebbe14d1735c00298594d7c3c128a1ac6ae;p=civicrm-core.git diff --git a/CRM/Contact/DAO/RelationshipCache.php b/CRM/Contact/DAO/RelationshipCache.php index cfa5a75bc2..5701d5c3e6 100644 --- a/CRM/Contact/DAO/RelationshipCache.php +++ b/CRM/Contact/DAO/RelationshipCache.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/RelationshipCache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b40781c15c3351a766a6083522f0e5e4) + * (GenCodeChecksum:ba039fcadc13e48749f965343301ec1d) */ /** @@ -124,9 +124,12 @@ class CRM_Contact_DAO_RelationshipCache extends CRM_Core_DAO { /** * Returns localized title of this entity. + * + * @param bool $plural + * Whether to return the plural version of the title. */ - public static function getEntityTitle() { - return ts('Relationship Caches'); + public static function getEntityTitle($plural = FALSE) { + return $plural ? ts('Related Contacts') : ts('Related Contact'); } /** @@ -234,7 +237,7 @@ class CRM_Contact_DAO_RelationshipCache extends CRM_Core_DAO { 'near_relation' => [ 'name' => 'near_relation', 'type' => CRM_Utils_Type::T_STRING, - 'title' => ts('Relationship Name (Near side)'), + 'title' => ts('Relationship Name (to related contact)'), 'description' => ts('name for relationship of near_contact to far_contact.'), 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, @@ -268,7 +271,7 @@ class CRM_Contact_DAO_RelationshipCache extends CRM_Core_DAO { 'far_relation' => [ 'name' => 'far_relation', 'type' => CRM_Utils_Type::T_STRING, - 'title' => ts('Relationship Name (Near side)'), + 'title' => ts('Relationship Name (from related contact)'), 'description' => ts('name for relationship of far_contact to near_contact.'), 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG,