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