Trad: Traduction du dictionnaires des pays.
This commit is contained in:
parent
1125f8bbd1
commit
9f2e747986
@ -204,7 +204,7 @@ class Form
|
|||||||
}
|
}
|
||||||
# Si traduction existe, on l'utilise, sinon on prend le libellé par défaut
|
# Si traduction existe, on l'utilise, sinon on prend le libellé par défaut
|
||||||
if ($obj->code) { print '['.$obj->code.'] '; }
|
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>';
|
print '</option>';
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user