feat: accept short versions of traditional pronouns
This commit is contained in:
parent
0ce6453bf7
commit
92243d58ac
5 changed files with 67 additions and 26 deletions
|
@ -174,3 +174,12 @@ export const defaultAvatars = [
|
|||
`${PUBLIC_BASE_URL}/default/512.webp`,
|
||||
`${PUBLIC_BASE_URL}/default/512.jpg`,
|
||||
];
|
||||
|
||||
export interface PronounsJson {
|
||||
pages: Pronouns;
|
||||
autocomplete: Pronouns;
|
||||
}
|
||||
|
||||
interface Pronouns {
|
||||
[key: string]: { pronouns: string[]; display?: string };
|
||||
}
|
||||
|
|
|
@ -1,12 +1,22 @@
|
|||
{
|
||||
"pronouns": {
|
||||
"pages": {
|
||||
"they": { "pronouns": ["they", "them", "their", "theirs", "themself"] },
|
||||
"they/them": { "pronouns": ["they", "them", "their", "theirs", "themself"] },
|
||||
"he": { "pronouns": ["he", "him", "his", "his", "himself"] },
|
||||
"he/him": { "pronouns": ["he", "him", "his", "his", "himself"] },
|
||||
"she": { "pronouns": ["she", "her", "her", "hers", "herself"] },
|
||||
"it": { "pronouns": ["it", "it", "its", "its", "itself"], "display": "it/its" }
|
||||
},
|
||||
"autocomplete": {
|
||||
"they/them": { "pronouns": ["they", "them", "their", "theirs", "themself"] },
|
||||
"they/them (singular)": {
|
||||
"pronouns": ["they", "them", "their", "theirs", "themself"],
|
||||
"display": "they/them (singular)"
|
||||
},
|
||||
"they/them (plural)": {
|
||||
"pronouns": ["they", "them", "their", "theirs", "themselves"],
|
||||
"display": "they/them (plural)"
|
||||
},
|
||||
"he/him": { "pronouns": ["he", "him", "his", "his", "himself"] },
|
||||
"she/her": { "pronouns": ["she", "her", "her", "hers", "herself"] },
|
||||
"it": { "pronouns": ["it", "it", "its", "its", "itself"], "display": "it/its" },
|
||||
"it/its": { "pronouns": ["it", "it", "its", "its", "itself"], "display": "it/its" }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue