app/Individual.php
public function getSpouseFamilyLabel(Family $family): string
    {
        $spouse = $family->spouse($this);
        if ($spouse) {
            /* I18N: %s is the spouse name */
            return I18N::translate('Family with %s', $spouse->fullName());
        }

        return $family->fullName();
    }
public function getSpouseFamilyLabel(Family $family): string
    {
        $spouse = $family->spouse($this);
        if ($spouse) {
            /* I18N: %s is the spouse name */
            return I18N::translate('Family with %s', $spouse->fullName());
        }

        return $family->fullName();
    }
public function getSpouseFamilyLabel ( Family $ family ) : string { $ spouse = $ family -> spouse ( $ this ) ; if ( $ spouse ) { /* I18N: %s is the spouse name */ return I18N :: translate ( 'Family with %s' , $ spouse -> fullName ( ) ) ; } return $ family -> fullName ( ) ; }
Get the description for the family.

For example, "XXX's family with new wife".

@param Family $family

@return string
Get the description for the family .