diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php index 2a508ceedb1..ba55cfcd2a9 100644 --- a/htdocs/admin/tools/dolibarr_export.php +++ b/htdocs/admin/tools/dolibarr_export.php @@ -51,7 +51,6 @@ print $langs->trans("BackupDesc2",DOL_DOCUMENT_ROOT).'
'; print $langs->trans("BackupDescX").'

'; print $langs->trans("BackupDesc3",DOL_DOCUMENT_ROOT).'
'; print $langs->trans("BackupDescX").'

'; -print '
'; if ($_GET["msg"]) { diff --git a/htdocs/admin/tools/dolibarr_import.php b/htdocs/admin/tools/dolibarr_import.php index a68da4e43d3..94bb6457bae 100644 --- a/htdocs/admin/tools/dolibarr_import.php +++ b/htdocs/admin/tools/dolibarr_import.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2006-2009 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,11 +40,11 @@ llxHeader(); print_fiche_titre($langs->trans("Restore"),'','setup'); print '
'; -print $langs->trans("DatabaseName").' : '.$dolibarr_main_db_name.'
'; -print '
'; - - -print_titre($langs->trans("Restore")).'
'; +print $langs->trans("RestoreDesc",DOL_DOCUMENT_ROOT).'

'; +print $langs->trans("RestoreDesc2",DOL_DOCUMENT_ROOT).'

'; +//print $langs->trans("BackupDescX").'

'; +print $langs->trans("RestoreDesc3",DOL_DOCUMENT_ROOT).'

'; +//print $langs->trans("BackupDescX").'

'; ?> @@ -69,7 +69,10 @@ if (! empty($_GET["radio_dump"])) print "document.getElementById('mysql_options'
- +trans("DatabaseName").' : '.$dolibarr_main_db_name.'
'; +print '
'; +?>
@@ -97,10 +100,10 @@ if (! empty($_GET["radio_dump"])) print "document.getElementById('mysql_options' Import MySql
trans("ImportMySqlDesc"); + + echo $langs->trans("ImportMySqlDesc"); print '
'; print '
'; if (empty($_GET["showpass"])) print '
'.$langs->trans("UnHidePassword").''; //else print '
'.$langs->trans("HidePassword").''; print '
'; - + ?> - +
-
+
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 80d1fcce442..231dd07ffe1 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -616,9 +616,12 @@ NoEventOrNoAuditSetup=No security event has been recorded yet. This can be norma NoEventFoundWithCriteria=No security event has been found for such search criterias. SeeLocalSendMailSetup=See your local sendmail setup BackupDesc=To make a complete backup of Dolibarr, you must: -BackupDesc2=* Save content of directory %s (you can make a zip of it for exeample) that contains all uplaoded and generated files. +BackupDesc2=* Save content of documents directory (%s) that contains all uplaoded and generated files (you can make a zip for exeample). BackupDesc3=* Save content of your database with a dump. for this, you can use following assistant. BackupDescX=Built file should be stored in a secure place. +RestoreDesc=To restore a Dolibarr backup, you must: +RestoreDesc2=* Restore archive file (zip file for example) of documents directory to extract tree of files in documents directory of a new Dolibarr installation or into this current documents directoy (%s). +RestoreDesc3=* Restore, from saved dump file, the database of a new Dolibarr installation or database of this current installation. Warning, once restore is finished, you must use a login/password, that existed when backup was made, to connect again. To restore database for this current installation, you can follow this assistant. ##### Module password generation PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase. PasswordGenerationNone=Do not suggest any generated password. Password must be type in manually. diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index 78fde8b278b..c0cf117c73f 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -615,9 +615,12 @@ NoEventOrNoAuditSetup=Aucun évenement d'audit de sécurité n'a été enregistr NoEventFoundWithCriteria=Aucun évenement d'audit de sécurité trouvé avec ces critères. SeeLocalSendMailSetup=Voir votre config local de sendmail BackupDesc=Pour réaliser une sauvegarde complète de Dolibarr, vous devez: -BackupDesc2=* Sauvegarder le contenu du répertoire %s (à zipper par exemple) qui contient tous les fichiers uploadés ou générés. +BackupDesc2=* Sauvegarder le contenu du répertoire document (%s) qui contient tous les fichiers uploadés ou générés (par un zip par exemple). BackupDesc3=* Sauvegarder le contenu de votre base de données par un dump. Pour cela vous pouvez utiliser l'assistant ci-dessous. BackupDescX=Le fichier fabriqué devra être placé en lieu sur. +RestoreDesc=Pour restaurer une sauvegarde de Dolibarr, vous devez: +RestoreDesc2=* Reprendre le fichier archive (fichier zip par exemple) du répertoire documents et en extraire l'arborescence dans le répertoire documents d'une nouvelle installation de dolibarr ou dans le répertoire documents de cette installation (%s). +RestoreDesc3=* Recharger depuis le fichier dump sauvegardé, la base de donnée d'une nouvelle installation de Dolibarr ou de cette installation. Attention, une fois la restauration faite, il faudra utiliser un login/mot de passe administrateur existant à l'époque de la sauvegarde pour se connecter. Pour restaurer la base dans l'installation actuelle, vous pouvez utilisez l'assistant suivant. ##### Module password generation PasswordGenerationStandard=Renvoie un mot de passe généré selon algorithme interne Dolibarr: 8 caractères, chiffres et caractères en minuscules mélangés. PasswordGenerationNone=Ne propose pas de mots de passe générés. Le mot de passe est à saisir manuellement.