Merge pull request #784 from MrPetovan/task/4176-scrutinizer
[friendica-addons.git/.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\Hook;
12 use Friendica\Core\L10n;
13
14 function morechoice_install() {
15
16         Hook::register('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
17         Hook::register('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
18         Hook::register('marital_selector', 'addon/morechoice/morechoice.php', 'morechoice_marital_selector');
19 }
20
21
22 function morechoice_uninstall() {
23
24         Hook::unregister('gender_selector', 'addon/morechoice/morechoice.php', 'morechoice_gender_selector');
25         Hook::unregister('sexpref_selector', 'addon/morechoice/morechoice.php', 'morechoice_sexpref_selector');
26         Hook::unregister('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         Hook::unregister('poke_verbs', 'addon/morechoice/morechoice.php', 'morechoice_poke_verbs');
30
31 }
32
33 function morechoice_gender_selector($a,&$b) {
34         $b['Androgyne'] = L10n::t('Androgyne');
35         $b['Bear'] = L10n::t('Bear');
36         $b['Bigender'] = L10n::t('Bigender');
37         $b['Cross dresser'] = L10n::t('Cross dresser');
38         $b['Drag queen'] = L10n::t('Drag queen');
39         $b['Eunuch'] = L10n::t('Eunuch');
40         $b['Faux queen'] = L10n::t('Faux queen');
41         $b['Gender fluid'] = L10n::t('Gender fluid');
42         $b['Kathoey'] = L10n::t('Kathoey');
43         $b['Lady'] = L10n::t('Lady');
44         $b['Lipstick lesbian'] = L10n::t('Lipstick lesbian');
45         $b['Metrosexual'] = L10n::t('Metrosexual');
46         $b['Monk'] = L10n::t('Monk');
47         $b['Nun'] = L10n::t('Nun');
48         $b['Soft butch'] = L10n::t('Soft butch');
49         $b['Stone femme'] = L10n::t('Stone femme');
50         $b['Tomboy'] = L10n::t('Tomboy');
51         $b['Transman'] = L10n::t('Transman');
52         $b['Transwoman'] = L10n::t('Transwoman');
53         $b['Transvesti'] = L10n::t('Transvesti');
54         $b['Trigender'] = L10n::t('Trigender');
55         $b['Can\'t remember'] = L10n::t('Can\'t remember');
56         $b['Hard to tell these days'] = L10n::t('Hard to tell these days');
57 }
58
59 function morechoice_sexpref_selector($a,&$b) {
60         $b['Girls with big tits'] = L10n::t('Girls with big tits');
61         $b['Millionaires'] = L10n::t('Millionaires');
62         $b['Guys with big schlongs'] = L10n::t('Guys with big schlongs');
63         $b['Easy women'] = L10n::t('Easy women');
64         $b['People with impaired mobility'] = L10n::t('People with impaired mobility');
65         $b['Amputees'] = L10n::t('Amputees');
66         $b['Statues, mannequins and immobility'] = L10n::t('Statues, mannequins and immobility');
67         $b['Pain'] = L10n::t('Pain');
68         $b['Trans men'] = L10n::t('Trans men');
69         $b['Older women'] = L10n::t('Older women');
70         $b['Asphyxiation'] = L10n::t('Asphyxiation');
71         $b['In public'] = L10n::t('In public');
72         $b['In danger'] = L10n::t('In danger');
73         $b['Pretending to be male'] = L10n::t('Pretending to be male');
74         $b['Pretending to be female'] = L10n::t('Pretending to be female');
75         $b['Breats'] = L10n::t('Breats');
76         $b['Scat'] = L10n::t('Scat');
77         $b['Crying'] = L10n::t('Crying');
78         $b['Nappies/Diapers'] = L10n::t('Nappies/Diapers');
79         $b['Trees'] = L10n::t('Trees');
80         $b['Vomit'] = L10n::t('Vomit');
81         $b['Murder'] = L10n::t('Murder');
82         $b['Fat people'] = L10n::t('Fat people');
83         $b['Feet'] = L10n::t('Feet');
84         $b['Covered in insects'] = L10n::t('Covered in insects');
85         $b['Turning a human being into furniture'] = L10n::t('Turning a human being into furniture');
86         $b['Elderly people'] = L10n::t('Elderly people');
87         $b['Transgender people'] = L10n::t('Transgender people');
88         $b['Criminals'] = L10n::t('Criminals');
89         $b['Stealing'] = L10n::t('Stealing');
90         $b['Breast milk'] = L10n::t('Breast milk');
91         $b['Immersing genitals in liquids'] = L10n::t('Immersing genitals in liquids');
92         $b['Giants'] = L10n::t('Giants');
93         $b['Masochism'] = L10n::t('Masochism');
94         $b['Cars'] = L10n::t('Cars');
95         $b['Menstruation'] = L10n::t('Menstruation');
96         $b['Mucus'] = L10n::t('Mucus');
97         $b['Obscene language'] = L10n::t('Obscene language');
98         $b['Noses'] = L10n::t('Noses');
99         $b['Navels'] = L10n::t('Navels');
100         $b['Corpses'] = L10n::t('Corpses');
101         $b['Smells'] = L10n::t('Smells');
102         $b['Buttocks'] = L10n::t('Buttocks');
103         $b['Nonliving objects'] = L10n::t('Nonliving objects');
104         $b['Sleeping people'] = L10n::t('Sleeping people');
105         $b['Urination'] = L10n::t('Urination');
106         $b['Eating people'] = L10n::t('Eating people');
107         $b['Being eaten'] = L10n::t('Being eaten');
108         $b['Animals'] = L10n::t('Animals');
109         $b['I\'d rather just have some chocolate'] = L10n::t('I\'d rather just have some chocolate');
110 }
111
112 function morechoice_marital_selector($a,&$b) {
113         $b['Married to my job'] = L10n::t('Married to my job');
114         $b['Polygamist'] = L10n::t('Polygamist');
115         $b['Half married'] = L10n::t('Half married');
116         $b['Living in the past'] = L10n::t('Living in the past');
117         $b['Pretending to be over my ex'] = L10n::t('Pretending to be over my ex');
118         $b['Hurt in the past'] = L10n::t('Hurt in the past');
119         $b['Wallowing in self-pity'] = L10n::t('Wallowing in self-pity');
120 }