diff --git a/ts/windows/about/app.tsx b/ts/windows/about/app.tsx index 8b82157718..e54575f620 100644 --- a/ts/windows/about/app.tsx +++ b/ts/windows/about/app.tsx @@ -15,7 +15,7 @@ strictAssert(AboutWindowProps, 'window values not provided'); let platform = ''; if (AboutWindowProps.platform === 'darwin') { if (AboutWindowProps.arch === 'arm64') { - platform = ` (${window.i18n('icu:appleSilicon')})`; + platform = ` (${i18n('icu:appleSilicon')})`; } else { platform = ' (Intel)'; } diff --git a/ts/windows/sandboxedInit.ts b/ts/windows/sandboxedInit.ts index a93ad90cdf..3d65b6aa49 100644 --- a/ts/windows/sandboxedInit.ts +++ b/ts/windows/sandboxedInit.ts @@ -13,3 +13,5 @@ export const i18n = setupI18n( window.SignalContext.getI18nLocale(), window.SignalContext.getI18nLocaleMessages() ); + +window.i18n = i18n;