4 * Description: Additional gender/sexual preference/marital status options
6 * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
7 * - who takes no responsibility for any additional content which may appear herein
11 use Friendica\Core\Addon;
12 use Friendica\Core\Config;
13 use Friendica\Core\L10n;
15 function morechoice_install() {
17 Addon::registerHook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
18 Addon::registerHook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
19 Addon::registerHook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
23 function morechoice_uninstall() {
25 Addon::unregisterHook('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
26 Addon::unregisterHook('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
27 Addon::unregisterHook('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
29 // We need to leave this here for a while, because we now have a situation where people can end up with an orphaned hook.
30 Addon::unregisterHook('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
34 function morechoice_gender_selector($a,&$b) {
35 $b['Androgyne'] = L10n::t('Androgyne');
36 $b['Bear'] = L10n::t('Bear');
37 $b['Bigender'] = L10n::t('Bigender');
38 $b['Cross dresser'] = L10n::t('Cross dresser');
39 $b['Drag queen'] = L10n::t('Drag queen');
40 $b['Eunuch'] = L10n::t('Eunuch');
41 $b['Faux queen'] = L10n::t('Faux queen');
42 $b['Gender fluid'] = L10n::t('Gender fluid');
43 $b['Kathoey'] = L10n::t('Kathoey');
44 $b['Lady'] = L10n::t('Lady');
45 $b['Lipstick lesbian'] = L10n::t('Lipstick lesbian');
46 $b['Metrosexual'] = L10n::t('Metrosexual');
47 $b['Monk'] = L10n::t('Monk');
48 $b['Nun'] = L10n::t('Nun');
49 $b['Soft butch'] = L10n::t('Soft butch');
50 $b['Stone femme'] = L10n::t('Stone femme');
51 $b['Tomboy'] = L10n::t('Tomboy');
52 $b['Transman'] = L10n::t('Transman');
53 $b['Transwoman'] = L10n::t('Transwoman');
54 $b['Transvesti'] = L10n::t('Transvesti');
55 $b['Trigender'] = L10n::t('Trigender');
56 $b['Can\'t remember'] = L10n::t('Can\'t remember');
57 $b['Hard to tell these days'] = L10n::t('Hard to tell these days');
60 function morechoice_sexpref_selector($a,&$b) {
61 $b['Girls with big tits'] = L10n::t('Girls with big tits');
62 $b['Millionaires'] = L10n::t('Millionaires');
63 $b['Guys with big schlongs'] = L10n::t('Guys with big schlongs');
64 $b['Easy women'] = L10n::t('Easy women');
65 $b['People with impaired mobility'] = L10n::t('People with impaired mobility');
66 $b['Amputees'] = L10n::t('Amputees');
67 $b['Statues, mannequins and immobility'] = L10n::t('Statues, mannequins and immobility');
68 $b['Pain'] = L10n::t('Pain');
69 $b['Trans men'] = L10n::t('Trans men');
70 $b['Older women'] = L10n::t('Older women');
71 $b['Asphyxiation'] = L10n::t('Asphyxiation');
72 $b['In public'] = L10n::t('In public');
73 $b['In danger'] = L10n::t('In danger');
74 $b['Pretending to be male'] = L10n::t('Pretending to be male');
75 $b['Pretending to be female'] = L10n::t('Pretending to be female');
76 $b['Breats'] = L10n::t('Breats');
77 $b['Scat'] = L10n::t('Scat');
78 $b['Crying'] = L10n::t('Crying');
79 $b['Nappies/Diapers'] = L10n::t('Nappies/Diapers');
80 $b['Trees'] = L10n::t('Trees');
81 $b['Vomit'] = L10n::t('Vomit');
82 $b['Murder'] = L10n::t('Murder');
83 $b['Fat people'] = L10n::t('Fat people');
84 $b['Feet'] = L10n::t('Feet');
85 $b['Covered in insects'] = L10n::t('Covered in insects');
86 $b['Turning a human being into furniture'] = L10n::t('Turning a human being into furniture');
87 $b['Elderly people'] = L10n::t('Elderly people');
88 $b['Transgender people'] = L10n::t('Transgender people');
89 $b['Criminals'] = L10n::t('Criminals');
90 $b['Stealing'] = L10n::t('Stealing');
91 $b['Breast milk'] = L10n::t('Breast milk');
92 $b['Immersing genitals in liquids'] = L10n::t('Immersing genitals in liquids');
93 $b['Giants'] = L10n::t('Giants');
94 $b['Masochism'] = L10n::t('Masochism');
95 $b['Cars'] = L10n::t('Cars');
96 $b['Menstruation'] = L10n::t('Menstruation');
97 $b['Mucus'] = L10n::t('Mucus');
98 $b['Obscene language'] = L10n::t('Obscene language');
99 $b['Noses'] = L10n::t('Noses');
100 $b['Navels'] = L10n::t('Navels');
101 $b['Corpses'] = L10n::t('Corpses');
102 $b['Smells'] = L10n::t('Smells');
103 $b['Buttocks'] = L10n::t('Buttocks');
104 $b['Nonliving objects'] = L10n::t('Nonliving objects');
105 $b['Sleeping people'] = L10n::t('Sleeping people');
106 $b['Urination'] = L10n::t('Urination');
107 $b['Eating people'] = L10n::t('Eating people');
108 $b['Being eaten'] = L10n::t('Being eaten');
109 $b['Animals'] = L10n::t('Animals');
110 $b['I\'d rather just have some chocolate'] = L10n::t('I\'d rather just have some chocolate');
113 function morechoice_marital_selector($a,&$b) {
114 $b['Married to my job'] = L10n::t('Married to my job');
115 $b['Polygamist'] = L10n::t('Polygamist');
116 $b['Half married'] = L10n::t('Half married');
117 $b['Living in the past'] = L10n::t('Living in the past');
118 $b['Pretending to be over my ex'] = L10n::t('Pretending to be over my ex');
119 $b['Hurt in the past'] = L10n::t('Hurt in the past');
120 $b['Wallowing in self-pity'] = L10n::t('Wallowing in self-pity');