Fix: trad
This commit is contained in:
parent
d256175bef
commit
96f3f44457
@ -342,7 +342,11 @@ foreach ($conf->file->dol_document_root as $dirroot)
|
|||||||
// Show example of numbering module
|
// Show example of numbering module
|
||||||
print '<td nowrap="nowrap">';
|
print '<td nowrap="nowrap">';
|
||||||
$tmp=$module->getExample();
|
$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;
|
else print $tmp;
|
||||||
print '</td>'."\n";
|
print '</td>'."\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user