From: Jeroen De Meerleer Date: Sun, 9 Sep 2018 14:23:37 +0000 (+0200) Subject: Added original keys to sexual preference X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b70d762574e52cfb08b619ef6d95e17698a64232;p=friendica.git Added original keys to sexual preference --- diff --git a/src/Content/ContactSelector.php b/src/Content/ContactSelector.php index 9de8b5fb7f..8ebf11babd 100644 --- a/src/Content/ContactSelector.php +++ b/src/Content/ContactSelector.php @@ -181,16 +181,27 @@ class ContactSelector public static function sexualPreference($current = "", $suffix = "") { $o = ''; - $select = ['', L10n::t('Males'), L10n::t('Females'), L10n::t('Gay'), L10n::t('Lesbian'), L10n::t('No Preference'), L10n::t('Bisexual'), L10n::t('Autosexual'), L10n::t('Abstinent'), L10n::t('Virgin'), L10n::t('Deviant'), L10n::t('Fetish'), L10n::t('Oodles'), L10n::t('Nonsexual')]; - + $select['Males'] = L10n::t('Males'); + $select['Females'] = L10n::t('Females'); + $select['Gay'] = L10n::t('Gay'); + $select['Lesbian'] = L10n::t('Lesbian'); + $select['No Preference'] = L10n::t('No Preference'); + $select['Bisexual'] = L10n::t('Bisexual'); + $select['Autosexual'] = L10n::t('Autosexual'); + $select['Abstinent'] = L10n::t('Abstinent'); + $select['Virgin'] = L10n::t('Virgin'); + $select['Deviant'] = L10n::t('Deviant'); + $select['Fetish'] = L10n::t('Fetish'); + $select['Oodles'] = L10n::t('Oodles'); + $select['Nonsexual'] = L10n::t('Nonsexual'); Addon::callHooks('sexpref_selector', $select); $o .= "';