1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

Fix some grammatical gender constants

Summary: Ref T5267. I missed these in the variable types conversion.

Test Plan: `arc unit --everything`

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T5267

Differential Revision: https://secure.phabricator.com/D16824
This commit is contained in:
epriestley 2016-11-08 08:42:34 -08:00
parent 9803674525
commit afa1bb2860

View file

@ -22,7 +22,7 @@ final class PhabricatorPronounSetting
} }
public function getSettingDefaultValue() { public function getSettingDefaultValue() {
return PhutilPerson::SEX_UNKNOWN; return PhutilPerson::GENDER_UNKNOWN;
} }
protected function getSelectOptions() { protected function getSelectOptions() {
@ -37,9 +37,9 @@ final class PhabricatorPronounSetting
$label_his = pht('%s updated his profile', $username); $label_his = pht('%s updated his profile', $username);
return array( return array(
PhutilPerson::SEX_UNKNOWN => $label_unknown, PhutilPerson::GENDER_UNKNOWN => $label_unknown,
PhutilPerson::SEX_MALE => $label_his, PhutilPerson::GENDER_MASCULINE => $label_his,
PhutilPerson::SEX_FEMALE => $label_her, PhutilPerson::GENDER_FEMININE => $label_her,
); );
} }