index 3c1ac16f23e1fec73b9dad764aa77f70f307c07a..c7acab6c24524d2180e2d1ff481f6b58189ecb94 100644 (file)
@@ -2908,7 +2908,7 @@ function change_password ($dn, $password, $mode=FALSE, $hash= "", $old_password
if (!$mode && !empty($tmp)){
$attrs= generate_smb_nt_hash($password);
if(!count($attrs) || !is_array($attrs)){
- msg_dialog::display(tr("Error"),tr("Cannot generate SAMBA hash!"),ERROR_DIALOG);
+ msg_dialog::display(_("Error"),_("Cannot generate SAMBA hash!"),ERROR_DIALOG);
return(FALSE);
}else{
$shadow = (isset($attrs["shadowLastChange"][0]))?(int)(date("U") / 86400):0;