From 0f3c3d1236364eccde77276cb56a80a47f66bf8b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 1 Dec 2010 22:34:58 +0000 Subject: [PATCH] New: Add a message at end of migration process --- htdocs/install/upgrade2.php | 4 ++-- htdocs/langs/en_US/install.lang | 1 + htdocs/langs/fr_FR/install.lang | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index a00162acccf..88b8dbd19f8 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -299,13 +299,13 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action'))) $beforeversionarray=explode('.','3.0.9'); if (versioncompare($versiontoarray,$afterversionarray) >= 0 && versioncompare($versiontoarray,$beforeversionarray) <= 0) { - //print $langs->trans("AlreadyDone"); - // Reload modules migrate_reload_modules($db,$langs,$conf); // Reload menus migrate_reload_menu($db,$langs,$conf,$versionto); + + print $langs->trans("MigrationFinished"); } // On commit dans tous les cas. diff --git a/htdocs/langs/en_US/install.lang b/htdocs/langs/en_US/install.lang index c92df18082b..ae77a9749a1 100644 --- a/htdocs/langs/en_US/install.lang +++ b/htdocs/langs/en_US/install.lang @@ -146,6 +146,7 @@ NextStepMightLastALongTime=Current step may last several minutes. Please wait un MigrationCustomerOrderShipping=Migrate shipping for customer orders storage MigrationShippingDelivery=Upgrade storage of shipping MigrationShippingDelivery2=Upgrade storage of shipping 2 +MigrationFinished=Migration finished ######### # upgrade diff --git a/htdocs/langs/fr_FR/install.lang b/htdocs/langs/fr_FR/install.lang index 49b4744de30..33098b44c17 100644 --- a/htdocs/langs/fr_FR/install.lang +++ b/htdocs/langs/fr_FR/install.lang @@ -147,6 +147,7 @@ NextStepMightLastALongTime=L'étape en cours peut durer quelques minutes. Merci MigrationCustomerOrderShipping=Mise à jour stockage des expéditions des commandes clients MigrationShippingDelivery=Mise à jour stockage des expéditions MigrationShippingDelivery2=Mise à jour stockage des expéditions 2 +MigrationFinished=Migration terminée ######### # upgrade