mirror of
https://github.com/balena-io/etcher.git
synced 2025-11-08 09:58:32 +00:00
- split translations from i18n.ts to several .ts files in lib/gui/app/i18n - make a README for new language changes - add zh-TW instead of only zh-CN
16 lines
267 B
TypeScript
16 lines
267 B
TypeScript
// @ts-nocheck
|
|
import { main } from './app';
|
|
import './i18n';
|
|
import { langParser } from './i18n';
|
|
import { ipcRenderer } from 'electron';
|
|
|
|
ipcRenderer.send('change-lng', langParser());
|
|
|
|
if (module.hot) {
|
|
module.hot.accept('./app', () => {
|
|
main();
|
|
});
|
|
}
|
|
|
|
main();
|