From: Jeroen De Meerleer Date: Sun, 9 Sep 2018 14:19:30 +0000 (+0200) Subject: Added original keys to gender X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ab49a613c9ad617d981c401981fb8bdf8efb5e3f;p=friendica.git Added original keys to gender --- diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index 5ba6528ed0..9de8b5fb7f 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -145,15 +145,29 @@ class ContactSelector public static function gender($current = "", $suffix = "") { $o = ''; - $select = ['', L10n::t('Male'), L10n::t('Female'), L10n::t('Currently Male'), L10n::t('Currently Female'), L10n::t('Mostly Male'), L10n::t('Mostly Female'), L10n::t('Transgender'), L10n::t('Intersex'), L10n::t('Transsexual'), L10n::t('Hermaphrodite'), L10n::t('Neuter'), L10n::t('Non-specific'), L10n::t('Other'), L10n::t('Undecided')]; + $select[''] = ''; + $select['Male'] = L10n::t('Male'); + $select['Female'] = L10n::t('Female'); + $select['Currently Male'] = L10n::t('Currently Male'); + $select['Currently Female'] = L10n::t('Currently Female'); + $select['Mostly Male'] = L10n::t('Mostly Male'); + $select['Mostly Female'] = L10n::t('Mostly Female'); + $select['Transgender'] = L10n::t('Transgender'); + $select['Intersex'] = L10n::t('Intersex'); + $select['Transsexual'] = L10n::t('Transsexual'); + $select['Hermaphrodite'] = L10n::t('Hermaphrodite'); + $select['Neuter'] = L10n::t('Neuter'); + $select['Non-specific'] = L10n::t('Non-specific'); + $select['Other'] = L10n::t('Other'); + $select['Undecided'] = L10n::t('Undecided'); Addon::callHooks('gender_selector', $select); $o .= "';