From 1d0ac1ac228b419454983cf2eb76de132089a566 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Feb 2005 21:30:03 +0000 Subject: [PATCH] Trad: Et de la traduction... --- htdocs/install/etape4.php | 4 ++-- htdocs/install/etape5.php | 6 +++--- htdocs/langs/en_US/install.lang | 2 ++ htdocs/langs/fr_FR/install.lang | 2 ++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/htdocs/install/etape4.php b/htdocs/install/etape4.php index 900ccd40bdf..9d7d31f5b15 100644 --- a/htdocs/install/etape4.php +++ b/htdocs/install/etape4.php @@ -68,7 +68,7 @@ if ($db->ok == 1) if ($_GET["error"] == 1) { - print '
Les mots de passe ne concordent pas, veuillez recommencer !
'; + print '
'.$langs->trans("PasswordsMismatch").'
'; } if ($_GET["error"] == 2) @@ -80,7 +80,7 @@ if ($db->ok == 1) if ($_GET["error"] == 3) { - print '
Veuillez saisir un login !
'; + print '
'.$langs->trans("PleaseTypeALogin").'
'; } $db->close(); } diff --git a/htdocs/install/etape5.php b/htdocs/install/etape5.php index 4f5fc09567a..09ad3c8af7a 100644 --- a/htdocs/install/etape5.php +++ b/htdocs/install/etape5.php @@ -54,17 +54,17 @@ if ($_POST["action"] == "set") { if ($_POST["pass"] <> $_POST["pass_verif"]) { - Header("Location: etape4.php?error=1"); + Header("Location: etape4.php?error=1&selectlang=$setuplang"); } if (strlen(trim($_POST["pass"])) == 0) { - Header("Location: etape4.php?error=2"); + Header("Location: etape4.php?error=2&selectlang=$setuplang"); } if (strlen(trim($_POST["login"])) == 0) { - Header("Location: etape4.php?error=3"); + Header("Location: etape4.php?error=3&selectlang=$setuplang"); } diff --git a/htdocs/langs/en_US/install.lang b/htdocs/langs/en_US/install.lang index 7ee0b40c3b1..5e93c553124 100644 --- a/htdocs/langs/en_US/install.lang +++ b/htdocs/langs/en_US/install.lang @@ -35,6 +35,8 @@ ReferenceDataLoading=Reference data loading TablesAndPrimaryKeyCreation=Tables and Primary keys creation AdminAccountCreation=Administrator login creation PleaseTypePassword=Please type a password, empty passwords are not allowed ! +PleaseTypeALogin=Please type a login ! +PasswordsMismatch=Passwords differs, please try again ! SetupEnd=End of setup SystemIsInstalled=Your system is now installed. YouNeedToPersonalizeSetup=Now you must configure Dolibarr to match your needs (Look choice, functionnalities, ...). For this, click on the following link: diff --git a/htdocs/langs/fr_FR/install.lang b/htdocs/langs/fr_FR/install.lang index fa94f7f5265..938de38de8e 100644 --- a/htdocs/langs/fr_FR/install.lang +++ b/htdocs/langs/fr_FR/install.lang @@ -35,6 +35,8 @@ ReferenceDataLoading=Chargement des donn TablesAndPrimaryKeyCreation=Creation des tables et clés primaires AdminAccountCreation=Création du compte administrateur PleaseTypePassword=Veuillez saisir un mot de passe, les mots de passe vides ne sont pas acceptés ! +PleaseTypeALogin=Veuillez saisir un login ! +PasswordsMismatch=Les mots de passe ne correspondent pas, essayez à nouveau ! SetupEnd=Fin de l'installation SystemIsInstalled=Votre système est maintenant installé. YouNeedToPersonalizeSetup=Il vous reste à le configurer selon vos besoins (Choix de l'apparence, des fonctionnalités, etc...). Pour cela, cliquez sur le lien ci-dessous: