},
function (result) {
LdapWizard.hideSpinner('#ldap_base');
- LdapWizard.showInfoBox('Please specify a Base DN');
- LdapWizard.showInfoBox('Could not determine Base DN');
+ LdapWizard.showInfoBox(t('user_ldap', 'Please specify a Base DN'));
+ LdapWizard.showInfoBox(t('user_ldap', 'Could not determine Base DN'));
$('#ldap_base').prop('disabled', false);
}
);
function (result) {
LdapWizard.hideSpinner('#ldap_port');
$('#ldap_port').prop('disabled', false);
- LdapWizard.showInfoBox('Please specify the port');
+ LdapWizard.showInfoBox(t('user_ldap', 'Please specify the port'));
}
);
}
},
showInfoBox: function(text) {
- $('#ldapWizard1 .ldapWizardInfo').text(t('user_ldap', text));
+ $('#ldapWizard1 .ldapWizardInfo').text(text);
$('#ldapWizard1 .ldapWizardInfo').removeClass('invisible');
LdapWizard.checkInfoShown = true;
},