change "any/all" to "any pronouns"

This commit is contained in:
hazycora 2024-02-24 12:24:12 -06:00
parent 20f96796d7
commit 8d086ad91c
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ const (
)
var (
recognisedPronouns = []string{"", "he/him", "she/her", "they/them", "it/its", "any/all"}
recognisedPronouns = []string{"", "he/him", "she/her", "they/them", "it/its", "any pronouns"}
)
// Profile render user's profile page

View file

@ -41,7 +41,7 @@
<div class="item{{if eq "she/her" .SignedUser.Pronouns}} active selected{{end}}" data-value="she/her">she/her</div>
<div class="item{{if eq "they/them" .SignedUser.Pronouns}} active selected{{end}}" data-value="they/them">they/them</div>
<div class="item{{if eq "it/its" .SignedUser.Pronouns}} active selected{{end}}" data-value="it/its">it/its</div>
<div class="item{{if eq "any/all" .SignedUser.Pronouns}} active selected{{end}}" data-value="any/all">any/all</div>
<div class="item{{if eq "any pronouns" .SignedUser.Pronouns}} active selected{{end}}" data-value="any pronouns">any pronouns</div>
{{if .PronounsAreCustom}}
<div class="item active selected" data-value="{{.SignedUser.Pronouns}}"><i>{{ctx.Locale.Tr "settings.pronouns_custom"}}</i></div>
{{else}}

View file

@ -10,7 +10,7 @@ function onPronounsDropdownUpdate() {
pronounsInput.value === 'she/her' ||
pronounsInput.value === 'they/them' ||
pronounsInput.value === 'it/its' ||
pronounsInput.value === 'any/all'
pronounsInput.value === 'any pronouns'
);
if (isCustom) {
if (pronounsInput.value === '!') {