2
0
forked from Wavyzz/dolibarr

Les pdf doivent traduire via la fonction transnoentities (qui ne code pas en html).

This commit is contained in:
Laurent Destailleur
2006-12-16 16:38:10 +00:00
parent 78d0bc8867
commit ce4976fe77
4 changed files with 186 additions and 186 deletions

View File

@@ -252,12 +252,12 @@ class pdf_edison extends ModelePDFCommandes
}
else
{
$this->error=$langs->trans("ErrorConstantNotDefined","COMMANDE_OUTPUTDIR");
$this->error=$outputlangs->transnoentities("ErrorConstantNotDefined","COMMANDE_OUTPUTDIR");
$langs->setPhpLang(); // On restaure langue session
return 0;
}
$this->error=$outputlangs->trans("ErrorUnknown");
$this->error=$outputlangs->transnoentities("ErrorUnknown");
$langs->setPhpLang(); // On restaure langue session
return 0; // Erreur par defaut
}