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

@ -849,9 +849,9 @@ export function getAlt(
i18n: LocalizerType
): string {
if (isVideoAttachment(attachment)) {
return i18n('videoAttachmentAlt');
return i18n('icu:videoAttachmentAlt');
}
return i18n('imageAttachmentAlt');
return i18n('icu:imageAttachmentAlt');
}
// Migration-related attachment stuff

View file

@ -146,7 +146,7 @@ export function getStoryDistributionListName(
id: string,
name: string
): string {
return id === MY_STORY_ID ? i18n('Stories__mine') : name;
return id === MY_STORY_ID ? i18n('icu:Stories__mine') : name;
}
export enum HasStories {