app/GedcomCode/GedcomCodeStat.php
public static function statusName(string $status_code): string
    {
        switch ($status_code) {
            case 'BIC':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Born in the covenant');
            case 'CANCELED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Sealing canceled (divorce)');
            case 'CHILD':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Died as a child: exempt');
            case 'CLEARED':
                // This status appears in PhpGedView, but not in the GEDCOM 5.5.1 specification.
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Cleared but not yet completed');
            case 'COMPLETED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Completed; date unknown');
            case 'DNS':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Do not seal: unauthorized');
            case 'DNS/CAN':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Do not seal, previous sealing canceled');
            case 'EXCLUDED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Excluded from this submission');
            case 'INFANT':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Died as an infant: exempt');
            case 'PRE-1970':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Completed before 1970; date not available');
            case 'STILLBORN':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Stillborn: exempt');
            case 'SUBMITTED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Submitted but not yet cleared');
            case 'UNCLEARED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Uncleared: insufficient data');
            default:
                return $status_code;
        }
    }
public static function statusName(string $status_code): string
    {
        switch ($status_code) {
            case 'BIC':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Born in the covenant');
            case 'CANCELED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Sealing canceled (divorce)');
            case 'CHILD':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Died as a child: exempt');
            case 'CLEARED':
                // This status appears in PhpGedView, but not in the GEDCOM 5.5.1 specification.
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Cleared but not yet completed');
            case 'COMPLETED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Completed; date unknown');
            case 'DNS':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Do not seal: unauthorized');
            case 'DNS/CAN':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Do not seal, previous sealing canceled');
            case 'EXCLUDED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Excluded from this submission');
            case 'INFANT':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Died as an infant: exempt');
            case 'PRE-1970':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Completed before 1970; date not available');
            case 'STILLBORN':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Stillborn: exempt');
            case 'SUBMITTED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Submitted but not yet cleared');
            case 'UNCLEARED':
                /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */
                return I18N::translate('Uncleared: insufficient data');
            default:
                return $status_code;
        }
    }
public static function statusName ( string $ status_code ) : string { switch ( $ status_code ) { case 'BIC' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Born in the covenant' ) ; case 'CANCELED' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Sealing canceled (divorce)' ) ; case 'CHILD' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Died as a child: exempt' ) ; case 'CLEARED' : // This status appears in PhpGedView, but not in the GEDCOM 5.5.1 specification. /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Cleared but not yet completed' ) ; case 'COMPLETED' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Completed; date unknown' ) ; case 'DNS' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Do not seal: unauthorized' ) ; case 'DNS/CAN' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Do not seal, previous sealing canceled' ) ; case 'EXCLUDED' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Excluded from this submission' ) ; case 'INFANT' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Died as an infant: exempt' ) ; case 'PRE-1970' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Completed before 1970; date not available' ) ; case 'STILLBORN' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Stillborn: exempt' ) ; case 'SUBMITTED' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Submitted but not yet cleared' ) ; case 'UNCLEARED' : /* I18N: LDS sealing status; see http://en.wikipedia.org/wiki/Sealing_(Latter_Day_Saints) */ return I18N :: translate ( 'Uncleared: insufficient data' ) ; default : return $ status_code ; } }
Get the localized name for a status code

@param string $status_code

@return string
Get the localized name for a status code