Move i18n setup to TypeScript
This commit is contained in:
parent
4dcbb7352f
commit
829e42ca6e
155 changed files with 182 additions and 182 deletions
|
@ -4,7 +4,7 @@
|
|||
import url from 'url';
|
||||
import { ipcRenderer } from 'electron';
|
||||
|
||||
import i18n from '../../js/modules/i18n';
|
||||
import { setupI18n } from '../util/setupI18n';
|
||||
import {
|
||||
getEnvironment,
|
||||
parseEnvironment,
|
||||
|
@ -33,5 +33,5 @@ export const SignalWindow = {
|
|||
config.appInstance ? String(config.appInstance) : undefined,
|
||||
getEnvironment,
|
||||
getVersion: (): string => String(config.version),
|
||||
i18n: i18n.setup(locale, localeMessages),
|
||||
i18n: setupI18n(locale, localeMessages),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue