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