mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 20:07:03 +01:00
change "any/all" to "any pronouns"
This commit is contained in:
parent
20f96796d7
commit
8d086ad91c
3 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
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
|
// Profile render user's profile page
|
||||||
|
|
|
@ -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 "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 "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 "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}}
|
{{if .PronounsAreCustom}}
|
||||||
<div class="item active selected" data-value="{{.SignedUser.Pronouns}}"><i>{{ctx.Locale.Tr "settings.pronouns_custom"}}</i></div>
|
<div class="item active selected" data-value="{{.SignedUser.Pronouns}}"><i>{{ctx.Locale.Tr "settings.pronouns_custom"}}</i></div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
@ -10,7 +10,7 @@ function onPronounsDropdownUpdate() {
|
||||||
pronounsInput.value === 'she/her' ||
|
pronounsInput.value === 'she/her' ||
|
||||||
pronounsInput.value === 'they/them' ||
|
pronounsInput.value === 'they/them' ||
|
||||||
pronounsInput.value === 'it/its' ||
|
pronounsInput.value === 'it/its' ||
|
||||||
pronounsInput.value === 'any/all'
|
pronounsInput.value === 'any pronouns'
|
||||||
);
|
);
|
||||||
if (isCustom) {
|
if (isCustom) {
|
||||||
if (pronounsInput.value === '!') {
|
if (pronounsInput.value === '!') {
|
||||||
|
|
Loading…
Reference in a new issue