mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 19:52:14 -08:00
i18n for uicore.js
This commit is contained in:
parent
9a956c4553
commit
ba8a346df4
@ -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(() => {
|
||||
|
@ -326,5 +326,12 @@
|
||||
"selectAnotherAccountButton": "Select Another Account"
|
||||
}
|
||||
}
|
||||
},
|
||||
"uicore": {
|
||||
"autoUpdate": {
|
||||
"checkingForUpdateButton": "Checking for Updates...",
|
||||
"installNowButton": "Install Now",
|
||||
"checkForUpdatesButton": "Check for Updates"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user