diff --git a/app/assets/js/scripts/uicore.js b/app/assets/js/scripts/uicore.js index c35771ad..eae310a8 100644 --- a/app/assets/js/scripts/uicore.js +++ b/app/assets/js/scripts/uicore.js @@ -42,7 +42,7 @@ if(!isDev){ switch(arg){ case 'checking-for-update': loggerAutoUpdater.info('Checking for update..') - settingsUpdateButtonStatus('Checking for Updates..', true) + settingsUpdateButtonStatus(Lang.queryJS('uicore.autoUpdate.checkingForUpdateButton'), true) break case 'update-available': loggerAutoUpdater.info('New update available', info.version) @@ -56,7 +56,7 @@ if(!isDev){ break case 'update-downloaded': loggerAutoUpdater.info('Update ' + info.version + ' ready to be installed.') - settingsUpdateButtonStatus('Install Now', false, () => { + settingsUpdateButtonStatus(Lang.queryJS('uicore.autoUpdate.installNowButton'), false, () => { if(!isDev){ ipcRenderer.send('autoUpdateAction', 'installUpdateNow') } @@ -65,7 +65,7 @@ if(!isDev){ break case 'update-not-available': loggerAutoUpdater.info('No new update found.') - settingsUpdateButtonStatus('Check for Updates') + settingsUpdateButtonStatus(Lang.queryJS('uicore.autoUpdate.checkForUpdatesButton')) break case 'ready': updateCheckListener = setInterval(() => { diff --git a/app/assets/lang/en_US.json b/app/assets/lang/en_US.json index 13d5e479..11809783 100644 --- a/app/assets/lang/en_US.json +++ b/app/assets/lang/en_US.json @@ -326,5 +326,12 @@ "selectAnotherAccountButton": "Select Another Account" } } + }, + "uicore": { + "autoUpdate": { + "checkingForUpdateButton": "Checking for Updates...", + "installNowButton": "Install Now", + "checkForUpdatesButton": "Check for Updates" + } } } \ No newline at end of file