Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14051864
D16824.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
904 B
Referenced Files
None
Subscribers
None
D16824.diff
View Options
diff --git a/src/applications/settings/setting/PhabricatorPronounSetting.php b/src/applications/settings/setting/PhabricatorPronounSetting.php
--- a/src/applications/settings/setting/PhabricatorPronounSetting.php
+++ b/src/applications/settings/setting/PhabricatorPronounSetting.php
@@ -22,7 +22,7 @@
}
public function getSettingDefaultValue() {
- return PhutilPerson::SEX_UNKNOWN;
+ return PhutilPerson::GENDER_UNKNOWN;
}
protected function getSelectOptions() {
@@ -37,9 +37,9 @@
$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,
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 4:36 AM (2 d, 6 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6727228
Default Alt Text
D16824.diff (904 B)
Attached To
Mode
D16824: Fix some grammatical gender constants
Attached
Detach File
Event Timeline
Log In to Comment