signal-desktop/ts/context/localeMessages.ts

7 lines
271 B
TypeScript

// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { ipcRenderer } from 'electron';
export const localeMessages = ipcRenderer.sendSync('locale-data');
export const localeDisplayNames = ipcRenderer.sendSync('locale-display-names');