From a2ae3dbef657a89ea8e306491f1dcac7af427b77 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 13 Oct 2011 01:18:57 +0200 Subject: [PATCH] New: Add message during install when activating a module by installer --- htdocs/install/etape5.php | 2 ++ htdocs/langs/en_US/install.lang | 1 + htdocs/langs/fr_FR/install.lang | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/install/etape5.php b/htdocs/install/etape5.php index 638e0674453..376d8fdf1a8 100644 --- a/htdocs/install/etape5.php +++ b/htdocs/install/etape5.php @@ -223,6 +223,8 @@ if ($action == "set" || preg_match('/upgrade/i',$action)) foreach ($tmparray as $modtoactivate) { $modtoactivatenew=preg_replace('/\.class\.php$/i','',$modtoactivate); + print $langs->trans("ActivateModule",$modtoactivatenew).'
'; + $file=$modtoactivatenew.'.class.php'; dolibarr_install_syslog('install/etape5.php Activate module file='.$file); $res=dol_include_once("/includes/modules/".$file); diff --git a/htdocs/langs/en_US/install.lang b/htdocs/langs/en_US/install.lang index 7f65867db7f..437e11c0faa 100644 --- a/htdocs/langs/en_US/install.lang +++ b/htdocs/langs/en_US/install.lang @@ -151,6 +151,7 @@ MigrationShippingDelivery=Upgrade storage of shipping MigrationShippingDelivery2=Upgrade storage of shipping 2 MigrationFinished=Migration finished LastStepDesc=Last step: Define here login and password you plan to use to connect to software. Do not loose this as it is the account to administer all others. +ActivateModule=Activate module %s ######### # upgrade diff --git a/htdocs/langs/fr_FR/install.lang b/htdocs/langs/fr_FR/install.lang index 8daba3b6756..83619fd68aa 100644 --- a/htdocs/langs/fr_FR/install.lang +++ b/htdocs/langs/fr_FR/install.lang @@ -152,7 +152,8 @@ MigrationShippingDelivery=Mise à jour stockage des expéditions MigrationShippingDelivery2=Mise à jour stockage des expéditions 2 MigrationFinished=Migration terminée LastStepDesc=Dernière étape: Définissez ici le compte et mot de passe du premier utilisateur que vous allez utiliser pour vous connecter à l'application. Ne perdez pas ces identifiants, il s'agit du compte permettant d'administrer les autres. - +ActivateModule=Activation du module %s + ######### # upgrade