Trad: Missing trad

This commit is contained in:
Laurent Destailleur 2010-07-11 11:08:55 +00:00
parent f6dd987782
commit fdd48bd5d1
4 changed files with 9 additions and 6 deletions

View File

@ -53,7 +53,7 @@ class ExportCsv extends ModeleExports
*/ */
function ExportCsv($db) function ExportCsv($db)
{ {
global $conf; global $conf,$langs;
$this->db = $db; $this->db = $db;
$this->separator=','; $this->separator=',';
@ -63,7 +63,7 @@ class ExportCsv extends ModeleExports
$this->id='csv'; // Same value then xxx in file name export_xxx.modules.php $this->id='csv'; // Same value then xxx in file name export_xxx.modules.php
$this->label='Csv'; // Label of driver $this->label='Csv'; // Label of driver
$this->desc='<b>Comma Separated Value</b> file format (.csv).<br>This is a text file format where fields are separated by separator [ '.$this->separator.' ]. If separator is found inside a field content, field is rounded by round character [ '.$this->enclosure.' ]. Escape character to escape round character is [ '.$this->escape.' ].'; $this->desc=$langs->trans("CSVFormatDesc",$this->separator,$this->enclosure,$this->escape);
$this->extension='csv'; // Extension for generated file by this driver $this->extension='csv'; // Extension for generated file by this driver
$this->picto='mime/other'; // Picto $this->picto='mime/other'; // Picto
$ver=explode(' ','$Revision$'); $ver=explode(' ','$Revision$');

View File

@ -57,7 +57,7 @@ class ImportCsv extends ModeleImports
*/ */
function ImportCsv($db) function ImportCsv($db)
{ {
global $conf; global $conf,$langs;
$this->db = $db; $this->db = $db;
$this->separator=','; $this->separator=',';
@ -67,7 +67,8 @@ class ImportCsv extends ModeleImports
$this->id='csv'; // Same value then xxx in file name export_xxx.modules.php $this->id='csv'; // Same value then xxx in file name export_xxx.modules.php
$this->label='Csv'; // Label of driver $this->label='Csv'; // Label of driver
$this->desc='<b>Comma Separated Value</b> file format (.csv).<br>This is a text file format where fields are separated by separator [ '.$this->separator.' ]. If separator is found inside a field content, field is rounded by round character [ '.$this->enclosure.' ]. Escape character to escape round character is [ '.$this->escape.' ].'; $this->desc=$langs->trans("CSVFormatDesc",$this->separator,$this->enclosure,$this->escape);
//$this->desc='<b>Comma Separated Value</b> file format (.csv).<br>This is a text file format where fields are separated by separator [ '.$this->separator.' ]. If separator is found inside a field content, field is rounded by round character [ '.$this->enclosure.' ]. Escape character to escape round character is [ '.$this->escape.' ].';
$this->extension='csv'; // Extension for generated file by this driver $this->extension='csv'; // Extension for generated file by this driver
$this->picto='mime/other'; // Picto $this->picto='mime/other'; // Picto
$ver=explode(' ','$Revision$'); $ver=explode(' ','$Revision$');

View File

@ -106,3 +106,4 @@ DataIsInsertedInto=Data coming from source file will be inserted into the follow
DataIDSourceIsInsertedInto=The id of parent object found using the data in source file, will be inserted into the following field: DataIDSourceIsInsertedInto=The id of parent object found using the data in source file, will be inserted into the following field:
SourceRequired=Data value is mandatory SourceRequired=Data value is mandatory
SourceExample=Example of possible data value SourceExample=Example of possible data value
CSVFormatDesc=<b>Comma Separated Value</b> file format (.csv).<br>This is a text file format where fields are separated by separator [ %s ]. If separator is found inside a field content, field is rounded by round character [ %s ]. Escape character to escape round character is [ %s ].

View File

@ -107,3 +107,4 @@ DataIsInsertedInto=La donnée issue du fichier source sera insérée dans le cha
DataIDSourceIsInsertedInto=L'id de l'objet père retrouvé à partir de la donnée source, sera insérée dans le champ suivant: DataIDSourceIsInsertedInto=L'id de l'objet père retrouvé à partir de la donnée source, sera insérée dans le champ suivant:
SourceRequired=Donnée source obligatoire SourceRequired=Donnée source obligatoire
SourceExample=Exemple de donnée source possible SourceExample=Exemple de donnée source possible
CSVFormatDesc=Fichier au format <b>Comma Separated Value</b> (.csv).<br>C'est un fichier au format texte dans lequel les champs sont séparés par le caractère [ %s ]. Si le séparateur est trouvé dans le contenu d'un champ, le champ doit être entouré du caractère [ %s ]. Le caractère d'échappement pour inclure un caractère de contour dans une donnée est [ %s ].