Skip to content

Commit

Permalink
about 언어 변경 시점 변경.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimorkim committed Feb 19, 2018
1 parent 5cf0874 commit 6a866ea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/renderer/views/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand All @@ -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();
Expand Down

0 comments on commit 6a866ea

Please sign in to comment.