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

@ -36,12 +36,12 @@ export function ToastInternalError(props: PropsType): JSX.Element {
if (kind === ToastInternalErrorKind.DecryptionError) {
const { deviceId, name } = props;
body = i18n('decryptionErrorToast', {
body = i18n('icu:decryptionErrorToast', {
name,
deviceId,
});
} else if (kind === ToastInternalErrorKind.CDSMirroringError) {
body = i18n('cdsMirroringErrorToast');
body = i18n('icu:cdsMirroringErrorToast');
} else {
throw missingCaseError(kind);
}
@ -53,7 +53,7 @@ export function ToastInternalError(props: PropsType): JSX.Element {
onClose={onClose}
style={{ maxWidth: '500px' }}
toastAction={{
label: i18n('decryptionErrorToastAction'),
label: i18n('icu:decryptionErrorToastAction'),
onClick: onShowDebugLog,
}}
>