Trad: Traduction du dictionnaires des pays.

This commit is contained in:
Laurent Destailleur 2004-09-18 17:11:10 +00:00
parent 1125f8bbd1
commit 9f2e747986

View File

@ -204,7 +204,7 @@ class Form
}
# Si traduction existe, on l'utilise, sinon on prend le libellé par défaut
if ($obj->code) { print '['.$obj->code.'] '; }
print ($langs->trans("Country".$obj->code)!="Country".$obj->code?$langs->trans("Country".$obj->code):($obj->libelle!='-'?$obj->libelle:''));
print ($obj->code && $langs->trans("Country".$obj->code)!="Country".$obj->code?$langs->trans("Country".$obj->code):($obj->libelle!='-'?$obj->libelle:''));
print '</option>';
$i++;
}