-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(profile info): add custom genders #718
base: master
Are you sure you want to change the base?
Conversation
Не вижу смысла в этом нововведении. |
Я лишь выполнил Issue #312 |
Это конечно хорошо, но оригинальный вк даже не предлагает другой пол кроме муж/жен. |
@n1rwana Лишнее |
Ок. |
@n1rwana Сделай лучше музыку))))))) |
согл |
за голоса)) |
Идея имеет жизнь, но только если добавить "Небинарный" (без указания пола) |
Resolves #748 |
Если всё-таки собрались менять |
a9d021b
to
cbec4b5
Compare
e198aff
to
2db815d
Compare
e198aff
to
2db815d
Compare
бра |
@@ -72,6 +72,10 @@ | |||
"gender" = "Gender"; | |||
"male" = "male"; | |||
"female" = "female"; | |||
"non-binary" = "non-binary"; | |||
"other" = "other"; | |||
"other_gender_placeholder" = "I refer to myself as..."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
identify as*
@@ -52,7 +52,7 @@ function get(string $user_ids = "0", string $fields = "", int $offset = 0, int $ | |||
$response[$i]->verified = intval($usr->isVerified()); | |||
break; | |||
case "sex": | |||
$response[$i]->sex = $usr->isFemale() ? 1 : 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
мб оставить для совместимости? isFemale поменять на ?bool
и возвращать NULL
, если не кун и не тян
@@ -0,0 +1,14 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ненужно
Resolves #312