2
0
forked from Wavyzz/dolibarr

Trad: Traduction des titres des lots d'export

This commit is contained in:
Laurent Destailleur
2006-01-22 18:31:56 +00:00
parent 49561ad1a2
commit 93d834b917
46 changed files with 106 additions and 62 deletions

View File

@@ -262,6 +262,27 @@ class DolibarrModules
return $this->langfiles;
}
/**
\brief Retourne le libell<6C> d'un lot de donn<6E>es exportable
\return string Libell<6C> du lot de donn<6E>es
*/
function getDatasetLabel($r)
{
global $langs;
$langstring="ExportDataset_".$this->export_code[$r];
if ($langs->trans($langstring) == $langstring)
{
// Traduction non trouv<75>e
return $this->export_label[$r];
}
else
{
// Traduction trouv<75>e
return $langs->trans($langstring);
}
}
/**
\brief Ins<6E>re ligne module