Remove at-username i18n string
This commit is contained in:
parent
57029a9908
commit
0e618e5091
6 changed files with 8 additions and 11 deletions
|
@ -181,9 +181,7 @@ export function GlobalModalContainer({
|
|||
});
|
||||
} else if (userNotFoundModalState.type === 'username') {
|
||||
content = i18n('startConversation--username-not-found', {
|
||||
atUsername: i18n('at-username', {
|
||||
username: userNotFoundModalState.username,
|
||||
}),
|
||||
atUsername: userNotFoundModalState.username,
|
||||
});
|
||||
} else {
|
||||
throw missingCaseError(userNotFoundModalState);
|
||||
|
|
|
@ -62,7 +62,7 @@ export const UsernameCheckbox: FunctionComponent<PropsType> = React.memo(
|
|||
username,
|
||||
]);
|
||||
|
||||
const title = i18n('at-username', { username });
|
||||
const title = username;
|
||||
|
||||
const avatar = (
|
||||
<Avatar
|
||||
|
|
|
@ -30,7 +30,6 @@ export function UsernameSearchResultListItem({
|
|||
setIsFetchingUUID,
|
||||
showConversation,
|
||||
}: Props): JSX.Element {
|
||||
const usernameText = i18n('at-username', { username });
|
||||
const boundOnClick = useCallback(async () => {
|
||||
if (isFetchingUsername) {
|
||||
return;
|
||||
|
@ -59,7 +58,7 @@ export function UsernameSearchResultListItem({
|
|||
<BaseConversationListItem
|
||||
acceptedMessageRequest={false}
|
||||
conversationType="direct"
|
||||
headerName={usernameText}
|
||||
headerName={username}
|
||||
i18n={i18n}
|
||||
isMe={false}
|
||||
isSelected={false}
|
||||
|
@ -67,7 +66,7 @@ export function UsernameSearchResultListItem({
|
|||
shouldShowSpinner={isFetchingUsername}
|
||||
onClick={boundOnClick}
|
||||
sharedGroupNames={[]}
|
||||
title={usernameText}
|
||||
title={username}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue