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

@ -70,7 +70,7 @@ export const selectVoiceNoteTitle = createSelector(
? conversationSelector(ourConversationId)
: conversationSelector(sourceUuid || source);
return conversation.isMe ? i18n('you') : conversation.title;
return conversation.isMe ? i18n('icu:you') : conversation.title;
};
}
);

View file

@ -77,7 +77,7 @@ export const getPlaceholderContact = (): ConversationType => {
badges: [],
id: 'placeholder-contact',
type: 'direct',
title: window.i18n('unknownContact'),
title: window.i18n('icu:unknownContact'),
isMe: false,
sharedGroupNames: [],
};

View file

@ -1900,7 +1900,7 @@ export const getMessageDetails = createSelector(
if (error.name === OUTGOING_KEY_ERROR) {
return {
...error,
message: i18n('newIdentity'),
message: i18n('icu:newIdentity'),
};
}

View file

@ -82,7 +82,7 @@ export const getSearchConversationName = createSelector(
if (!conversation) {
return undefined;
}
return conversation.isMe ? i18n('noteToSelf') : conversation.title;
return conversation.isMe ? i18n('icu:noteToSelf') : conversation.title;
}
);