Show "you" instead of "me" in the group members list

This commit is contained in:
Ken Powers 2020-03-09 16:56:11 -04:00 committed by Scott Nonnenberg
parent 12457d47a3
commit 31f219690a
2 changed files with 1 additions and 5 deletions

View file

@ -255,10 +255,6 @@
} }
} }
}, },
"me": {
"message": "Me",
"description": "The label for yourself when shown in a group member list"
},
"view": { "view": {
"message": "View", "message": "View",
"description": "Used as a label on a button allowing user to see more information" "description": "Used as a label on a button allowing user to see more information"

View file

@ -55,7 +55,7 @@ export class ContactListItem extends React.Component<Props> {
} = this.props; } = this.props;
const title = name ? name : phoneNumber; const title = name ? name : phoneNumber;
const displayName = isMe ? i18n('me') : title; const displayName = isMe ? i18n('you') : title;
const profileElement = const profileElement =
!isMe && profileName && !name ? ( !isMe && profileName && !name ? (