diff --git a/htdocs/admin/expedition.php b/htdocs/admin/expedition.php index 0edb949236c..6b5e6b7677b 100644 --- a/htdocs/admin/expedition.php +++ b/htdocs/admin/expedition.php @@ -342,7 +342,11 @@ foreach ($conf->file->dol_document_root as $dirroot) // Show example of numbering module print ''; $tmp=$module->getExample(); - if (preg_match('/^Error/',$tmp)) print $langs->trans($tmp); + if (preg_match('/^Error/',$tmp)) + { + $langs->load('errors'); + print $langs->trans($tmp); + } else print $tmp; print ''."\n";