From d365b305883145150876ba57d1da6dbd7f8b865c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 12 Feb 2005 21:42:33 +0000 Subject: [PATCH] =?UTF-8?q?Trad:=20La=20m=E9canique=20du=20programme=20d'i?= =?UTF-8?q?nstallation=20est=20=E9galement=20multilangue=20maintenant.=20R?= =?UTF-8?q?este=20=E0=20traduire=20les=20chaines.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/install/etape2.php | 6 ++++++ htdocs/install/inc.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/install/etape2.php b/htdocs/install/etape2.php index e74abdf59ff..361924cc14a 100644 --- a/htdocs/install/etape2.php +++ b/htdocs/install/etape2.php @@ -284,6 +284,12 @@ if ($_POST["action"] == "set") where name = 'SOCIETE_OUTPUTDIR';" ; $sql[4] = "DELETE from llx_const where name like '%_OUTPUT_URL';"; + + + $sql[5] = "UPDATE llx_const SET value='".$langs->defaultlang."', + type = 'chaine', + visible = 0 + where name = 'MAIN_LANG_DEFAULT';" ; $result = 0; diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php index 6870ed37c18..4f053268250 100644 --- a/htdocs/install/inc.php +++ b/htdocs/install/inc.php @@ -54,7 +54,7 @@ function pHeader($soutitre,$next) print ''; print ''; - print ''; + print ''; print ''.$langs->trans("DolibarrSetup").''; print '';