From 8eee8e76d1a8740c4a9b7cc9fb2396116aa6949c Mon Sep 17 00:00:00 2001 From: Volkan Gezer Date: Tue, 27 May 2014 16:39:22 +0200 Subject: [PATCH] forgotten infobox messages translations --- apps/user_ldap/js/settings.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index 15a02abb065..8c18cc4c58c 100644 --- a/apps/user_ldap/js/settings.js +++ b/apps/user_ldap/js/settings.js @@ -241,8 +241,8 @@ var LdapWizard = { }, 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); } ); @@ -273,7 +273,7 @@ var LdapWizard = { 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')); } ); } @@ -688,7 +688,7 @@ var LdapWizard = { }, showInfoBox: function(text) { - $('#ldapWizard1 .ldapWizardInfo').text(t('user_ldap', text)); + $('#ldapWizard1 .ldapWizardInfo').text(text); $('#ldapWizard1 .ldapWizardInfo').removeClass('invisible'); LdapWizard.checkInfoShown = true; }, -- 2.39.5