LSldapObject : Fixed translation of error message during validation.

This commit is contained in:
Benjamin Renard 2010-08-03 19:23:20 +02:00
parent d5baeb10e4
commit 4af5a767ed

View file

@ -437,7 +437,7 @@ class LSldapObject {
// Définition du message d'erreur // Définition du message d'erreur
if (!empty($test['msg'])) { if (!empty($test['msg'])) {
$msg_error=getFData($test['msg'],$this,'getValue'); $msg_error=getFData(__($test['msg']),$this,'getValue');
} }
else { else {
$msg_error=getFData(_("The attribute %{attr} is not valid."),$attr -> getLabel()); $msg_error=getFData(_("The attribute %{attr} is not valid."),$attr -> getLabel());