diff --git a/electron-app/ecoindex-app/src/locales/en/translation.json b/electron-app/ecoindex-app/src/locales/en/translation.json index cf66d08..c7899c6 100644 --- a/electron-app/ecoindex-app/src/locales/en/translation.json +++ b/electron-app/ecoindex-app/src/locales/en/translation.json @@ -77,6 +77,7 @@ "Upgrade": "Upgrade", "Url(s) Measure (Simple mode)": "Url(s) Measure (Simple mode)", "Version de l'application": "Version de l'application", + "Version of the application": "Version of the application", "View": "View", "You can change the application language in the menu, Language.": "Vous pouvez changer la langue de l'application dans le menu, Language.", "You have an error but you think it's a bug. Report to the developper by clicking the button (datas are saved to your clipboard) and send theim by mail to ": "You have an error but you think it's a bug. Report to the developper by clicking the button (datas are saved to your clipboard) and send theim by mail to ", diff --git a/electron-app/ecoindex-app/src/locales/fr/translation.json b/electron-app/ecoindex-app/src/locales/fr/translation.json index 6a17ec6..d0ae710 100644 --- a/electron-app/ecoindex-app/src/locales/fr/translation.json +++ b/electron-app/ecoindex-app/src/locales/fr/translation.json @@ -77,6 +77,7 @@ "Upgrade": "Mettre à jour", "Url(s) Measure (Simple mode)": "Mesure d'URLs (mode simple)", "Version de l'application": "Version de l'application", + "Version of the application": "Version de l'application", "View": "Affichage", "You can change the application language in the menu, Language.": "Vous pouvez modifier la langue de l'application dans le menu Language.", "You have an error but you think it's a bug. Report to the developper by clicking the button (datas are saved to your clipboard) and send theim by mail to ": "Vous avez une erreur mais vous pensez qu'il s'agit d'un bogue. Signalez-le au développeur en cliquant sur le bouton (les données sont enregistrées dans votre presse-papiers) et envoyez-le par courrier à ", diff --git a/electron-app/ecoindex-app/src/main/handlers/isLighthousePluginEcoindexInstalled.ts b/electron-app/ecoindex-app/src/main/handlers/isLighthousePluginEcoindexInstalled.ts index 9cc6373..0886e95 100644 --- a/electron-app/ecoindex-app/src/main/handlers/isLighthousePluginEcoindexInstalled.ts +++ b/electron-app/ecoindex-app/src/main/handlers/isLighthousePluginEcoindexInstalled.ts @@ -10,7 +10,7 @@ import { version } from 'react' // 3. Update if necessay /** - * Check is Mandatory is installed on host. + * Check if LighthousePluginEcoindex (Mandatory) is installed on host. * @param _event IpcMainEvent | IpcMainInvokeEvent * @returns boolean */ diff --git a/electron-app/ecoindex-app/src/main/main.ts b/electron-app/ecoindex-app/src/main/main.ts index bf3f308..e4f52df 100644 --- a/electron-app/ecoindex-app/src/main/main.ts +++ b/electron-app/ecoindex-app/src/main/main.ts @@ -20,20 +20,14 @@ import Updater from './Updater' import fixPath from 'fix-path' import { handleGetNodeVersion } from './handlers/HandleGetNodeVersion' import { handleHomeDir } from './handlers/HandleHomeDir' -import { handleInstallPuppeteerBrowser } from './handlers/PuppeteerBrowserInstall' -import { handleInstallSudoPuppeteerBrowser } from './handlers/SudoPuppeteerBrowserInstall' import { handleIsJsonConfigFileExist } from './handlers/HandleIsJsonConfigFileExist' import { handleJsonReadAndReload } from './handlers/HandleJsonReadAndReload' import { handleNodeInstalled } from './handlers/HandleGetNodeDir_NpmDir' -import { handlePluginInstalled } from './handlers/HandlePluginInstalled' import { handleSelectFolder } from './handlers/HandleSelectFolder' import { handleWorkDir } from './handlers/HandleWorkDir' import { handle_CMD_Actions } from './handlers/HandleCMDActions' import i18n from '../configs/i18next.config' -import { isAdmin } from './handlers/IsAdminOnHost' import { isLighthousePluginEcoindexInstalled } from './handlers/IsLighthousePluginEcoindexInstalled' -import { isLighthousePluginEcoindexInstalled_old } from './handlers/isLighthousePluginEcoindexInstalled_old' -import { isLighthousePluginEcoindexMustBeInstallOrUpdated } from './handlers/IsLighthousePluginEcoindexMustBeInstallOrUpdated' import { isPupperteerBrowserInstalled } from './handlers/IsPuppeteerBrowserInstalled' import log from 'electron-log/main' import os from 'os' diff --git a/electron-app/ecoindex-app/src/renderer/HelloWindow/App.tsx b/electron-app/ecoindex-app/src/renderer/HelloWindow/App.tsx index 0d3a0d0..5112b10 100644 --- a/electron-app/ecoindex-app/src/renderer/HelloWindow/App.tsx +++ b/electron-app/ecoindex-app/src/renderer/HelloWindow/App.tsx @@ -247,7 +247,7 @@ function HelloApp() {