mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
Fix missing window.i18n
This commit is contained in:
@@ -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)';
|
||||
}
|
||||
|
||||
@@ -13,3 +13,5 @@ export const i18n = setupI18n(
|
||||
window.SignalContext.getI18nLocale(),
|
||||
window.SignalContext.getI18nLocaleMessages()
|
||||
);
|
||||
|
||||
window.i18n = i18n;
|
||||
|
||||
Reference in New Issue
Block a user