From afa1bb28604416381cc362d78bad7b935db46428 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 8 Nov 2016 08:42:34 -0800 Subject: [PATCH] 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 --- .../settings/setting/PhabricatorPronounSetting.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/applications/settings/setting/PhabricatorPronounSetting.php b/src/applications/settings/setting/PhabricatorPronounSetting.php index a1e01d2fd6..2ab30f0ab0 100644 --- a/src/applications/settings/setting/PhabricatorPronounSetting.php +++ b/src/applications/settings/setting/PhabricatorPronounSetting.php @@ -22,7 +22,7 @@ final class PhabricatorPronounSetting } public function getSettingDefaultValue() { - return PhutilPerson::SEX_UNKNOWN; + return PhutilPerson::GENDER_UNKNOWN; } protected function getSelectOptions() { @@ -37,9 +37,9 @@ final class PhabricatorPronounSetting $label_his = pht('%s updated his profile', $username); return array( - PhutilPerson::SEX_UNKNOWN => $label_unknown, - PhutilPerson::SEX_MALE => $label_his, - PhutilPerson::SEX_FEMALE => $label_her, + PhutilPerson::GENDER_UNKNOWN => $label_unknown, + PhutilPerson::GENDER_MASCULINE => $label_his, + PhutilPerson::GENDER_FEMININE => $label_her, ); }