summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/gettext.ts2
-rw-r--r--gui/src/shared/ipc-helpers.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/shared/gettext.ts b/gui/src/shared/gettext.ts
index df15e0c2ef..3283269c70 100644
--- a/gui/src/shared/gettext.ts
+++ b/gui/src/shared/gettext.ts
@@ -1,9 +1,9 @@
-import log from 'electron-log';
import fs from 'fs';
import { po } from 'gettext-parser';
import Gettext from 'node-gettext';
import path from 'path';
import { LocalizationContexts } from './localization-contexts';
+import log from './logging';
const SOURCE_LANGUAGE = 'en';
const LOCALES_DIR = path.resolve(__dirname, '../../locales');
diff --git a/gui/src/shared/ipc-helpers.ts b/gui/src/shared/ipc-helpers.ts
index 1c1465b09b..d1a72a2df6 100644
--- a/gui/src/shared/ipc-helpers.ts
+++ b/gui/src/shared/ipc-helpers.ts
@@ -1,6 +1,6 @@
import { ipcMain, ipcRenderer, WebContents } from 'electron';
-import log from 'electron-log';
import { capitalize } from './string-helpers';
+import log from './logging';
type Handler<T, R> = (callback: (arg: T) => R) => void;
type Sender<T, R> = (arg: T) => R;