language update

This commit is contained in:
Yoann Brigant 2022-08-22 15:41:01 +02:00
parent 08ef228bb8
commit e7c7a13e93
3 changed files with 8 additions and 8 deletions

View File

@ -324,7 +324,7 @@ function asyncSystemScan(mcVersion, launchAfter = true){
// If the result is null, no valid Java installation was found.
// Show this information to the user.
setOverlayContent(
'No Compatible<br>Java Installation Found',
'Version non compatible<br>Installation de Java trouvé',
'In order to join WesterosCraft, you need a 64-bit installation of Java 8. Would you like us to install a copy?',
'Install Java',
'Install Manually'

View File

@ -1427,7 +1427,7 @@ function populateReleaseNotes(){
},
timeout: 2500
}).catch(err => {
settingsAboutChangelogText.innerHTML = 'Failed to load release notes.'
settingsAboutChangelogText.innerHTML = 'Impossible de charger les changelogs.'
})
}

View File

@ -44,10 +44,10 @@ if(!isDev){
switch(arg){
case 'checking-for-update':
loggerAutoUpdater.log('Checking for update..')
settingsUpdateButtonStatus('Checking for Updates..', true)
settingsUpdateButtonStatus('Vérification des mises à jour..', true)
break
case 'update-available':
loggerAutoUpdaterSuccess.log('New update available', info.version)
loggerAutoUpdaterSuccess.log('Nouvelle mise à jour disponible', info.version)
if(process.platform === 'darwin'){
info.darwindownload = `https://github.com/ElBrigos/TabernaLauncher/releases/download/v${info.version}/Taberna-Launcher-setup-${info.version}${process.arch === 'arm64' ? '-arm64' : '-x64'}.dmg`
@ -57,8 +57,8 @@ if(!isDev){
populateSettingsUpdateInformation(info)
break
case 'update-downloaded':
loggerAutoUpdaterSuccess.log('Update ' + info.version + ' ready to be installed.')
settingsUpdateButtonStatus('Install Now', false, () => {
loggerAutoUpdaterSuccess.log('Version ' + info.version + ' prête à être installé.')
settingsUpdateButtonStatus('Installer Maintenant', false, () => {
if(!isDev){
ipcRenderer.send('autoUpdateAction', 'installUpdateNow')
}
@ -66,8 +66,8 @@ if(!isDev){
showUpdateUI(info)
break
case 'update-not-available':
loggerAutoUpdater.log('No new update found.')
settingsUpdateButtonStatus('Check for Updates')
loggerAutoUpdater.log('Pas de nouvelle mise à jour disponible.')
settingsUpdateButtonStatus('Vérifier les Mises à Jour')
break
case 'ready':
updateCheckListener = setInterval(() => {