diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php index 4a51d7d5792..ed0ac4660fe 100644 --- a/htdocs/admin/tools/dolibarr_export.php +++ b/htdocs/admin/tools/dolibarr_export.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2006-2008 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 @@ -14,14 +14,13 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** \file htdocs/admin/tools/dolibarr_export.php + \ingroup core \brief Page export de la base - \version $Revision$ + \version $Id$ */ require("./pre.inc.php"); @@ -182,10 +181,10 @@ function show_checked_option() {
- Parametres de l'export MySQL + trans("MySqlExportParameters"); ?>
- Chemin complet de la commande mysqldump:
+ trans("FullPathToMysqldumpCommand"); ?>
@@ -195,7 +194,7 @@ function show_checked_option() { id="checkbox_use_transaction" /> + trans("UseTransactionnalMode"); ?> @@ -204,10 +203,10 @@ function show_checked_option() { id="checkbox_disable_fk" checked="true" /> + trans("CommandsToDisableForeignKeysForImport"); ?> + trans("ExportCompatibility"); ?>
- Options d'exportation + trans("ExportOptions"); ?> - +
@@ -243,8 +240,7 @@ function show_checked_option() { -
+
@@ -256,26 +252,26 @@ function show_checked_option() { return false; else return true;" /> + trans("Datas"); ?>
+ trans("NameColumn"); ?>

+ trans("ExtendedInsert"); ?>

+ trans("DelayedInsert"); ?>

+ trans("EncodeBinariesInHexa"); ?>
@@ -335,7 +331,7 @@ function show_checked_option() { + Cl� de l'�tiquette @@ -354,7 +350,7 @@ function show_checked_option() { return false; else return true;" /> + Donn�es + Cl� de l'�tiquette @@ -407,14 +403,14 @@ function show_checked_option() { + Champs termin�s par + Champs entour�s par + Caract�re sp�cial + Lignes termin�es par
@@ -422,7 +418,7 @@ function show_checked_option() {
@@ -430,7 +426,7 @@ function show_checked_option() {
@@ -449,7 +445,7 @@ function show_checked_option() { id="checkbox_dump_showcsvnames" /> + Afficher les noms de champ en premi�re ligne --> @@ -492,9 +488,9 @@ function show_checked_option() {
- + : + trans("FileNameToGenerate"); ?> : $val) { print ''; - print ' '; + print ' '; } else { print ''; - print ' '; + print ' '; print ' ('.$langs->trans("NotAvailable").')'; } print '     '; diff --git a/htdocs/admin/tools/export.php b/htdocs/admin/tools/export.php index fd29d6de87a..167522d06ab 100644 --- a/htdocs/admin/tools/export.php +++ b/htdocs/admin/tools/export.php @@ -14,14 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ */ /** \file htdocs/admin/tools/export.php \brief Page export de la base - \version $Revision$ + \version $Id$ */ require("./pre.inc.php"); @@ -164,6 +162,7 @@ if ($what == 'mysql') } else { + $langs->load("errors"); dolibarr_syslog("Failed to open file $outputfile",LOG_ERR); $errormsg=$langs->trans("ErrorFailedToWriteInDir"); } diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index c3a679c4b01..6b5da6cfb15 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -106,6 +106,20 @@ ImportMethod=Import method ToBuildBackupFileClickHere=To build a backup file, click here. ImportMySqlDesc=To import a backup file, you must use mysql command from command line: ImportMySqlCommand=%s %s < mybackupfile.sql +FileNameToGenerate=File name to generate +CommandsToDisableForeignKeysForImport=Command to disable foreign keys on import +ExportCompatibility=Compatibilité du fichier export généré +MySqlExportParameters=MySql export parameters +UseTransactionnalMode=Use transactionnal mode +FullPathToMysqldumpCommand=Full path to mysqldump command +ExportOptions=Export Options +AddDropDatabase=Add DROP DATABASE command +AddDropTable=Add DROP TABLE command +Datas=Datas +NameColumn=Name columns +ExtendedInsert=Extended INSERT +DelayedInsert=Insert with delays +EncodeBinariesInHexa=Encode binary datas in hexadecimal Yes=Yes No=No AutoDetectLang=Autodetect (browser language) diff --git a/htdocs/langs/en_US/errors.lang b/htdocs/langs/en_US/errors.lang index 7d51540f994..8e6e6485834 100644 --- a/htdocs/langs/en_US/errors.lang +++ b/htdocs/langs/en_US/errors.lang @@ -13,6 +13,7 @@ ErrorBadSupplierCodeSyntax=Bad syntax for supplier code ErrorSupplierCodeRequired=Supplier code required ErrorSupplierCodeAlreadyUsed=Supplier code already used ErrorBadParameters=Bad parameters +ErrorFailedToWriteInDir=Failed to write in directory %s UserCannotBeDelete=User can not be deleted. May be it is associated on Dolibarr entities. ErrorFieldsRequired=Some required fields were not filled. ErrorFailedToCreateDir=Failed to create a directory. Check that Web server user has permissions to write into Dolibarr documents directory. If parameter safe_mode is enabled on this PHP, check that Dolibarr php files owns to web server user (or group). diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index 8acedeac8ac..7acdb5e87cc 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -106,6 +106,20 @@ ImportMethod=M ToBuildBackupFileClickHere=Pour générer un fichier de sauvegarde, cliquez ici. ImportMySqlDesc=Pour importer une sauvegarde, il faut utiliser la commande mysql en ligne suivante: ImportMySqlCommand=%s %s < monfichierbackup.sql +FileNameToGenerate=Nom du fichier à générer +CommandsToDisableForeignKeysForImport=Commande pour désactiver les clés étrangères à l'import +ExportCompatibility=Compatibilité du fichier export généré +MySqlExportParameters=Paramètres de l'export MySql +UseTransactionnalMode=Utiliser le mode transactionnel +FullPathToMysqldumpCommand=Chemin complet vers la commande mysqldump +ExportOptions=Options d'exportation +AddDropDatabase=Ajouter ordres DROP DATABASE +AddDropTable=Ajouter ordres DROP TABLE +Datas=Données +NameColumn=Nomme les colonnes +ExtendedInsert=Instructions INSERT étendues +DelayedInsert=Insertion avec délais +EncodeBinariesInHexa=Encoder les champs binaires en hexadécimal Yes=Oui No=Non AutoDetectLang=Détection auto (navigateur) diff --git a/htdocs/langs/fr_FR/errors.lang b/htdocs/langs/fr_FR/errors.lang index 2166c4ed6ec..8c7d95f5f7a 100644 --- a/htdocs/langs/fr_FR/errors.lang +++ b/htdocs/langs/fr_FR/errors.lang @@ -13,6 +13,7 @@ ErrorBadSupplierCodeSyntax=La syntaxe du code fournisseur est incorrect ErrorSupplierCodeRequired=Code fournisseur obligatoire ErrorSupplierCodeAlreadyUsed=Code fournisseur deja utilise ErrorBadParameters=Parametres incorrects +ErrorFailedToWriteInDir=Impossible d'écrire dans le répertoire %s UserCannotBeDelete=L'utilisateur ne peut pas etre supprimée. Peut-être est-il associé à des éléments de Dolibarr. ErrorFieldsRequired=Des champs obligatoires n'ont pas été renseignés ErrorFailedToCreateDir=Echec a la creation d'un repertoire. Verifiez que le user du serveur Web a bien les droits d'ecriture dans les repertoires documents de Dolibarr. Si le parametre safe_mode a été activé sur ce PHP, vérifier que les fichiers php dolibarr appartiennent à l'utilisateur du serveur Web.