. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; use Fisharebest\Webtrees\I18N; use Fisharebest\Webtrees\Tree; use function strtoupper; use function view; /** * A modification to the standard SEX record, which allows 'X'. * Gedcom-L defines this as 'Intersex'. We use the more general term 'Other'. */ class SexXValue extends SexValue { /** * A list of controlled values for this element * * @return array */ public function values(): array { $values = parent::values(); $values['X'] = I18N::translate('Other'); return $values; } }