From 6a866ea12d79d5f2bdccf1e8902d27c16c6c4b69 Mon Sep 17 00:00:00 2001 From: jykim Date: Mon, 19 Feb 2018 17:53:24 +0900 Subject: [PATCH] =?UTF-8?q?about=20=EC=96=B8=EC=96=B4=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=20=EC=8B=9C=EC=A0=90=20=EB=B3=80=EA=B2=BD.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/views/about.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/renderer/views/about.html b/src/renderer/views/about.html index 59c34434e..60905c3c0 100644 --- a/src/renderer/views/about.html +++ b/src/renderer/views/about.html @@ -40,8 +40,6 @@ if(!localStorage.getItem('lang')) { localStorage.setItem('lang', 'ko'); } - var user_lang = localStorage.getItem('lang'); - window.Lang = require(`../lang/${user_lang}.js`).Lang; $(function () { $('body').on('click', function () { @@ -60,10 +58,13 @@ }); $("#version").text(app.getVersion()); - $(".btnVersionUpdate").text(Lang.General.recent_download2); - $(".txtAlreadyVersion").text(Lang.General.latest_version); aboutWindow.on('show', () => { + var user_lang = localStorage.getItem('lang'); + window.Lang = require(`../lang/${user_lang}.js`).Lang; + $(".btnVersionUpdate").text(Lang.General.recent_download2); + $(".txtAlreadyVersion").text(Lang.General.latest_version); + ipcRenderer.once('checkVersionResult', (e, hasNewVersion) => { if (hasNewVersion) { $('.txtAlreadyVersion').hide();