Fully migrate to ICU

This commit is contained in:
Jamie Kyle 2023-03-29 17:03:25 -07:00 committed by GitHub
parent d4e7177ba6
commit 5e647c55d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
274 changed files with 7948 additions and 1944 deletions

View file

@ -71,7 +71,7 @@ const renderPerson = (
title: string;
}>
): ReactNode =>
person.isMe ? i18n('you') : <ContactName title={person.title} />;
person.isMe ? i18n('icu:you') : <ContactName title={person.title} />;
// This function exists because bodyRanges tells us the character position
// where the at-mention starts at according to the full body text. The snippet
@ -162,7 +162,7 @@ export const MessageSearchResult: FunctionComponent<PropsType> = React.memo(
let headerName: ReactNode;
if (isNoteToSelf) {
headerName = i18n('noteToSelf');
headerName = i18n('icu:noteToSelf');
} else if (from.isMe) {
if (to.type === 'group') {
headerName = (