From 96f3f44457cff93d0ab2c29d5c352e9c46dd8b41 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 4 Jun 2011 13:53:03 +0000 Subject: [PATCH] Fix: trad --- htdocs/admin/expedition.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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";