From e0efe30bda740142294db04bcb0823c59601ac9a Mon Sep 17 00:00:00 2001 From: meowtec Date: Sun, 16 Jul 2017 13:32:11 +0800 Subject: [PATCH] orz --- modules/locales/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/locales/index.ts b/modules/locales/index.ts index cf33ec6..9315449 100644 --- a/modules/locales/index.ts +++ b/modules/locales/index.ts @@ -14,8 +14,7 @@ let gettext: Gettext // get os language in main or renderer export const setup = () => { - // const locale = app ? app.getLocale() : navigator.language - const locale = 'nl-TW' + const locale = app ? app.getLocale() : navigator.language gettext = createLocale(texts, { zh: 'zh-CN', nl: 'nl-NL',