Adding more nouns, fixes #28
This commit is contained in:
parent
77dbd4d6e6
commit
7c65aa4eda
|
@ -29,7 +29,7 @@
|
|||
--border-radius-section: .5rem;
|
||||
--border-radius-input: .5rem;
|
||||
|
||||
--total-height-other: 294px;
|
||||
--total-height-other: 434px;
|
||||
--total-height-also-li: 26px;
|
||||
--total-height-prompt: 33.5px;
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
<li>
|
||||
<label for="honorific-abbr">Honorific abbr.</label>
|
||||
<input type="text" id="abbr" name="honorific-abbr" placeholder="e.g. Ms., Mx." disabled>
|
||||
<input type="text" id="honorific-abbr" name="honorific-abbr" placeholder="e.g. Ms., Mx." disabled>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
@ -78,13 +78,38 @@
|
|||
</li>
|
||||
|
||||
<li>
|
||||
<label for="noun-adult">Adult noun</label>
|
||||
<input type="text" id="adult" name="adult-noun" placeholder="e.g. woman, person" disabled>
|
||||
<label for="adult">Adult noun</label>
|
||||
<input type="text" id="adult" name="adult" placeholder="e.g. woman, person" disabled>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="noun-child">Child noun</label>
|
||||
<input type="text" id="child" name="child-noun" placeholder="e.g. boy, kid" disabled>
|
||||
<label for="youth">Youth noun</label>
|
||||
<input type="text" id="youth" name="youth" placeholder="e.g. boy, kid" disabled>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="parent">Parent noun</label>
|
||||
<input type="text" id="parent" name="parent" placeholder="e.g. mother, parent" disabled>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="child">Child noun</label>
|
||||
<input type="text" id="child" name="child" placeholder="e.g. son, child" disabled>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="sibling">Sibling noun</label>
|
||||
<input type="text" id="sibling" name="sibling" placeholder="e.g. sister, sibling" disabled>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="married">Married noun</label>
|
||||
<input type="text" id="married" name="married" placeholder="e.g. husband, spouse" disabled>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for="dating">Dating noun</label>
|
||||
<input type="text" id="dating" name="dating" placeholder="e.g. girlfriend, partner" disabled>
|
||||
</li>
|
||||
|
||||
<li id="other-final">
|
||||
|
|
|
@ -65,8 +65,13 @@ function replacePronouns(options) {
|
|||
replacePronounSet("Prn/r", "prn/r", pronouns["reflexive"]);
|
||||
replacePronounSet("Prn/H", "prn/H", pronouns["honorific-abbr"]);
|
||||
replacePronounSet("Prn/h", "prn/h", pronouns["honorific"]);
|
||||
replacePronounSet("Prn/N", "prn/N", pronouns["noun-adult"]);
|
||||
replacePronounSet("Prn/n", "prn/n", pronouns["noun-child"]);
|
||||
replacePronounSet("Prn/N", "prn/N", pronouns["adult"]);
|
||||
replacePronounSet("Prn/n", "prn/n", pronouns["youth"]);
|
||||
replacePronounSet("Prn/F", "prn/f", pronouns["parent"]);
|
||||
replacePronounSet("Prn/f", "prn/f", pronouns["child"]);
|
||||
replacePronounSet("Prn/k", "prn/k", pronouns["sibling"]);
|
||||
replacePronounSet("Prn/m", "prn/m", pronouns["married"]);
|
||||
replacePronounSet("Prn/d", "prn/d", pronouns["dating"]);
|
||||
}
|
||||
|
||||
/* Gets pronouns based on the provided key (or user input) */
|
||||
|
@ -81,8 +86,13 @@ function getPronouns(key, other) {
|
|||
"reflexive": "herself",
|
||||
"honorific-abbr": "Ms.",
|
||||
"honorific": "miss",
|
||||
"noun-adult": "woman",
|
||||
"noun-child": "girl",
|
||||
"adult": "woman",
|
||||
"youth": "girl",
|
||||
"parent": "mother",
|
||||
"child": "daughter",
|
||||
"sibling": "sister",
|
||||
"married": "wife",
|
||||
"dating": "girlfriend",
|
||||
"plurality": "singular"
|
||||
};
|
||||
case "he":
|
||||
|
@ -94,8 +104,13 @@ function getPronouns(key, other) {
|
|||
"reflexive": "himself",
|
||||
"honorific-abbr": "Mr.",
|
||||
"honorific": "mister",
|
||||
"noun-adult": "man",
|
||||
"noun-child": "boy",
|
||||
"adult": "man",
|
||||
"youth": "boy",
|
||||
"parent": "father",
|
||||
"child": "son",
|
||||
"sibling": "brother",
|
||||
"married": "husband",
|
||||
"dating": "boyfriend",
|
||||
"plurality": "singular"
|
||||
};
|
||||
case "they":
|
||||
|
@ -107,8 +122,13 @@ function getPronouns(key, other) {
|
|||
"reflexive": "themself",
|
||||
"honorific-abbr": "Mx.",
|
||||
"honorific": "mix",
|
||||
"noun-adult": "person",
|
||||
"noun-child": "kid",
|
||||
"adult": "person",
|
||||
"youth": "kid",
|
||||
"parent": "parent",
|
||||
"child": "child",
|
||||
"sibling": "sibling",
|
||||
"married": "spouse",
|
||||
"dating": "partner",
|
||||
"plurality": "plural"
|
||||
};
|
||||
case "first":
|
||||
|
|
Loading…
Reference in New Issue