mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fully migrate to ICU
This commit is contained in:
@@ -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,
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user